68    theNeutron.SetKineticEnergy( ke );
    85      G4double nEnergy = theNeutron.GetTotalEnergy();
    92      G4double cmsMom = std::sqrt(the3CMS*the3CMS);
    93      G4double sqrts = std::sqrt((totE-cmsMom)*(totE+cmsMom));
    97        theNeutron.Lorentz(theNeutron, theCMS);
    98        theTarget.
Lorentz(theTarget, theCMS);
    99        G4double en = theNeutron.GetTotalMomentum(); 
   104        tempVector.
setX( std::cos(theta)*std::sin(cms_theta)*std::cos(cms_phi)
   105                        +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::cos(cms_phi)
   106                        -std::sin(theta)*std::sin(phi)*std::sin(cms_phi) );
   107        tempVector.
setY( std::cos(theta)*std::sin(cms_theta)*std::sin(cms_phi)
   108                        +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::sin(cms_phi)
   109                        +std::sin(theta)*std::sin(phi)*std::cos(cms_phi) );
   110        tempVector.
setZ( std::cos(theta)*std::cos(cms_theta)
   111                        -std::sin(theta)*std::cos(phi)*std::sin(cms_theta) );
   113        theNeutron.SetMomentum(tempVector);
   120        theNeutron.Lorentz(theNeutron, -1.*theCMS);
   123       if ( theNeutron.GetKineticEnergy() <= 0 )
   128       theTarget.
Lorentz(theTarget, -1.*theCMS);
   135        theTarget.
Lorentz(theTarget, -1.*theCMS);
 static G4Pow * GetInstance()
 
ThreeVector shoot(const G4int Ap, const G4int Af)
 
void SetMomentum(const G4ThreeVector &momentum)
 
const G4Material * GetMaterial() const
 
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
 
const G4LorentzVector & Get4Momentum() const
 
void SetMomentum(const G4double x, const G4double y, const G4double z)
 
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
 
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
 
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
 
void SetMass(const G4double mas)
 
double getElasticFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::map< G4int, G4LENDUsedTarget *> usedTarget_map
 
void SetTotalEnergy(const G4double en)
 
static const double twopi
 
G4ErrorTarget * theTarget
 
static const double second
 
G4double GetTemperature() const
 
static G4IonTable * GetIonTable()
 
G4double GetTotalMomentum() const
 
const G4ParticleDefinition * GetDefinition() const
 
void SetEnergyChange(G4double anEnergy)
 
G4double GetKineticEnergy() const
 
const G4Isotope * GetIsotope()
 
G4double GetPDGMass() const
 
G4double GetTotalEnergy() const
 
G4HadFinalState theParticleChange
 
G4double GetKineticEnergy() const
 
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
 
G4double powA(G4double A, G4double y) const
 
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
 
G4LENDManager * lend_manager
 
void SetMomentumChange(const G4ThreeVector &aV)
 
G4ThreeVector GetMomentum() const