Geant4-11
|
#include <G4PenelopeBremsstrahlungFS.hh>
Public Member Functions | |
void | BuildScaledXSTable (const G4Material *material, G4double cut, G4bool isMaster) |
void | ClearTables (G4bool isMaster=true) |
Reserved for the master model: they build and handle tables. More... | |
G4PenelopeBremsstrahlungFS (const G4PenelopeBremsstrahlungFS &)=delete | |
G4PenelopeBremsstrahlungFS (G4int verbosity=0) | |
Only master models are supposed to create instances. More... | |
G4double | GetEffectiveZSquared (const G4Material *mat) const |
G4double | GetMomentumIntegral (G4double *y, G4double up, G4int momOrder) const |
size_t | GetNBinsX () const |
const G4PhysicsTable * | GetScaledXSTable (const G4Material *, const G4double cut) const |
G4int | GetVerbosity () |
G4PenelopeBremsstrahlungFS & | operator= (const G4PenelopeBremsstrahlungFS &right)=delete |
G4double | SampleGammaEnergy (G4double energy, const G4Material *, const G4double cut) const |
void | SetVerbosity (G4int ver) |
~G4PenelopeBremsstrahlungFS () | |
Private Member Functions | |
void | InitializeEnergySampling (const G4Material *, G4double cut) |
void | ReadDataFile (G4int Z) |
Private Attributes | |
G4Cache< G4PhysicsFreeVector * > | fCache |
std::map< const G4Material *, G4double > * | fEffectiveZSq |
std::map< G4int, G4DataVector * > * | fElementData |
std::map< std::pair< const G4Material *, G4double >, G4PhysicsFreeVector * > * | fPBcut |
std::map< std::pair< const G4Material *, G4double >, G4PhysicsTable * > * | fReducedXSTable |
std::map< std::pair< const G4Material *, G4double >, G4PhysicsTable * > * | fSamplingTable |
G4int | fVerbosity |
G4double | theEGrid [fNBinsE] |
G4double | theXGrid [fNBinsX] |
Static Private Attributes | |
static const size_t | fNBinsE = 57 |
static const size_t | fNBinsX = 32 |
Definition at line 60 of file G4PenelopeBremsstrahlungFS.hh.
|
explicit |
Only master models are supposed to create instances.
Definition at line 52 of file G4PenelopeBremsstrahlungFS.cc.
References fCache, fElementData, fNBinsE, fNBinsX, G4Cache< VALTYPE >::Put(), theEGrid, and theXGrid.
G4PenelopeBremsstrahlungFS::~G4PenelopeBremsstrahlungFS | ( | ) |
Definition at line 74 of file G4PenelopeBremsstrahlungFS.cc.
References ClearTables(), and fElementData.
|
delete |
void G4PenelopeBremsstrahlungFS::BuildScaledXSTable | ( | const G4Material * | material, |
G4double | cut, | ||
G4bool | isMaster | ||
) |
Definition at line 175 of file G4PenelopeBremsstrahlungFS.cc.
References barn, source.hepunit::classic_electr_radius, source.hepunit::electron_mass_c2, G4PhysicsVector::Energy(), eV, FatalException, fEffectiveZSq, fElementData, source.hepunit::fine_structure_const, fNBinsE, fNBinsX, fPBcut, fReducedXSTable, fSamplingTable, fVerbosity, g, G4cout, G4endl, G4Exception(), G4Log(), GetMomentumIntegral(), InitializeEnergySampling(), keV, eplot::material, millibarn, mole, G4PhysicsTable::push_back(), G4PhysicsFreeVector::PutValues(), ReadDataFile(), theEGrid, and Z.
Referenced by G4PenelopeBremsstrahlungModel::GetCrossSectionTableForCouple(), and G4PenelopeBremsstrahlungModel::Initialise().
void G4PenelopeBremsstrahlungFS::ClearTables | ( | G4bool | isMaster = true | ) |
Reserved for the master model: they build and handle tables.
Definition at line 94 of file G4PenelopeBremsstrahlungFS.cc.
References G4PhysicsTable::clearAndDestroy(), FatalException, fEffectiveZSq, fPBcut, fReducedXSTable, fSamplingTable, and G4Exception().
Referenced by G4PenelopeBremsstrahlungModel::ClearTables(), and ~G4PenelopeBremsstrahlungFS().
G4double G4PenelopeBremsstrahlungFS::GetEffectiveZSquared | ( | const G4Material * | mat | ) | const |
Master and workers (do not touch tables) All of them are const
Definition at line 148 of file G4PenelopeBremsstrahlungFS.cc.
References FatalException, fEffectiveZSq, G4endl, G4Exception(), and eplot::material.
Referenced by G4PenelopeBremsstrahlungModel::BuildXSTable(), and G4PenelopeBremsstrahlungModel::GetPositronXSCorrection().
G4double G4PenelopeBremsstrahlungFS::GetMomentumIntegral | ( | G4double * | y, |
G4double | up, | ||
G4int | momOrder | ||
) | const |
Definition at line 435 of file G4PenelopeBremsstrahlungFS.cc.
References anonymous_namespace{G4QuasiElRatios.cc}::ds, eps, FatalException, G4endl, G4Exception(), G4Log(), G4INCL::Math::max(), and G4INCL::Math::min().
Referenced by BuildScaledXSTable(), G4PenelopeBremsstrahlungModel::BuildXSTable(), and InitializeEnergySampling().
|
inline |
Definition at line 72 of file G4PenelopeBremsstrahlungFS.hh.
References fNBinsX.
Referenced by G4PenelopeBremsstrahlungModel::BuildXSTable().
const G4PhysicsTable * G4PenelopeBremsstrahlungFS::GetScaledXSTable | ( | const G4Material * | mat, |
const G4double | cut | ||
) | const |
Definition at line 511 of file G4PenelopeBremsstrahlungFS.cc.
References FatalException, fReducedXSTable, and G4Exception().
Referenced by G4PenelopeBremsstrahlungModel::BuildXSTable().
|
inline |
|
private |
Definition at line 528 of file G4PenelopeBremsstrahlungFS.cc.
References A, B(), FatalException, fNBinsE, fNBinsX, fPBcut, fReducedXSTable, fSamplingTable, fVerbosity, G4cout, G4endl, G4Exception(), G4Exp(), G4Log(), GetMomentumIntegral(), eplot::material, G4INCL::Math::max(), G4PhysicsTable::push_back(), G4PhysicsFreeVector::PutValues(), theEGrid, and theXGrid.
Referenced by BuildScaledXSTable().
|
delete |
|
private |
Definition at line 366 of file G4PenelopeBremsstrahlungFS.cc.
References eV, FatalException, fElementData, geant4_check_module_cycles::file, fNBinsE, fNBinsX, G4endl, G4Exception(), millibarn, theEGrid, and Z.
Referenced by BuildScaledXSTable().
G4double G4PenelopeBremsstrahlungFS::SampleGammaEnergy | ( | G4double | energy, |
const G4Material * | mat, | ||
const G4double | cut | ||
) | const |
Definition at line 603 of file G4PenelopeBremsstrahlungFS.cc.
References A, B(), G4INCL::KinematicsUtils::energy(), FatalException, fCache, fNBinsE, fNBinsX, fPBcut, fReducedXSTable, fSamplingTable, fVerbosity, G4cout, G4endl, G4Exception(), G4Exp(), G4UniformRand, G4Cache< VALTYPE >::Get(), G4Material::GetName(), JustWarning, keV, G4INCL::Math::max(), G4Cache< VALTYPE >::Put(), G4PhysicsFreeVector::PutValues(), G4AutoDelete::Register(), theEGrid, and theXGrid.
Referenced by G4PenelopeBremsstrahlungModel::SampleSecondaries().
|
inline |
Definition at line 85 of file G4PenelopeBremsstrahlungFS.hh.
References fVerbosity.
|
private |
Definition at line 122 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by G4PenelopeBremsstrahlungFS(), and SampleGammaEnergy().
|
private |
Definition at line 102 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), ClearTables(), and GetEffectiveZSquared().
|
private |
Definition at line 109 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), G4PenelopeBremsstrahlungFS(), ReadDataFile(), and ~G4PenelopeBremsstrahlungFS().
|
staticprivate |
Definition at line 125 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), G4PenelopeBremsstrahlungFS(), InitializeEnergySampling(), ReadDataFile(), and SampleGammaEnergy().
|
staticprivate |
Definition at line 126 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), G4PenelopeBremsstrahlungFS(), GetNBinsX(), InitializeEnergySampling(), ReadDataFile(), and SampleGammaEnergy().
|
private |
Definition at line 116 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), ClearTables(), InitializeEnergySampling(), and SampleGammaEnergy().
|
private |
Definition at line 100 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), ClearTables(), GetScaledXSTable(), InitializeEnergySampling(), and SampleGammaEnergy().
|
private |
Definition at line 114 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), ClearTables(), InitializeEnergySampling(), and SampleGammaEnergy().
|
private |
Definition at line 131 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), GetVerbosity(), InitializeEnergySampling(), SampleGammaEnergy(), and SetVerbosity().
Definition at line 129 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by BuildScaledXSTable(), G4PenelopeBremsstrahlungFS(), InitializeEnergySampling(), ReadDataFile(), and SampleGammaEnergy().
Definition at line 128 of file G4PenelopeBremsstrahlungFS.hh.
Referenced by G4PenelopeBremsstrahlungFS(), InitializeEnergySampling(), and SampleGammaEnergy().