Geant4-11
|
#include <G4MaterialPropertiesTable.hh>
Public Member Functions | |
void | AddConstProperty (const char *key, G4double propertyValue, G4bool createNewKey=false) |
void | AddConstProperty (const G4String &key, G4double propertyValue, G4bool createNewKey=false) |
void | AddEntry (const char *key, G4double aPhotonEnergy, G4double aPropertyValue) |
void | AddEntry (const G4String &key, G4double aPhotonEnergy, G4double aPropertyValue) |
G4MaterialPropertyVector * | AddProperty (const char *key, G4double *photonEnergies, G4double *propertyValues, G4int numEntries, G4bool createNewKey=false, G4bool spline=false) |
void | AddProperty (const char *key, G4MaterialPropertyVector *opv, G4bool createNewKey=false) |
void | AddProperty (const G4String &key, const G4String &mat) |
G4MaterialPropertyVector * | AddProperty (const G4String &key, const std::vector< G4double > &photonEnergies, const std::vector< G4double > &propertyValues, G4bool createNewKey=false, G4bool spline=false) |
void | AddProperty (const G4String &key, G4MaterialPropertyVector *opv, G4bool createNewKey=false) |
G4bool | ConstPropertyExists (const char *key) const |
G4bool | ConstPropertyExists (const G4int index) const |
G4bool | ConstPropertyExists (const G4String &key) const |
void | DumpTable () const |
G4MaterialPropertiesTable () | |
const std::vector< std::pair< G4double, G4bool > > & | GetConstProperties () const |
G4double | GetConstProperty (const char *key) const |
G4double | GetConstProperty (const G4int index) const |
G4double | GetConstProperty (const G4String &key) const |
G4int | GetConstPropertyIndex (const G4String &key) const |
const std::vector< G4String > & | GetMaterialConstPropertyNames () const |
const std::vector< G4String > & | GetMaterialPropertyNames () const |
const std::vector< G4MaterialPropertyVector * > & | GetProperties () const |
G4MaterialPropertyVector * | GetProperty (const char *key) const |
G4MaterialPropertyVector * | GetProperty (const G4int index) const |
G4MaterialPropertyVector * | GetProperty (const G4String &key) const |
G4int | GetPropertyIndex (const G4String &key) const |
void | RemoveConstProperty (const char *key) |
void | RemoveConstProperty (const G4String &key) |
void | RemoveProperty (const char *key) |
void | RemoveProperty (const G4String &key) |
virtual | ~G4MaterialPropertiesTable () |
Private Member Functions | |
G4MaterialPropertyVector * | CalculateGROUPVEL () |
Private Attributes | |
std::vector< G4String > | fMatConstPropNames |
std::vector< G4String > | fMatPropNames |
std::vector< std::pair< G4double, G4bool > > | fMCP |
std::vector< G4MaterialPropertyVector * > | fMP |
Definition at line 61 of file G4MaterialPropertiesTable.hh.
G4MaterialPropertiesTable::G4MaterialPropertiesTable | ( | ) |
Definition at line 65 of file G4MaterialPropertiesTable.cc.
References fMatConstPropNames, fMatPropNames, fMCP, fMP, kNumberOfConstPropertyIndex, and kNumberOfPropertyIndex.
|
virtual |
Definition at line 163 of file G4MaterialPropertiesTable.cc.
References fMP.
void G4MaterialPropertiesTable::AddConstProperty | ( | const char * | key, |
G4double | propertyValue, | ||
G4bool | createNewKey = false |
||
) |
Definition at line 446 of file G4MaterialPropertiesTable.cc.
References AddConstProperty().
void G4MaterialPropertiesTable::AddConstProperty | ( | const G4String & | key, |
G4double | propertyValue, | ||
G4bool | createNewKey = false |
||
) |
Definition at line 417 of file G4MaterialPropertiesTable.cc.
References FatalException, fMatConstPropNames, fMCP, G4Exception(), and GetConstPropertyIndex().
Referenced by AddConstProperty(), G4GDMLReadMaterials::PropertyRead(), G4GDMLReadSolids::PropertyRead(), and G4UCNMaterialPropertiesTable::SetMicroRoughnessParameters().
void G4MaterialPropertiesTable::AddEntry | ( | const char * | key, |
G4double | aPhotonEnergy, | ||
G4double | aPropertyValue | ||
) |
Definition at line 509 of file G4MaterialPropertiesTable.cc.
References AddEntry().
void G4MaterialPropertiesTable::AddEntry | ( | const G4String & | key, |
G4double | aPhotonEnergy, | ||
G4double | aPropertyValue | ||
) |
Definition at line 479 of file G4MaterialPropertiesTable.cc.
References CalculateGROUPVEL(), FatalException, fMatPropNames, fMP, G4Exception(), GetPropertyIndex(), and G4PhysicsFreeVector::InsertValues().
Referenced by AddEntry().
G4MaterialPropertyVector * G4MaterialPropertiesTable::AddProperty | ( | const char * | key, |
G4double * | photonEnergies, | ||
G4double * | propertyValues, | ||
G4int | numEntries, | ||
G4bool | createNewKey = false , |
||
G4bool | spline = false |
||
) |
Definition at line 351 of file G4MaterialPropertiesTable.cc.
References AddProperty().
void G4MaterialPropertiesTable::AddProperty | ( | const char * | key, |
G4MaterialPropertyVector * | opv, | ||
G4bool | createNewKey = false |
||
) |
Definition at line 401 of file G4MaterialPropertiesTable.cc.
References AddProperty().
Definition at line 408 of file G4MaterialPropertiesTable.cc.
References AddProperty(), and G4OpticalMaterialProperties::GetProperty().
G4MaterialPropertyVector * G4MaterialPropertiesTable::AddProperty | ( | const G4String & | key, |
const std::vector< G4double > & | photonEnergies, | ||
const std::vector< G4double > & | propertyValues, | ||
G4bool | createNewKey = false , |
||
G4bool | spline = false |
||
) |
Definition at line 298 of file G4MaterialPropertiesTable.cc.
References CalculateGROUPVEL(), FatalException, G4PhysicsVector::FillSecondDerivatives(), fMatPropNames, fMP, G4Exception(), GetPropertyIndex(), and G4PhysicsVector::SetVerboseLevel().
Referenced by AddProperty(), CalculateGROUPVEL(), G4GDMLReadMaterials::PropertyRead(), and G4GDMLReadSolids::PropertyRead().
void G4MaterialPropertiesTable::AddProperty | ( | const G4String & | key, |
G4MaterialPropertyVector * | opv, | ||
G4bool | createNewKey = false |
||
) |
Definition at line 365 of file G4MaterialPropertiesTable.cc.
References CalculateGROUPVEL(), FatalException, fMatPropNames, fMP, G4Exception(), and GetPropertyIndex().
|
private |
Definition at line 542 of file G4MaterialPropertiesTable.cc.
References AddProperty(), source.hepunit::c_light, G4PhysicsVector::Energy(), FatalException, fMP, G4Exception(), G4Log(), GetProperty(), G4PhysicsVector::GetVectorLength(), G4PhysicsFreeVector::InsertValues(), kGROUPVEL, kRINDEX, RemoveProperty(), and G4PhysicsVector::SetVerboseLevel().
Referenced by AddEntry(), and AddProperty().
G4bool G4MaterialPropertiesTable::ConstPropertyExists | ( | const char * | key | ) | const |
Definition at line 253 of file G4MaterialPropertiesTable.cc.
References ConstPropertyExists(), and fMatConstPropNames.
Definition at line 242 of file G4MaterialPropertiesTable.cc.
References ConstPropertyExists(), and fMatConstPropNames.
Referenced by G4OpRayleigh::CalculateRayleighMeanFreePaths(), ConstPropertyExists(), G4Scintillation::GetScintillationYieldByParticleType(), G4UCNMaterialPropertiesTable::InitMicroRoughnessTables(), G4Scintillation::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4OpWLS2::PostStepDoIt(), and G4UCNMaterialPropertiesTable::SetMicroRoughnessParameters().
void G4MaterialPropertiesTable::DumpTable | ( | ) | const |
Definition at line 516 of file G4MaterialPropertiesTable.cc.
References fMatConstPropNames, fMatPropNames, fMCP, fMP, G4cout, and G4endl.
|
inline |
Definition at line 159 of file G4MaterialPropertiesTable.hh.
References fMCP.
Referenced by G4GDMLWriteMaterials::PropertyWrite(), and G4GDMLWriteSolids::PropertyWrite().
G4double G4MaterialPropertiesTable::GetConstProperty | ( | const char * | key | ) | const |
Definition at line 226 of file G4MaterialPropertiesTable.cc.
References GetConstProperty(), and GetConstPropertyIndex().
Definition at line 204 of file G4MaterialPropertiesTable.cc.
References FatalException, fMCP, and G4Exception().
Definition at line 218 of file G4MaterialPropertiesTable.cc.
References GetConstProperty(), and GetConstPropertyIndex().
Referenced by G4OpRayleigh::CalculateRayleighMeanFreePaths(), G4UCNMaterialPropertiesTable::ComputeMicroRoughnessTables(), GetConstProperty(), G4UCNAbsorption::GetMeanFreePath(), G4UCNLoss::GetMeanFreePath(), G4UCNMultiScattering::GetMeanFreePath(), G4Scintillation::GetScintillationYieldByParticleType(), G4UCNMaterialPropertiesTable::InitMicroRoughnessTables(), G4UCNBoundaryProcess::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpMieHG::PostStepDoIt(), G4OpWLS::PostStepDoIt(), and G4OpWLS2::PostStepDoIt().
Definition at line 171 of file G4MaterialPropertiesTable.cc.
References FatalException, fMatConstPropNames, and G4Exception().
Referenced by AddConstProperty(), GetConstProperty(), and RemoveConstProperty().
|
inline |
Definition at line 151 of file G4MaterialPropertiesTable.hh.
References fMatConstPropNames.
Referenced by G4GDMLWriteMaterials::PropertyWrite(), and G4GDMLWriteSolids::PropertyWrite().
|
inline |
Definition at line 147 of file G4MaterialPropertiesTable.hh.
References fMatPropNames.
Referenced by G4GDMLWriteMaterials::PropertyWrite(), and G4GDMLWriteSolids::PropertyWrite().
|
inline |
Definition at line 155 of file G4MaterialPropertiesTable.hh.
References fMP.
Referenced by G4GDMLWriteMaterials::PropertyWrite(), and G4GDMLWriteSolids::PropertyWrite().
G4MaterialPropertyVector * G4MaterialPropertiesTable::GetProperty | ( | const char * | key | ) | const |
Definition at line 276 of file G4MaterialPropertiesTable.cc.
References fMatPropNames, GetProperty(), and GetPropertyIndex().
Referenced by G4Cerenkov::BuildPhysicsTable(), G4Scintillation::BuildPhysicsTable(), G4OpRayleigh::BuildPhysicsTable(), G4OpWLS::BuildPhysicsTable(), G4OpWLS2::BuildPhysicsTable(), CalculateGROUPVEL(), G4OpRayleigh::CalculateRayleighMeanFreePaths(), G4Track::CalculateVelocityForOpticalPhoton(), G4OpAbsorption::GetMeanFreePath(), G4OpMieHG::GetMeanFreePath(), G4OpWLS::GetMeanFreePath(), G4OpWLS2::GetMeanFreePath(), GetProperty(), G4OpBoundaryProcess::GetReflectivity(), G4Scintillation::GetScintillationYieldByParticleType(), G4Cerenkov::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4OpWLS2::PostStepDoIt(), and G4Cerenkov::PostStepGetPhysicalInteractionLength().
G4MaterialPropertyVector * G4MaterialPropertiesTable::GetProperty | ( | const G4int | index | ) | const |
Definition at line 288 of file G4MaterialPropertiesTable.cc.
References fMP.
G4MaterialPropertyVector * G4MaterialPropertiesTable::GetProperty | ( | const G4String & | key | ) | const |
Definition at line 263 of file G4MaterialPropertiesTable.cc.
References fMatPropNames, GetProperty(), and GetPropertyIndex().
Definition at line 189 of file G4MaterialPropertiesTable.cc.
References FatalException, fMatPropNames, and G4Exception().
Referenced by AddEntry(), AddProperty(), GetProperty(), and RemoveProperty().
void G4MaterialPropertiesTable::RemoveConstProperty | ( | const char * | key | ) |
Definition at line 462 of file G4MaterialPropertiesTable.cc.
References RemoveConstProperty().
void G4MaterialPropertiesTable::RemoveConstProperty | ( | const G4String & | key | ) |
Definition at line 455 of file G4MaterialPropertiesTable.cc.
References fMCP, and GetConstPropertyIndex().
Referenced by RemoveConstProperty(), and G4UCNMaterialPropertiesTable::SetMicroRoughnessParameters().
void G4MaterialPropertiesTable::RemoveProperty | ( | const char * | key | ) |
Definition at line 474 of file G4MaterialPropertiesTable.cc.
References RemoveProperty().
void G4MaterialPropertiesTable::RemoveProperty | ( | const G4String & | key | ) |
Definition at line 467 of file G4MaterialPropertiesTable.cc.
References fMP, and GetPropertyIndex().
Referenced by CalculateGROUPVEL(), and RemoveProperty().
|
private |
Definition at line 182 of file G4MaterialPropertiesTable.hh.
Referenced by AddConstProperty(), ConstPropertyExists(), DumpTable(), G4MaterialPropertiesTable(), GetConstPropertyIndex(), and GetMaterialConstPropertyNames().
|
private |
Definition at line 181 of file G4MaterialPropertiesTable.hh.
Referenced by AddEntry(), AddProperty(), DumpTable(), G4MaterialPropertiesTable(), GetMaterialPropertyNames(), GetProperty(), and GetPropertyIndex().
Definition at line 175 of file G4MaterialPropertiesTable.hh.
Referenced by AddConstProperty(), ConstPropertyExists(), DumpTable(), G4MaterialPropertiesTable(), GetConstProperties(), GetConstProperty(), and RemoveConstProperty().
|
private |
Definition at line 170 of file G4MaterialPropertiesTable.hh.
Referenced by AddEntry(), AddProperty(), CalculateGROUPVEL(), DumpTable(), G4MaterialPropertiesTable(), GetProperties(), GetProperty(), RemoveProperty(), and ~G4MaterialPropertiesTable().