70 outFile <<
"G4HadronElastic is a hadron-nucleus elastic scattering\n"
71 <<
"model which uses the Gheisha two-exponential momentum\n"
72 <<
"transfer parameterization. The model is fully relativistic\n"
73 <<
"as opposed to the original Gheisha model which was not.\n"
74 <<
"This model may be used for all long-lived hadrons at all\n"
75 <<
"incident energies.\n";
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) {
218 G4double tmax = 4.0*momentumCMS*momentumCMS/GeV2;
223 bb = 14.5*g4pow->
Z23(A);
224 aa = g4pow->
powZ(A, 1.63)/
bb;
225 cc = 1.4*g4pow->
Z13(A)/dd;
227 bb = 60.*g4pow->
Z13(A);
228 aa = g4pow->
powZ(A, 1.33)/
bb;
229 cc = 0.4*g4pow->
powZ(A, 0.4)/dd;
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
void SetMinEnergy(G4double anEnergy)
G4double Z13(G4int Z) const
void SetMaxEnergy(const G4double anEnergy)
static G4ParticleTable * GetParticleTable()
static constexpr double MeV
void SetMomentumChange(const G4ThreeVector &aV)
const G4String & GetParticleName() const
G4double ComputeMomentumCMS(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
G4IonTable * GetIonTable() const
G4double GetTotalMomentum() const
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
static G4Proton * Proton()
G4double GetPDGMass() const
G4double G4Log(G4double x)
static G4Deuteron * Deuteron()
void SetEnergyChange(G4double anEnergy)
G4double powZ(G4int Z, G4double y) const
static constexpr double TeV
static G4Pow * GetInstance()
G4HadronElastic(const G4String &name="hElasticLHEP")
G4ParticleDefinition * theNeutron
G4double GetRecoilEnergyThreshold() const
double A(double temperature)
static G4double GetNuclearMass(const G4double A, const G4double Z)
static constexpr double eV
G4double lowestEnergyLimit
G4ParticleDefinition * theProton
const G4LorentzVector & Get4Momentum() const
G4double GetKineticEnergy() const
G4ParticleDefinition * theAlpha
static constexpr double twopi
const G4ParticleDefinition * GetDefinition() const
static G4Triton * Triton()
static G4Neutron * Neutron()
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
virtual ~G4HadronElastic()
G4GLOB_DLL std::ostream G4cout
Hep3Vector boostVector() const
CLHEP::HepLorentzVector G4LorentzVector
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
void SetLocalEnergyDeposit(G4double aE)
G4ParticleDefinition * theDeuteron
static constexpr double GeV
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
G4HadFinalState theParticleChange
G4double Z23(G4int Z) const
HepLorentzVector & boost(double, double, double)
virtual void ModelDescription(std::ostream &) const