50 G4cout <<
" G4RToEConvForGamma::G4RToEConvForGamma() - ";
76 const G4double* atomicNumDensityVector
82 for (std::size_t ibin=0; ibin<size_t(
TotBin); ++ibin)
85 for (std::size_t iel=0; iel<size_t(NumEl); ++iel)
87 G4int IndEl = (*elementVector)[iel]->GetIndex();
88 SIGMA += atomicNumDensityVector[iel]
89 * (*((*aCrossSectionTable)[IndEl]))[ibin];
92 absorptionLengthVector->
PutValue(ibin, 5./SIGMA);
93 if (absorptionLengthMax < 5./SIGMA )
94 absorptionLengthMax = 5./SIGMA;
113 if(std::abs(AtomicNumber-
Z)>0.1)
120 s200keV = (0.2651-0.1501*Zlog+0.02283*Zlogsquare)*Zsquare;
121 tmin = (0.552+218.5/
Z+557.17/Zsquare)*MeV;
122 smin = (0.01239+0.005585*Zlog-0.000923*Zlogsquare)*std::exp(1.5*Zlog);
124 /(std::log(
tmin/t200keV)*std::log(
tmin/t200keV));
125 tlow = 0.2*std::exp(-7.355/std::sqrt(
Z))*MeV;
127 * std::exp(0.042*
Z*std::log(t200keV/
tlow)*std::log(t200keV/
tlow));
128 s1keV = 300.*Zsquare;
130 chigh = (7.55e-5-0.0542e-5*
Z)*Zsquare*
Z/std::log(t100MeV/
tmin);
135 if ( KineticEnergy<
tlow )
137 if(KineticEnergy<t1keV) xs =
slow*std::exp(
clow*std::log(
tlow/t1keV));
138 else xs =
slow*std::exp(
clow*std::log(
tlow/KineticEnergy));
140 else if ( KineticEnergy<t200keV )
143 * std::exp(0.042*
Z*std::log(t200keV/KineticEnergy)
144 *std::log(t200keV/KineticEnergy));
146 else if( KineticEnergy<
tmin )
149 * std::exp(
cmin*std::log(
tmin/KineticEnergy)
150 *std::log(
tmin/KineticEnergy));
std::vector< G4Element * > G4ElementVector
G4GLOB_DLL std::ostream G4cout
const G4ElementVector * GetElementVector() const
size_t GetNumberOfElements() const
const G4double * GetAtomicNumDensityVector() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
void PutValue(std::size_t index, G4double theValue)
virtual ~G4RToEConvForGamma()
G4double ComputeCrossSection(G4double AtomicNumber, G4double KineticEnergy)
void BuildAbsorptionLengthVector(const G4Material *aMaterial, G4RangeVector *rangeVector)
G4LossTable * theLossTable
G4int GetVerboseLevel() const
const G4ParticleDefinition * theParticle