74 for (
G4int i = 0; i < 93; ++i) {
139 if(Z > 92) { Z = 92; }
151 G4cout <<
"G4BGGNucleonInelasticXS::GetCrossSection for "
154 <<
" in nucleus Z= " << Z <<
" A= " <<
theA[Z]
155 <<
" XS(b)= " << cross/
barn
188 G4cout <<
"G4BGGNucleonInelasticXS::GetCrossSection for "
191 <<
" in nucleus Z= " << Z <<
" A= " << A
192 <<
" XS(b)= " << cross/
barn
206 G4cout <<
"### G4BGGNucleonInelasticXS WARNING: is not applicable to "
210 "G4BGGNucleonElasticXS::BuildPhysicsTable is used for wrong particle");
240 G4cout <<
"### G4BGGNucleonInelasticXS::Initialise for "
253 G4cout <<
"Z= " <<
iz <<
" A= " << A
308 if(kinEnergy <= 0.0) {
return res; }
309 else if (Z <= 1) {
return kinEnergy*kinEnergy; }
319 G4double ff3 = 0.8 + 18./aa - 0.002*aa;
320 res = 1.0 + ff3*(1.0 - (1.0/(1+
G4Exp(-ff1*(elog + ff2)))));
322 ff1 = 8. - 8./aa - 0.008*aa;
323 ff2 = 2.34 - 5.4/aa - 0.0028*aa;
324 res /= (1.0 +
G4Exp(-ff1*(elog + ff2)));
329 G4double p3 = 0.6 + 13./aa - 0.0005*aa;
331 G4double p5 = 1.36 + 1.8/aa + 0.0005*aa;
332 G4double p6 = 1. + 200./aa + 0.02*aa;
333 G4double p7 = 3.0 - (aa-70.)*(aa-200.)/11000.;
338 res = (1.+p3*firstexp/(1. + firstexp))/(1. + secondexp);
348 outFile <<
"The Barashenkov-Glauber-Gribov cross section calculates inelastic\n"
349 <<
"scattering of protons and neutrons from nuclei using the\n"
350 <<
"Barashenkov parameterization below 91 GeV and the Glauber-Gribov\n"
351 <<
"parameterization above 91 GeV. It uses the G4HadronNucleonXsc\n"
352 <<
"cross section component for hydrogen targets, and the\n"
353 <<
"G4ComponentGGHadronNucleusXsc component for other targets.\n";
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
G4ComponentSAIDTotalXS * fSAID
G4double theCoulombFac[93]
virtual G4double GetElementCrossSection(const G4DynamicParticle *aParticle, G4int Z, const G4Material *mat=0)
G4ParticleDefinition * GetDefinition() const
static G4NistManager * Instance()
const G4String & GetParticleName() const
G4double GetHadronNucleonXscNS(const G4DynamicParticle *, const G4ParticleDefinition *)
G4HadronNucleonXsc * fHadron
G4BGGNucleonInelasticXS(const G4ParticleDefinition *)
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
virtual void CrossSectionDescription(std::ostream &) const
G4ComponentGGHadronNucleusXsc * fGlauber
const G4ParticleDefinition * particle
const G4ParticleDefinition * theProton
static G4CrossSectionDataSetRegistry * Instance()
G4double CoulombFactor(G4double kinEnergy, G4int Z)
static G4Proton * Proton()
G4double theGlauberFac[93]
static G4Neutron * Neutron()
void SetKineticEnergy(G4double aEnergy)
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
const G4double x[NPOINTSGL]
G4double GetAtomicMassAmu(const G4String &symb) const
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
static const double millibarn
G4NucleonNuclearCrossSection * fNucleon
G4double GetHadronNucleonXscPDG(const G4DynamicParticle *, const G4ParticleDefinition *)
virtual ~G4BGGNucleonInelasticXS()
G4double GetInelasticGlauberGribov(const G4DynamicParticle *, G4int Z, G4int A)
G4double fSAIDHighEnergyLimit
static const char * Default_Name()
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
G4double GetInelasticHadronNucleonXsc()