Geant4-11
|
#include <G4SBBremTable.hh>
Data Structures | |
struct | SamplingTablePerZ |
struct | STable |
struct | STPoint |
Public Member Functions | |
void | ClearSamplingTables () |
G4SBBremTable () | |
void | Initialize (const G4double lowe, const G4double highe) |
double | SampleEnergyTransfer (const G4double eekin, const G4double leekin, const G4double gcut, const G4double dielSupConst, const G4int izet, const G4int matCutIndx, const bool iselectron) |
~G4SBBremTable () | |
Private Member Functions | |
void | BuildSamplingTables () |
void | InitSamplingTables () |
G4int | LinSearch (const std::vector< STPoint > &vect, const G4int size, const G4double val) |
void | LoadSamplingTables (G4int iz) |
void | LoadSTGrid () |
void | ReadCompressedFile (const G4String &fname, std::istringstream &iss) |
Private Attributes | |
std::vector< G4double > | fElEnergyVect |
G4double | fILDeltaElEnergy |
std::vector< G4double > | fKappaVect |
std::vector< G4double > | fLElEnergyVect |
std::vector< G4double > | fLKappaVect |
G4double | fLogMinElEnergy |
G4int | fMaxZet |
G4int | fNumElEnergy |
G4int | fNumKappa |
std::vector< SamplingTablePerZ * > | fSBSamplingTables |
G4double | fUsedHighEenergy |
G4double | fUsedLowEenergy |
Definition at line 63 of file G4SBBremTable.hh.
G4SBBremTable::G4SBBremTable | ( | ) |
Definition at line 63 of file G4SBBremTable.cc.
G4SBBremTable::~G4SBBremTable | ( | ) |
Definition at line 68 of file G4SBBremTable.cc.
References ClearSamplingTables().
|
private |
Definition at line 209 of file G4SBBremTable.cc.
References ClearSamplingTables(), elem, fMaxZet, fSBSamplingTables, G4Log(), G4Material::GetElementVector(), G4ProductionCutsTable::GetEnergyCutsVector(), G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), G4MaterialCutsCouple::IsUsed(), LoadSTGrid(), G4INCL::Math::max(), and G4INCL::Math::min().
Referenced by Initialize().
void G4SBBremTable::ClearSamplingTables | ( | ) |
Definition at line 460 of file G4SBBremTable.cc.
References fElEnergyVect, fKappaVect, fLElEnergyVect, fLKappaVect, fMaxZet, fNumElEnergy, and fSBSamplingTables.
Referenced by BuildSamplingTables(), and ~G4SBBremTable().
Definition at line 73 of file G4SBBremTable.cc.
References BuildSamplingTables(), fUsedHighEenergy, fUsedLowEenergy, and InitSamplingTables().
Referenced by G4SeltzerBergerModel::Initialise().
|
private |
Definition at line 257 of file G4SBBremTable.cc.
References G4SBBremTable::STPoint::fCum, fElEnergyVect, G4SBBremTable::SamplingTablePerZ::fGamCutIndxToMatCutIndx, G4SBBremTable::SamplingTablePerZ::fGammaECuts, fKappaVect, G4SBBremTable::SamplingTablePerZ::fLogGammaECuts, G4SBBremTable::SamplingTablePerZ::fMatCutIndxToGamCutIndx, fMaxZet, fNumElEnergy, G4SBBremTable::SamplingTablePerZ::fNumGammaCuts, G4SBBremTable::STPoint::fParA, G4SBBremTable::STPoint::fParB, fSBSamplingTables, G4SBBremTable::SamplingTablePerZ::fTablesPerEnergy, G4Log(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), LoadSamplingTables(), and G4INCL::Math::max().
Referenced by Initialize().
|
private |
Definition at line 501 of file G4SBBremTable.cc.
Referenced by SampleEnergyTransfer().
|
private |
Definition at line 387 of file G4SBBremTable.cc.
References FatalException, G4SBBremTable::STPoint::fCum, fElEnergyVect, G4SBBremTable::SamplingTablePerZ::fGammaECuts, G4SBBremTable::SamplingTablePerZ::fMaxElEnergyIndx, fMaxZet, G4SBBremTable::SamplingTablePerZ::fMinElEnergyIndx, test::fname, fNumElEnergy, fNumKappa, G4SBBremTable::STPoint::fParA, G4SBBremTable::STPoint::fParB, fSBSamplingTables, G4SBBremTable::SamplingTablePerZ::fTablesPerEnergy, fUsedHighEenergy, fUsedLowEenergy, G4Exception(), LoadSTGrid(), G4INCL::Math::max(), G4INCL::Math::min(), and ReadCompressedFile().
Referenced by InitSamplingTables().
|
private |
Definition at line 335 of file G4SBBremTable.cc.
References CLHEP::eV, FatalException, fElEnergyVect, fILDeltaElEnergy, fKappaVect, fLElEnergyVect, fLKappaVect, fLogMinElEnergy, fMaxZet, test::fname, fNumElEnergy, fNumKappa, fSBSamplingTables, fUsedHighEenergy, fUsedLowEenergy, G4Exception(), G4Log(), CLHEP::GeV, G4INCL::Math::max(), CLHEP::MeV, and G4INCL::Math::min().
Referenced by BuildSamplingTables(), and LoadSamplingTables().
|
private |
Definition at line 521 of file G4SBBremTable.cc.
References FatalException, test::fname, G4Exception(), uncompress(), and Z_OK.
Referenced by LoadSamplingTables().
double G4SBBremTable::SampleEnergyTransfer | ( | const G4double | eekin, |
const G4double | leekin, | ||
const G4double | gcut, | ||
const G4double | dielSupConst, | ||
const G4int | izet, | ||
const G4int | matCutIndx, | ||
const bool | iselectron | ||
) |
Definition at line 83 of file G4SBBremTable.cc.
References e1, e2, CLHEP::electron_mass_c2, FatalException, G4SBBremTable::STPoint::fCum, G4SBBremTable::STable::fCumCutValues, fElEnergyVect, G4SBBremTable::SamplingTablePerZ::fGammaECuts, fILDeltaElEnergy, CLHEP::fine_structure_const, CLHEP::HepRandomEngine::flat(), CLHEP::HepRandomEngine::flatArray(), fLElEnergyVect, fLKappaVect, G4SBBremTable::SamplingTablePerZ::fLogGammaECuts, fLogMinElEnergy, G4SBBremTable::SamplingTablePerZ::fMatCutIndxToGamCutIndx, G4SBBremTable::SamplingTablePerZ::fMaxElEnergyIndx, fMaxZet, G4SBBremTable::SamplingTablePerZ::fNumGammaCuts, fNumKappa, G4SBBremTable::STPoint::fParA, G4SBBremTable::STPoint::fParB, fSBSamplingTables, G4SBBremTable::STable::fSTable, G4SBBremTable::SamplingTablePerZ::fTablesPerEnergy, G4Exception(), G4Exp(), G4InuclParticleNames::isElectron(), LinSearch(), G4INCL::Math::max(), G4INCL::Math::min(), and CLHEP::twopi.
Referenced by G4SeltzerBergerModel::SampleSecondaries().
|
private |
Definition at line 152 of file G4SBBremTable.hh.
Referenced by ClearSamplingTables(), InitSamplingTables(), LoadSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 149 of file G4SBBremTable.hh.
Referenced by LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 154 of file G4SBBremTable.hh.
Referenced by ClearSamplingTables(), InitSamplingTables(), and LoadSTGrid().
|
private |
Definition at line 153 of file G4SBBremTable.hh.
Referenced by ClearSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 155 of file G4SBBremTable.hh.
Referenced by ClearSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 148 of file G4SBBremTable.hh.
Referenced by LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 141 of file G4SBBremTable.hh.
Referenced by BuildSamplingTables(), ClearSamplingTables(), InitSamplingTables(), LoadSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 142 of file G4SBBremTable.hh.
Referenced by ClearSamplingTables(), InitSamplingTables(), LoadSamplingTables(), and LoadSTGrid().
|
private |
Definition at line 143 of file G4SBBremTable.hh.
Referenced by LoadSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 158 of file G4SBBremTable.hh.
Referenced by BuildSamplingTables(), ClearSamplingTables(), InitSamplingTables(), LoadSamplingTables(), LoadSTGrid(), and SampleEnergyTransfer().
|
private |
Definition at line 147 of file G4SBBremTable.hh.
Referenced by Initialize(), LoadSamplingTables(), and LoadSTGrid().
|
private |
Definition at line 146 of file G4SBBremTable.hh.
Referenced by Initialize(), LoadSamplingTables(), and LoadSTGrid().