103 G4cout <<
"G4HadronElastic: " 105 <<
" Plab(GeV/c)= " << plab/
GeV 106 <<
" Ekin(MeV) = " << ekin/
MeV 107 <<
" scattered off Z= " << Z
122 G4double tmax = 4.0*momentumCMS*momentumCMS;
131 if(cost > 1.0 || cost < -1.0) {
133 G4cout <<
"G4HadronElastic WARNING (1 - cost)= " << 1 - cost
134 <<
" after scattering of " 136 <<
" p(GeV/c)= " << plab/
GeV 137 <<
" on an ion Z= " << Z <<
" A= " << A
145 sint = std::sqrt((1.0-cost)*(1.0+cost));
148 G4cout <<
" t= " << t <<
" tmax(GeV^2)= " << tmax/(
GeV*
GeV)
149 <<
" Pcms(GeV)= " << momentumCMS/
GeV <<
" cos(t)=" << cost
150 <<
" sin(t)=" << sint <<
G4endl;
152 G4ThreeVector v1(sint*std::cos(phi),sint*std::sin(phi),cost);
155 std::sqrt(momentumCMS*momentumCMS + m1*m1));
161 G4cout <<
" m= " << m1 <<
" Efin(MeV)= " << eFinal
162 <<
" Proj: 4-mom " << lv1 <<
" Final: " << nlv1
166 if(eFinal < 0.0 && verboseLevel > 0) {
167 G4cout <<
"G4HadronElastic WARNING Efinal= " << eFinal
168 <<
" after scattering of " 170 <<
" p(GeV/c)= " << plab/
GeV 171 <<
" on an ion Z= " << Z <<
" A= " << A
185 G4cout <<
"Recoil: " <<
" m= " << mass2 <<
" Erec(MeV)= " << erec
192 if(Z == 1 && A == 1) { theDef =
theProton; }
193 else if (Z == 1 && A == 2) { theDef =
theDeuteron; }
195 else if (Z == 2 && A == 3) { theDef =
G4He3::He3(); }
196 else if (Z == 2 && A == 4) { theDef =
theAlpha; }
203 }
else if(erec > 0.0) {
static G4double GetNuclearMass(const G4double A, const G4double Z)
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
const G4LorentzVector & Get4Momentum() const
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
G4ParticleDefinition * theProton
G4ParticleDefinition * theAlpha
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4IonTable * GetIonTable() const
HepLorentzVector & boost(double, double, double)
static G4Triton * Triton()
G4double GetTotalMomentum() const
const G4ParticleDefinition * GetDefinition() const
void SetEnergyChange(G4double anEnergy)
G4ParticleDefinition * theDeuteron
G4double GetKineticEnergy() const
G4double lowestEnergyLimit
static G4ParticleTable * GetParticleTable()
G4double GetPDGMass() const
G4HadFinalState theParticleChange
void SetLocalEnergyDeposit(G4double aE)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
G4double GetRecoilEnergyThreshold() const
static const double twopi
void SetMomentumChange(const G4ThreeVector &aV)
CLHEP::HepLorentzVector G4LorentzVector