Geant4
10.00.p02
|
#include <G4PhysicsTable.hh>
Public Member Functions | |
G4PhysicsTable () | |
G4PhysicsTable (size_t cap) | |
virtual | ~G4PhysicsTable () |
G4PhysicsVector *& | operator() (size_t) |
G4PhysicsVector *const & | operator() (size_t) const |
void | clearAndDestroy () |
void | push_back (G4PhysicsVector *) |
void | insert (G4PhysicsVector *) |
void | insertAt (size_t, G4PhysicsVector *) |
void | resize (size_t, G4PhysicsVector *vec=(G4PhysicsVector *)(0)) |
size_t | entries () const |
size_t | length () const |
G4bool | isEmpty () const |
G4bool | ExistPhysicsTable (const G4String &fileName) const |
G4bool | StorePhysicsTable (const G4String &filename, G4bool ascii=false) |
G4bool | RetrievePhysicsTable (const G4String &filename, G4bool ascii=false) |
void | ResetFlagArray () |
G4bool | GetFlag (size_t i) const |
void | ClearFlag (size_t i) |
Protected Member Functions | |
G4PhysicsVector * | CreatePhysicsVector (G4int type) |
Protected Attributes | |
G4FlagCollection | vecFlag |
Private Types | |
typedef std::vector < G4PhysicsVector * > | G4PhysCollection |
typedef std::vector< G4bool > | G4FlagCollection |
Private Member Functions | |
G4PhysicsTable (const G4PhysicsTable &) | |
G4PhysicsTable & | operator= (const G4PhysicsTable &) |
Friends | |
std::ostream & | operator<< (std::ostream &out, G4PhysicsTable &table) |
Definition at line 66 of file G4PhysicsTable.hh.
|
private |
Definition at line 70 of file G4PhysicsTable.hh.
|
private |
Definition at line 69 of file G4PhysicsTable.hh.
G4PhysicsTable::G4PhysicsTable | ( | ) |
Definition at line 51 of file G4PhysicsTable.cc.
|
explicit |
Definition at line 56 of file G4PhysicsTable.cc.
References vecFlag.
|
virtual |
Definition at line 85 of file G4PhysicsTable.cc.
References vecFlag.
|
private |
Definition at line 63 of file G4PhysicsTable.cc.
References right.
void G4PhysicsTable::clearAndDestroy | ( | ) |
Referenced by G4eLowEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildDEDXTable(), G4RDVeLowEnergyLoss::BuildInverseRangeTable(), G4hRDEnergyLoss::BuildInverseRangeTable(), G4RDVeLowEnergyLoss::BuildLabTimeTable(), G4hImpactIonisation::BuildLambdaTable(), G4LowEnergyBremsstrahlung::BuildLossTable(), G4LowEnergyIonisation::BuildLossTable(), G4hImpactIonisation::BuildLossTable(), G4NeutronHPFissionData::BuildPhysicsTable(), G4NeutronHPCaptureData::BuildPhysicsTable(), G4NeutronHPInelasticData::BuildPhysicsTable(), G4NeutronHPElasticData::BuildPhysicsTable(), G4ePolarizedIonisation::BuildPhysicsTable(), G4RDVeLowEnergyLoss::BuildProperTimeTable(), G4RDVeLowEnergyLoss::BuildRangeCoeffATable(), G4hRDEnergyLoss::BuildRangeCoeffATable(), G4RDVeLowEnergyLoss::BuildRangeCoeffBTable(), G4hRDEnergyLoss::BuildRangeCoeffBTable(), G4RDVeLowEnergyLoss::BuildRangeCoeffCTable(), G4hRDEnergyLoss::BuildRangeCoeffCTable(), G4RDVeLowEnergyLoss::BuildRangeTable(), G4hRDEnergyLoss::BuildRangeTable(), G4LossTableBuilder::BuildTableForModel(), G4hRDEnergyLoss::BuildTimeTables(), G4VRangeToEnergyConverter::G4VRangeToEnergyConverter(), G4VMscModel::GetParticleChangeForMSC(), G4VRangeToEnergyConverter::operator=(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VRangeToEnergyConverter::Reset(), RetrievePhysicsTable(), G4VEmModel::SetCrossSectionTable(), G4Cerenkov::~G4Cerenkov(), G4DiffuseElastic::~G4DiffuseElastic(), G4eLowEnergyLoss::~G4eLowEnergyLoss(), G4hImpactIonisation::~G4hImpactIonisation(), G4hRDEnergyLoss::~G4hRDEnergyLoss(), G4KokoulinMuonNuclearXS::~G4KokoulinMuonNuclearXS(), G4NuclNuclDiffuseElastic::~G4NuclNuclDiffuseElastic(), G4OpRayleigh::~G4OpRayleigh(), G4OpWLS::~G4OpWLS(), G4Scintillation::~G4Scintillation(), and WLSPrimaryGeneratorAction::~WLSPrimaryGeneratorAction().
void G4PhysicsTable::ClearFlag | ( | size_t | i | ) |
Referenced by G4PhysicsTableHelper::PreparePhysicsTable(), G4PhysicsTableHelper::RetrievePhysicsTable(), and G4PhysicsTableHelper::SetPhysicsVector().
|
protected |
Definition at line 283 of file G4PhysicsTable.cc.
References T_G4LPhysicsFreeVector, T_G4PhysicsFreeVector, T_G4PhysicsLinearVector, T_G4PhysicsLnVector, T_G4PhysicsLogVector, and T_G4PhysicsOrderedFreeVector.
Referenced by RetrievePhysicsTable().
size_t G4PhysicsTable::entries | ( | ) | const |
Referenced by G4OpRayleigh::DumpPhysicsTable(), G4OpWLS::DumpPhysicsTable(), G4Cerenkov::DumpPhysicsTable(), G4Scintillation::DumpPhysicsTable(), and G4PenelopePhotoElectricModel::SelectRandomShell().
Definition at line 149 of file G4PhysicsTable.cc.
Referenced by G4VEnergyLossProcess::RetrieveTable().
G4bool G4PhysicsTable::GetFlag | ( | size_t | i | ) | const |
Referenced by G4PolarizedCompton::BuildAsymmetryTable(), G4eplusPolarizedAnnihilation::BuildAsymmetryTable(), G4VEnergyLossProcess::BuildDEDXTable(), G4LossTableBuilder::InitialiseBaseMaterials(), operator<<(), and operator=().
void G4PhysicsTable::insert | ( | G4PhysicsVector * | ) |
Referenced by G4eLowEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildDEDXTable(), G4RDVeLowEnergyLoss::BuildInverseRangeTable(), G4hRDEnergyLoss::BuildInverseRangeTable(), G4RDVeLowEnergyLoss::BuildLabTimeTable(), G4hImpactIonisation::BuildLambdaTable(), G4LowEnergyBremsstrahlung::BuildLossTable(), G4LowEnergyIonisation::BuildLossTable(), G4VRangeToEnergyConverter::BuildLossTable(), G4hImpactIonisation::BuildLossTable(), G4RDVeLowEnergyLoss::BuildProperTimeTable(), G4RDVeLowEnergyLoss::BuildRangeCoeffATable(), G4hRDEnergyLoss::BuildRangeCoeffATable(), G4RDVeLowEnergyLoss::BuildRangeCoeffBTable(), G4hRDEnergyLoss::BuildRangeCoeffBTable(), G4RDVeLowEnergyLoss::BuildRangeCoeffCTable(), G4hRDEnergyLoss::BuildRangeCoeffCTable(), G4RDVeLowEnergyLoss::BuildRangeTable(), G4hRDEnergyLoss::BuildRangeTable(), G4hRDEnergyLoss::BuildTimeTables(), and G4VRangeToEnergyConverter::operator=().
void G4PhysicsTable::insertAt | ( | size_t | , |
G4PhysicsVector * | |||
) |
Referenced by G4VXTRenergyLoss::BuildAngleForEnergyBank(), G4NuclNuclDiffuseElastic::BuildAngleTable(), G4DiffuseElastic::BuildAngleTable(), G4VXTRenergyLoss::BuildAngleTable(), G4KokoulinMuonNuclearXS::BuildCrossSectionTable(), WLSPrimaryGeneratorAction::BuildEmissionSpectrum(), G4VXTRenergyLoss::BuildEnergyTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4PAIPhotonModel::BuildPAIonisationTable(), G4ePolarizedIonisation::BuildPhysicsTable(), G4OpRayleigh::BuildThePhysicsTable(), G4OpWLS::BuildThePhysicsTable(), G4Cerenkov::BuildThePhysicsTable(), G4Scintillation::BuildThePhysicsTable(), G4ForwardXrayTR::BuildXrayTRtables(), G4PAIPhotData::Initialise(), G4PAIModelData::Initialise(), G4NuclNuclDiffuseElastic::TestAngleTable(), and G4DiffuseElastic::TestAngleTable().
G4bool G4PhysicsTable::isEmpty | ( | ) | const |
size_t G4PhysicsTable::length | ( | ) | const |
Referenced by G4RDVeLowEnergyLoss::BuildRangeTable(), G4VEmProcess::FindLambdaMax(), G4VEmProcess::PrintInfoProcess(), G4VEmProcess::RetrievePhysicsTable(), G4VEnergyLossProcess::RetrieveTable(), G4VEnergyLossProcess::SetCSDARangeTable(), G4VEnergyLossProcess::SetDEDXTable(), and G4VEnergyLossProcess::SetLambdaTable().
G4PhysicsVector*& G4PhysicsTable::operator() | ( | size_t | ) |
G4PhysicsVector* const& G4PhysicsTable::operator() | ( | size_t | ) | const |
|
private |
Definition at line 69 of file G4PhysicsTable.cc.
References GetFlag(), and vecFlag.
void G4PhysicsTable::push_back | ( | G4PhysicsVector * | ) |
Referenced by G4UPiNuclearCrossSection::AddDataSet(), G4NeutronHPFissionData::BuildPhysicsTable(), G4NeutronHPCaptureData::BuildPhysicsTable(), G4NeutronHPInelasticData::BuildPhysicsTable(), G4NeutronHPElasticData::BuildPhysicsTable(), G4PenelopeBremsstrahlungFS::BuildScaledXSTable(), G4LossTableManager::BuildTables(), G4PenelopeCrossSection::G4PenelopeCrossSection(), G4PenelopeBremsstrahlungFS::InitializeEnergySampling(), G4EnergyLossForExtrapolator::PrepareTable(), G4PenelopeBremsstrahlungAngular::PrepareTables(), and G4PenelopePhotoElectricModel::ReadDataFile().
void G4PhysicsTable::ResetFlagArray | ( | ) |
Definition at line 273 of file G4PhysicsTable.cc.
References vecFlag.
Referenced by G4PhysicsTableHelper::PreparePhysicsTable().
void G4PhysicsTable::resize | ( | size_t | siz, |
G4PhysicsVector * | vec = (G4PhysicsVector*)(0) |
||
) |
Definition at line 91 of file G4PhysicsTable.cc.
References vecFlag.
Referenced by G4PhysicsTableHelper::PreparePhysicsTable().
Definition at line 165 of file G4PhysicsTable.cc.
References clearAndDestroy(), CreatePhysicsVector(), G4cerr, G4endl, G4PhysicsVector::Retrieve(), and vecFlag.
Referenced by G4PhysicsTableHelper::RetrievePhysicsTable().
Definition at line 97 of file G4PhysicsTable.cc.
References G4cerr, and G4endl.
Referenced by G4VMultipleScattering::StorePhysicsTable(), G4VEmProcess::StorePhysicsTable(), and G4VEnergyLossProcess::StoreTable().
|
friend |
Definition at line 247 of file G4PhysicsTable.cc.
|
protected |
Definition at line 132 of file G4PhysicsTable.hh.
Referenced by G4PhysicsTable(), operator=(), ResetFlagArray(), resize(), RetrievePhysicsTable(), and ~G4PhysicsTable().