Geant4_10
|
#include <CCalMaterialFactory.hh>
Public Types | |
enum | MatDescription { byWeight, byVolume, byAtomic } |
Public Member Functions | |
~CCalMaterialFactory () | |
G4Material * | findMaterial (const G4String &) const |
G4Element * | findElement (const G4String &) const |
G4Element * | addElement (const G4String &, const G4String &, G4double, G4double, G4double) |
G4Material * | addMaterial (const G4String &nam, G4double density, G4int nconst, G4String mats[], G4double prop[], MatDescription md=byWeight) |
void | readElements (const G4String &) |
void | readMaterials (const G4String &) |
Static Public Member Functions | |
static CCalMaterialFactory * | getInstance (const G4String &, const G4String &) |
static CCalMaterialFactory * | getInstance (const G4String &) |
static CCalMaterialFactory * | getInstance () |
Protected Member Functions | |
void | readElements (std::ifstream &) |
void | readMaterials (std::ifstream &) |
Definition at line 47 of file CCalMaterialFactory.hh.
Enumerator | |
---|---|
byWeight | |
byVolume | |
byAtomic |
Definition at line 49 of file CCalMaterialFactory.hh.
CCalMaterialFactory::~CCalMaterialFactory | ( | ) |
Definition at line 96 of file CCalMaterialFactory.cc.
G4Element * CCalMaterialFactory::addElement | ( | const G4String & | name, |
const G4String & | symbol, | ||
G4double | Z, | ||
G4double | A, | ||
G4double | density | ||
) |
Definition at line 160 of file CCalMaterialFactory.cc.
G4Material * CCalMaterialFactory::addMaterial | ( | const G4String & | nam, |
G4double | density, | ||
G4int | nconst, | ||
G4String | mats[], | ||
G4double | prop[], | ||
MatDescription | md = byWeight |
||
) |
Definition at line 147 of file CCalMaterialFactory.cc.
G4Material * CCalMaterialFactory::findMaterial | ( | const G4String & | mat | ) | const |
Definition at line 111 of file CCalMaterialFactory.cc.
|
static |
|
static |
|
static |
|
protected |
|
protected |