Geant4  10.03
G4MaterialPropertiesTable Class Reference

#include <G4MaterialPropertiesTable.hh>

+ Inheritance diagram for G4MaterialPropertiesTable:

Public Member Functions

 G4MaterialPropertiesTable ()
 
virtual ~G4MaterialPropertiesTable ()
 
void AddConstProperty (const char *key, G4double PropertyValue)
 
G4MaterialPropertyVectorAddProperty (const char *key, G4double *PhotonEnergies, G4double *PropertyValues, G4int NumEntries)
 
void AddProperty (const char *key, G4MaterialPropertyVector *opv)
 
void RemoveConstProperty (const char *key)
 
void RemoveProperty (const char *key)
 
G4double GetConstProperty (const char *key) const
 
G4bool ConstPropertyExists (const char *key) const
 
G4MaterialPropertyVectorGetProperty (const char *key)
 
void AddEntry (const char *key, G4double aPhotonEnergy, G4double aPropertyValue)
 
void DumpTable ()
 
const std::map< G4String,
G4MaterialPropertyVector
*, std::less< G4String > > * 
GetPropertiesMap () const
 
const std::map< G4String,
G4double, std::less< G4String > > * 
GetPropertiesCMap () const
 

Private Types

typedef std::map< G4String,
G4MaterialPropertyVector
*, std::less< G4String >
>::const_iterator 
MPTiterator
 
typedef std::map< G4String,
G4double, std::less< G4String >
>::const_iterator 
MPTCiterator
 

Private Member Functions

G4MaterialPropertyVectorSetGROUPVEL ()
 

Private Attributes

std::map< G4String,
G4MaterialPropertyVector
*, std::less< G4String > > 
MPT
 
std::map< G4String, G4double,
std::less< G4String > > 
MPTC
 

Detailed Description

Definition at line 70 of file G4MaterialPropertiesTable.hh.

Member Typedef Documentation

typedef std::map< G4String, G4double, std::less<G4String> >::const_iterator G4MaterialPropertiesTable::MPTCiterator
private

Definition at line 135 of file G4MaterialPropertiesTable.hh.

typedef std::map< G4String, G4MaterialPropertyVector*, std::less<G4String> >::const_iterator G4MaterialPropertiesTable::MPTiterator
private

Definition at line 131 of file G4MaterialPropertiesTable.hh.

Constructor & Destructor Documentation

G4MaterialPropertiesTable::G4MaterialPropertiesTable ( )

Definition at line 58 of file G4MaterialPropertiesTable.cc.

G4MaterialPropertiesTable::~G4MaterialPropertiesTable ( )
virtual

Definition at line 66 of file G4MaterialPropertiesTable.cc.

References G4cout, G4endl, MPT, and MPTC.

Member Function Documentation

void G4MaterialPropertiesTable::AddConstProperty ( const char *  key,
G4double  PropertyValue 
)
inline
void G4MaterialPropertiesTable::AddEntry ( const char *  key,
G4double  aPhotonEnergy,
G4double  aPropertyValue 
)

Definition at line 140 of file G4MaterialPropertiesTable.cc.

References FatalException, G4Exception(), G4PhysicsOrderedFreeVector::InsertValues(), and MPT.

Referenced by UltraDetectorConstruction::ConstructTableMaterials().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MaterialPropertiesTable::AddProperty ( const char *  key,
G4MaterialPropertyVector opv 
)
inline
G4bool G4MaterialPropertiesTable::ConstPropertyExists ( const char *  key) const

Definition at line 95 of file G4MaterialPropertiesTable.cc.

References MPTC.

Referenced by G4OpRayleigh::CalculateRayleighMeanFreePaths(), G4UCNMaterialPropertiesTable::InitMicroRoughnessTables(), G4OpWLS::PostStepDoIt(), and G4UCNMaterialPropertiesTable::SetMicroRoughnessParameters().

+ Here is the caller graph for this function:

void G4MaterialPropertiesTable::DumpTable ( )

Definition at line 159 of file G4MaterialPropertiesTable.cc.

References G4cout, G4endl, G4Exception(), JustWarning, MPT, and MPTC.

Referenced by OpNoviceDetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MaterialPropertiesTable::GetConstProperty ( const char *  key) const

Definition at line 82 of file G4MaterialPropertiesTable.cc.

References FatalException, G4cout, G4endl, G4Exception(), and MPTC.

Referenced by G4OpRayleigh::CalculateRayleighMeanFreePaths(), G4UCNMaterialPropertiesTable::ComputeMicroRoughnessTables(), G4UCNLoss::GetMeanFreePath(), G4UCNMultiScattering::GetMeanFreePath(), G4UCNAbsorption::GetMeanFreePath(), G4UCNMaterialPropertiesTable::InitMicroRoughnessTables(), G4OpMieHG::PostStepDoIt(), and G4UCNBoundaryProcess::PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::map< G4String, G4double, std::less<G4String> >* G4MaterialPropertiesTable::GetPropertiesCMap ( ) const
inline

Definition at line 120 of file G4MaterialPropertiesTable.hh.

References MPTC.

Referenced by G4GDMLWriteMaterials::PropertyWrite().

+ Here is the caller graph for this function:

const std::map< G4String, G4MaterialPropertyVector*, std::less<G4String> >* G4MaterialPropertiesTable::GetPropertiesMap ( ) const
inline

Definition at line 118 of file G4MaterialPropertiesTable.hh.

References MPT.

Referenced by G4GDMLWriteMaterials::PropertyWrite().

+ Here is the caller graph for this function:

G4MaterialPropertyVector * G4MaterialPropertiesTable::GetProperty ( const char *  key)
void G4MaterialPropertiesTable::RemoveConstProperty ( const char *  key)
inline

Referenced by G4UCNMaterialPropertiesTable::SetMicroRoughnessParameters().

+ Here is the caller graph for this function:

void G4MaterialPropertiesTable::RemoveProperty ( const char *  key)
inline
G4MaterialPropertyVector * G4MaterialPropertiesTable::SetGROUPVEL ( )
private

Definition at line 198 of file G4MaterialPropertiesTable.cc.

References AddProperty(), FatalException, G4Exception(), G4Log(), G4PhysicsOrderedFreeVector::InsertValues(), and MPT.

Referenced by GetProperty().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String, G4MaterialPropertyVector*, std::less<G4String> > G4MaterialPropertiesTable::MPT
private
std::map< G4String, G4double, std::less<G4String> > G4MaterialPropertiesTable::MPTC
private

The documentation for this class was generated from the following files: