#include <G4HadronCrossSections.hh>
Definition at line 60 of file G4HadronCrossSections.hh.
G4HadronCrossSections::G4HadronCrossSections |
( |
| ) |
|
Definition at line 1214 of file G4HadronCrossSections.cc.
1215 : prevParticleDefinition(0),
1217 prevZZ(0), prevAA(0),
1218 prevKineticEnergy(
DBL_MAX), lastEkx(0.), lastEkxPower(0.), verboseLevel(0)
1220 siginelastic = sigelastic = 0.0;
1221 correctInelasticNearZero =
false;
static G4Pow * GetInstance()
G4HadronCrossSections::~G4HadronCrossSections |
( |
| ) |
|
Definition at line 1556 of file G4HadronCrossSections.cc.
1559 if (GetParticleCode(aParticle) != 16)
return 0.;
1561 if (ek > 0.0327) {
return 0.; }
1564 if (ekx != lastEkx) {
1570 if (izno > 100) izno = 100;
1572 G4double sigcap = 11.12*cscap[izno]/lastEkxPower;
static G4Pow * GetInstance()
G4double powA(G4double A, G4double y) const
G4double GetKineticEnergy() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static constexpr double GeV
static constexpr double millibarn
Definition at line 1260 of file G4HadronCrossSections.cc.
1265 ZZ != prevZZ || AA != prevAA)
1266 { CalcScatteringCrossSections(particle, ZZ, AA); }
1268 if (verboseLevel > 1) {
1269 G4cout <<
" x-section elastic(mb)= "
G4double GetKineticEnergy() const
G4ParticleDefinition * GetDefinition() const
G4GLOB_DLL std::ostream G4cout
static constexpr double millibarn
Definition at line 1581 of file G4HadronCrossSections.cc.
1584 if (AA < 230)
return 0;
1591 G4int midBin = (ie1 + ie2)/2;
1592 if (ek < ekfiss[midBin])
1596 }
while (ie2 - ie1 > 1);
1598 if (ek < ekfiss[0]) i = 0;
1602 if (ZZ == 92 && AA == 233) j = 1;
1603 else if (ZZ == 92 && AA == 235) j = 2;
1604 else if (ZZ == 94 && AA == 239) j = 3;
1610 z43ba =
std::max(-67. + 38.7*z43ba, 0.);
1616 G4double sigfiss = csfiss[j][i]*z43ba;
G4double GetKineticEnergy() const
G4double Z13(G4int Z) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static constexpr double GeV
static constexpr double millibarn
Definition at line 1243 of file G4HadronCrossSections.cc.
1248 ZZ != prevZZ || AA != prevAA)
1249 { CalcScatteringCrossSections(particle, ZZ, AA); }
1250 if (verboseLevel > 1) {
1251 G4cout <<
" x-section inelastic(mb)= "
1255 return siginelastic;
G4double GetKineticEnergy() const
G4ParticleDefinition * GetDefinition() const
G4GLOB_DLL std::ostream G4cout
static constexpr double millibarn
G4int G4HadronCrossSections::GetVerboseLevel |
( |
| ) |
|
|
inline |
void G4HadronCrossSections::SetVerboseLevel |
( |
G4int |
value | ) |
|
|
inline |
The documentation for this class was generated from the following files: