70 , G4RandGauss::shoot() * std::sqrt( kT*mass )
71 , G4RandGauss::shoot() * std::sqrt( kT*mass ) );
82 G4double cmsMom = std::sqrt(the3CMS*the3CMS);
83 G4double sqrts = std::sqrt((totE-cmsMom)*(totE+cmsMom));
87 theNeutron.
Lorentz(theNeutron, theCMS);
88 theTarget.
Lorentz(theTarget, theCMS);
94 tempVector.
setX( std::cos(theta)*std::sin(cms_theta)*std::cos(cms_phi)
95 +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::cos(cms_phi)
96 -std::sin(theta)*std::sin(phi)*std::sin(cms_phi) );
97 tempVector.
setY( std::cos(theta)*std::sin(cms_theta)*std::sin(cms_phi)
98 +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::sin(cms_phi)
99 +std::sin(theta)*std::sin(phi)*std::cos(cms_phi) );
100 tempVector.
setZ( std::cos(theta)*std::cos(cms_theta)
101 -std::sin(theta)*std::cos(phi)*std::sin(cms_theta) );
110 theNeutron.
Lorentz(theNeutron, -1.*theCMS);
118 theTarget.
Lorentz(theTarget, -1.*theCMS);
125 theTarget.
Lorentz(theTarget, -1.*theCMS);
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
double getElasticFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
void AddSecondary(G4DynamicParticle *aP)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4int GetNucleusEncoding(G4int iZ, G4int iA)
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
G4LENDManager * lend_manager
G4double GetTemperature() const
G4double GetPDGMass() const
G4ParticleDefinition * FindIon(G4int atomicNumber, G4int atomicMass, G4double excitationEnergy)
static G4ParticleTable * GetParticleTable()
void SetMomentum(const G4double x, const G4double y, const G4double z)
void SetTotalEnergy(const G4double en)
G4double GetTotalMomentum() const
G4double GetKineticEnergy() const
G4double GetTotalEnergy() const
G4ThreeVector GetMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
void SetKineticEnergy(const G4double en)
void SetMass(const G4double mas)