66 for (
G4int i = 0; i < 93; i++) {
111 return (1 == Z && 2 >= A);
128 if(Z > 92) { Z = 92; }
141 G4cout <<
"G4BGGPionInelasticXS::GetCrossSection for "
144 <<
" in nucleus Z= " << Z <<
" A= " <<
theA[
Z]
145 <<
" XS(b)= " << cross/
barn
174 G4cout <<
"G4BGGPionInelasticXS::GetCrossSection for "
177 <<
" in nucleus Z= " << Z <<
" A= " << A
178 <<
" XS(b)= " << cross/
barn
191 G4cout <<
"### G4BGGPionInelasticXS WARNING: is not applicable to "
195 "G4BGGPionInelasticXS::BuildPhysicsTable is used for wrong particle");
221 G4cout <<
"### G4BGGPionInelasticXS::Initialise for "
227 for(
G4int iz=2; iz<93; iz++) {
237 G4cout <<
"Z= " << iz <<
" A= " << A
249 for(
G4int iz=2; iz<93; iz++) {
258 for(
G4int iz=2; iz<93; iz++) {
270 if(kinEnergy <=
DBL_MIN) {
return res; }
271 else if(A < 2) {
return kinEnergy*kinEnergy; }
279 G4double ff3 = 0.8 + 18/aa - 0.002*aa;
280 res = 1.0 + ff3*(1.0 - (1.0/(1+
fG4pow->
expA(-8*ff1*(elog + 1.37*ff2)))));
282 ff1 = 1. - 1./aa - 0.001*aa;
283 ff2 = 1.17 - 2.7/aa-0.0014*aa;
284 res /= (1 +
fG4pow->
expA(-8.*ff1*(elog + 2*ff2)));
293 outFile <<
"The Barashenkov-Glauber-Gribov cross section handles inelastic\n"
294 <<
"pion scattering from nuclei at all energies. The Barashenkov\n"
295 <<
"parameterization is used below 91 GeV and the Glauber-Gribov\n"
296 <<
"parameterization is used above 91 GeV.\n";
static G4PionMinus * PionMinus()
G4BGGPionInelasticXS(const G4ParticleDefinition *)
virtual void CrossSectionDescription(std::ostream &) const
G4HadronNucleonXsc * fHadron
void SetMinKinEnergy(G4double value)
const G4ParticleDefinition * particle
static constexpr double MeV
void SetMaxKinEnergy(G4double value)
G4double fSAIDHighEnergyLimit
void SetKineticEnergy(G4double aEnergy)
G4ComponentSAIDTotalXS * fSAID
G4ComponentGGHadronNucleusXsc * fGlauber
const G4ParticleDefinition * theProton
const G4String & GetParticleName() const
G4double theCoulombFac[93]
static G4PionPlus * PionPlus()
static G4Proton * Proton()
G4double GetInelasticGlauberGribov(const G4DynamicParticle *, G4int Z, G4int A)
G4double GetAtomicMassAmu(const G4String &symb) const
static constexpr double TeV
G4double expA(G4double A) const
static G4Pow * GetInstance()
G4ParticleDefinition * GetDefinition() const
G4double GetHadronNucleonXscPDG(const G4DynamicParticle *, const G4ParticleDefinition *)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
G4double GetInelasticCrossSection(const G4DynamicParticle *aParticle, G4int Z, G4int A)
double A(double temperature)
virtual ~G4BGGPionInelasticXS()
G4double GetInelasticHadronNucleonXsc()
void SetForAllAtomsAndEnergies(G4bool val)
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
G4double CoulombFactor(G4double kinEnergy, G4int Z)
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
G4UPiNuclearCrossSection * fPion
G4double log10A(G4double A) const
static constexpr double barn
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
G4double theGlauberFac[93]
virtual G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
static constexpr double GeV
void BuildPhysicsTable(const G4ParticleDefinition &)
static G4NistManager * Instance()