Public Member Functions | |
~BDSMaterials () | |
void | PrepareRequiredMaterials () |
converts parser material list | |
void | AddElement (G4Element *aElement, G4String aName) |
void | AddElement (G4String aName, G4String aSymbol, G4double itsZ, G4double itsA) |
G4Material * | GetMaterial (G4String aMaterial) |
G4Element * | GetElement (G4String aSymbol) |
G4Element * | GetElement (const char *aSymbol) |
G4bool | CheckMaterial (G4String aMaterial) |
G4bool | CheckElement (G4String aSymbol) |
void | AddMaterial (G4Material *aMaterial, G4String aName) |
void | AddMaterial (G4String aName, G4double itsZ, G4double itsA, G4double itsDensity, G4State itsState, G4double itsTemp, G4double itsPressure) |
template<typename Type> | |
void | AddMaterial (G4String aName, G4double itsDensity, G4State itsState, G4double itsTemp, G4double itsPressure, std::list< const char * > itsComponents, std::list< Type > itsComponentsFractions) |
Static Public Member Functions | |
static BDSMaterials * | Instance () |
static void | ListMaterials () |
output available materials | |
Protected Member Functions | |
BDSMaterials () | |
Protected Attributes | |
std::map< G4String, G4Material * > | materials |
std::map< G4String, G4Element * > | elements |
Private Member Functions | |
void | Initialise () |
Private Attributes | |
G4MaterialPropertiesTable * | airMaterialPropertiesTable |
G4MaterialPropertiesTable * | celluloseMaterialPropertiesTable |
G4MaterialPropertiesTable * | fsMaterialPropertiesTable |
G4MaterialPropertiesTable * | petMaterialPropertiesTable |
G4MaterialPropertiesTable * | vacMaterialPropertiesTable |
Static Private Attributes | |
static BDSMaterials * | _instance = 0 |
Definition at line 17 of file BDSMaterials.hh.
void BDSMaterials::AddMaterial | ( | G4String | aName, | |
G4double | itsDensity, | |||
G4State | itsState, | |||
G4double | itsTemp, | |||
G4double | itsPressure, | |||
std::list< const char * > | itsComponents, | |||
std::list< Type > | itsComponentsFractions | |||
) |
Add materials
[in] | Z | atomic number |
[in] | A | mole mass in g/mole |
[in] | density | in g/cm3 |
[in] | state | solid/gas |
[in] | temp | in kelvin |
[in] | pressure | in atm |
Definition at line 960 of file BDSMaterials.cc.
References CheckElement(), GetElement(), GetMaterial(), and materials.
Here is the call graph for this function:
void BDSMaterials::AddMaterial | ( | G4String | aName, | |
G4double | itsZ, | |||
G4double | itsA, | |||
G4double | itsDensity, | |||
G4State | itsState, | |||
G4double | itsTemp, | |||
G4double | itsPressure | |||
) |
Add materials
[in] | Z | atomic number |
[in] | A | mole mass in g/mole |
[in] | density | in g/cm3 |
[in] | state | solid/gas |
[in] | temp | in kelvin |
[in] | pressure | in atm |
Definition at line 940 of file BDSMaterials.cc.
References materials.
void BDSMaterials::AddMaterial | ( | G4Material * | aMaterial, | |
G4String | aName | |||
) |
Add materials
[in] | Z | atomic number |
[in] | A | mole mass in g/mole |
[in] | density | in g/cm3 |
[in] | state | solid/gas |
[in] | temp | in kelvin |
[in] | pressure | in atm |
Definition at line 925 of file BDSMaterials.cc.
References materials.
Referenced by BDSGeometryLCDD::parseMATERIALS(), and PrepareRequiredMaterials().
Here is the caller graph for this function: