139 G4cout <<
"G4BGGPionInelasticXS::GetCrossSection for "
142 <<
" in nucleus Z= " <<
Z <<
" A= " <<
theA[
Z]
143 <<
" XS(b)= " << cross/
barn
164 G4cout <<
"G4BGGPionInelasticXS::GetCrossSection for "
167 <<
" in nucleus Z= " <<
Z <<
" A= " <<
A
168 <<
" XS(b)= " << cross/
barn
178 if(
fPion) {
return; }
180 G4cout <<
"G4BGGPionInelasticXS::BuildPhysicsTable for "
187 ed <<
"This BGG cross section is applicable only to pions and not to "
189 G4Exception(
"G4BGGPionInelasticXS::BuildPhysicsTable",
"had001",
201#ifdef G4MULTITHREADED
206#ifdef G4MULTITHREADED
224 G4cout <<
"### G4BGGPionInelasticXS::Initialise for "
229 for(
G4int iz=2; iz<93; ++iz) {
239 for(
G4int iz=2; iz<93; ++iz) {
255 for(
G4int iz=2; iz<93; ++iz) {
261 for(
G4int iz=2; iz<93; ++iz) {
279 return (kinEnergy > 0.0) ?
287 return 1.0/std::sqrt(kinEnergy);
295 outFile <<
"The Barashenkov-Glauber-Gribov cross section handles inelastic\n"
296 <<
"pion scattering from nuclei at all energies. The Barashenkov\n"
297 <<
"parameterization is used below 91 GeV and the Glauber-Gribov\n"
298 <<
"parameterization is used above 91 GeV.\n";
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static constexpr double barn
#define G4MUTEX_INITIALIZER
#define G4MUTEXLOCK(mutex)
#define G4MUTEXUNLOCK(mutex)
G4GLOB_DLL std::ostream G4cout
void CrossSectionDescription(std::ostream &) const final
G4double CoulombFactorPiPlus(G4double kinEnergy, G4int Z)
void BuildPhysicsTable(const G4ParticleDefinition &) final
const G4ParticleDefinition * thePiPlus
const G4ParticleDefinition * theProton
G4UPiNuclearCrossSection * fPion
static G4double theGlauberFacPiMinus[93]
static G4double theLowEPiMinus[93]
G4double FactorPiMinus(G4double kinEnergy)
G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat) final
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=nullptr, const G4Element *elm=nullptr, const G4Material *mat=nullptr) final
G4BGGPionInelasticXS(const G4ParticleDefinition *)
static G4double theGlauberFacPiPlus[93]
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm, const G4Material *mat) final
G4ComponentGGHadronNucleusXsc * fGlauber
~G4BGGPionInelasticXS() final
G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat) final
static G4double theLowEPiPlus[93]
G4HadronNucleonXsc * fHadron
G4double GetInelasticGlauberGribov(const G4DynamicParticle *, G4int Z, G4int A)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
void SetKineticEnergy(G4double aEnergy)
G4double GetInelasticHadronNucleonXsc() const
G4double HadronNucleonXscNS(const G4ParticleDefinition *theParticle, const G4ParticleDefinition *nucleon, G4double ekin)
static G4HadronicParameters * Instance()
static G4NistManager * Instance()
G4double GetAtomicMassAmu(const G4String &symb) const
static G4double CoulombFactor(const G4ParticleDefinition *theParticle, const G4ParticleDefinition *nucleon, G4double ekin)
const G4String & GetParticleName() const
static G4PionMinus * PionMinus()
static G4PionPlus * PionPlus()
static G4Pow * GetInstance()
static G4Proton * Proton()
void BuildPhysicsTable(const G4ParticleDefinition &) final
G4double GetInelasticCrossSection(const G4DynamicParticle *aParticle, G4int Z, G4int A) const
void SetMaxKinEnergy(G4double value)
void SetMinKinEnergy(G4double value)
void SetForAllAtomsAndEnergies(G4bool val)
static constexpr double GeV
static constexpr double MeV
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments