Geant4-11
|
#include <G4PhysicsTable.hh>
Public Member Functions | |
void | clearAndDestroy () |
void | ClearFlag (std::size_t i) |
std::size_t | entries () const |
G4bool | ExistPhysicsTable (const G4String &fileName) const |
G4PhysicsTable () | |
G4PhysicsTable (const G4PhysicsTable &)=delete | |
G4PhysicsTable (size_t cap) | |
G4bool | GetFlag (std::size_t i) const |
void | insert (G4PhysicsVector *) |
void | insertAt (std::size_t, G4PhysicsVector *) |
G4bool | isEmpty () const |
std::size_t | length () const |
G4PhysicsVector *& | operator() (std::size_t) |
G4PhysicsVector *const & | operator() (std::size_t) const |
G4PhysicsTable & | operator= (const G4PhysicsTable &)=delete |
void | push_back (G4PhysicsVector *) |
void | ResetFlagArray () |
void | resize (std::size_t, G4PhysicsVector *vec=(G4PhysicsVector *)(0)) |
G4bool | RetrievePhysicsTable (const G4String &filename, G4bool ascii=false, G4bool spline=false) |
G4bool | StorePhysicsTable (const G4String &filename, G4bool ascii=false) |
virtual | ~G4PhysicsTable () |
Protected Member Functions | |
G4PhysicsVector * | CreatePhysicsVector (G4int type, G4bool spline) |
Protected Attributes | |
G4FlagCollection | vecFlag |
Private Types | |
using | G4FlagCollection = std::vector< G4bool > |
using | G4PhysCollection = std::vector< G4PhysicsVector * > |
Friends | |
std::ostream & | operator<< (std::ostream &out, G4PhysicsTable &table) |
Definition at line 55 of file G4PhysicsTable.hh.
|
private |
Definition at line 58 of file G4PhysicsTable.hh.
|
private |
Definition at line 57 of file G4PhysicsTable.hh.
G4PhysicsTable::G4PhysicsTable | ( | ) |
Definition at line 47 of file G4PhysicsTable.cc.
|
explicit |
|
virtual |
Definition at line 60 of file G4PhysicsTable.cc.
References vecFlag.
|
delete |
void G4PhysicsTable::clearAndDestroy | ( | ) |
Referenced by G4hRDEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildInverseRangeTable(), G4hImpactIonisation::BuildLambdaTable(), G4hImpactIonisation::BuildLossTable(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPInelasticData::BuildPhysicsTable(), G4VLEPTSModel::BuildPhysicsTable(), G4Scintillation::BuildPhysicsTable(), G4OpWLS::BuildPhysicsTable(), G4OpWLS2::BuildPhysicsTable(), G4hRDEnergyLoss::BuildRangeCoeffATable(), G4hRDEnergyLoss::BuildRangeCoeffBTable(), G4hRDEnergyLoss::BuildRangeCoeffCTable(), G4hRDEnergyLoss::BuildRangeTable(), G4LossTableBuilder::BuildTableForModel(), G4hRDEnergyLoss::BuildTimeTables(), G4PolarizedCompton::CleanTable(), G4PolarizedAnnihilation::CleanTables(), G4PolarizedIonisation::CleanTables(), G4PenelopeBremsstrahlungAngular::ClearTables(), G4PenelopeBremsstrahlungFS::ClearTables(), G4VEnergyLossProcess::PreparePhysicsTable(), RetrievePhysicsTable(), G4PhysicsTableHelper::RetrievePhysicsTable(), G4VEmModel::SetCrossSectionTable(), G4Cerenkov::~G4Cerenkov(), G4hImpactIonisation::~G4hImpactIonisation(), G4hRDEnergyLoss::~G4hRDEnergyLoss(), G4NeutronElectronElModel::~G4NeutronElectronElModel(), G4OpWLS::~G4OpWLS(), G4OpWLS2::~G4OpWLS2(), G4ParticleHPCaptureData::~G4ParticleHPCaptureData(), G4ParticleHPElasticData::~G4ParticleHPElasticData(), G4ParticleHPFissionData::~G4ParticleHPFissionData(), G4ParticleHPInelasticData::~G4ParticleHPInelasticData(), G4PenelopeCrossSection::~G4PenelopeCrossSection(), G4PenelopePhotoElectricModel::~G4PenelopePhotoElectricModel(), G4Scintillation::~G4Scintillation(), G4TablesForExtrapolator::~G4TablesForExtrapolator(), G4UPiNuclearCrossSection::~G4UPiNuclearCrossSection(), G4VEmModel::~G4VEmModel(), G4VEnergyLossProcess::~G4VEnergyLossProcess(), G4VLEPTSModel::~G4VLEPTSModel(), and G4VXTRenergyLoss::~G4VXTRenergyLoss().
void G4PhysicsTable::ClearFlag | ( | std::size_t | i | ) |
|
protected |
Definition at line 269 of file G4PhysicsTable.cc.
References T_G4PhysicsLinearVector, and T_G4PhysicsLogVector.
Referenced by RetrievePhysicsTable().
std::size_t G4PhysicsTable::entries | ( | ) | const |
Definition at line 129 of file G4PhysicsTable.cc.
Referenced by G4VEnergyLossProcess::RetrieveTable().
G4bool G4PhysicsTable::GetFlag | ( | std::size_t | i | ) | const |
void G4PhysicsTable::insert | ( | G4PhysicsVector * | ) |
Referenced by G4hRDEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildInverseRangeTable(), G4hImpactIonisation::BuildLambdaTable(), G4hImpactIonisation::BuildLossTable(), G4hRDEnergyLoss::BuildRangeCoeffATable(), G4hRDEnergyLoss::BuildRangeCoeffBTable(), G4hRDEnergyLoss::BuildRangeCoeffCTable(), G4hRDEnergyLoss::BuildRangeTable(), and G4hRDEnergyLoss::BuildTimeTables().
void G4PhysicsTable::insertAt | ( | std::size_t | , |
G4PhysicsVector * | |||
) |
Referenced by G4VXTRenergyLoss::BuildAngleForEnergyBank(), G4VXTRenergyLoss::BuildAngleTable(), G4DiffuseElastic::BuildAngleTable(), G4NuclNuclDiffuseElastic::BuildAngleTable(), G4PolarizedIonisation::BuildAsymmetryTables(), G4VXTRenergyLoss::BuildEnergyTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4VLEPTSModel::BuildMeanFreePathTable(), G4VLEPTSModel::BuildPhysicsTable(), G4Cerenkov::BuildPhysicsTable(), G4Scintillation::BuildPhysicsTable(), G4OpRayleigh::BuildPhysicsTable(), G4OpWLS::BuildPhysicsTable(), G4OpWLS2::BuildPhysicsTable(), G4hhElastic::BuildTableT(), G4hhElastic::BuildTableTest(), G4ForwardXrayTR::BuildXrayTRtables(), G4NeutronElectronElModel::Initialise(), G4PAIPhotData::Initialise(), G4PAIModelData::Initialise(), G4DiffuseElastic::TestAngleTable(), and G4NuclNuclDiffuseElastic::TestAngleTable().
G4bool G4PhysicsTable::isEmpty | ( | ) | const |
std::size_t G4PhysicsTable::length | ( | ) | const |
G4PhysicsVector *& G4PhysicsTable::operator() | ( | std::size_t | ) |
G4PhysicsVector *const & G4PhysicsTable::operator() | ( | std::size_t | ) | const |
|
delete |
void G4PhysicsTable::push_back | ( | G4PhysicsVector * | ) |
Referenced by G4UPiNuclearCrossSection::AddDataSet(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPInelasticData::BuildPhysicsTable(), G4PenelopeBremsstrahlungFS::BuildScaledXSTable(), G4LossTableManager::BuildTables(), G4PenelopeCrossSection::G4PenelopeCrossSection(), G4PenelopeBremsstrahlungFS::InitializeEnergySampling(), G4TablesForExtrapolator::PrepareTable(), G4PenelopeBremsstrahlungAngular::PrepareTables(), and G4PenelopePhotoElectricModel::ReadDataFile().
void G4PhysicsTable::ResetFlagArray | ( | ) |
Definition at line 258 of file G4PhysicsTable.cc.
References vecFlag.
Referenced by G4PhysicsTableHelper::PreparePhysicsTable().
void G4PhysicsTable::resize | ( | std::size_t | siz, |
G4PhysicsVector * | vec = (G4PhysicsVector*) (0) |
||
) |
Definition at line 67 of file G4PhysicsTable.cc.
References vecFlag.
Referenced by G4PhysicsTableHelper::PreparePhysicsTable().
G4bool G4PhysicsTable::RetrievePhysicsTable | ( | const G4String & | filename, |
G4bool | ascii = false , |
||
G4bool | spline = false |
||
) |
Definition at line 146 of file G4PhysicsTable.cc.
References clearAndDestroy(), CreatePhysicsVector(), G4cerr, G4endl, G4PhysicsVector::Retrieve(), and vecFlag.
Referenced by G4DNABornExcitationModel2::Initialise(), and G4PhysicsTableHelper::RetrievePhysicsTable().
Definition at line 74 of file G4PhysicsTable.cc.
References G4cerr, and G4endl.
Referenced by G4VEmProcess::StorePhysicsTable(), G4VMultipleScattering::StorePhysicsTable(), and G4VEnergyLossProcess::StoreTable().
|
friend |
Definition at line 232 of file G4PhysicsTable.cc.
|
protected |
Definition at line 119 of file G4PhysicsTable.hh.
Referenced by ResetFlagArray(), resize(), RetrievePhysicsTable(), and ~G4PhysicsTable().