Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CCalMaterialFactory Class Reference

#include <CCalMaterialFactory.hh>

Public Types

enum  MatDescription { byWeight, byVolume, byAtomic }
 

Public Member Functions

 ~CCalMaterialFactory ()
 
G4MaterialfindMaterial (const G4String &) const
 
G4ElementfindElement (const G4String &) const
 
G4ElementaddElement (const G4String &, const G4String &, G4double, G4double, G4double)
 
G4MaterialaddMaterial (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 CCalMaterialFactorygetInstance (const G4String &, const G4String &)
 
static CCalMaterialFactorygetInstance (const G4String &)
 
static CCalMaterialFactorygetInstance ()
 

Protected Member Functions

void readElements (std::ifstream &)
 
void readMaterials (std::ifstream &)
 

Detailed Description

Definition at line 47 of file CCalMaterialFactory.hh.

Member Enumeration Documentation

Enumerator
byWeight 
byVolume 
byAtomic 

Definition at line 49 of file CCalMaterialFactory.hh.

Constructor & Destructor Documentation

CCalMaterialFactory::~CCalMaterialFactory ( )

Definition at line 96 of file CCalMaterialFactory.cc.

Member Function Documentation

G4Element * CCalMaterialFactory::addElement ( const G4String name,
const G4String symbol,
G4double  Z,
G4double  A,
G4double  density 
)

Definition at line 160 of file CCalMaterialFactory.cc.

Here is the caller graph for this function:

G4Material * CCalMaterialFactory::addMaterial ( const G4String nam,
G4double  density,
G4int  nconst,
G4String  mats[],
G4double  prop[],
MatDescription  md = byWeight 
)

Definition at line 177 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

G4Element * CCalMaterialFactory::findElement ( const G4String mat) const

Definition at line 147 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Material * CCalMaterialFactory::findMaterial ( const G4String mat) const

Definition at line 111 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

CCalMaterialFactory * CCalMaterialFactory::getInstance ( const G4String matfile,
const G4String mixfile 
)
static

Definition at line 53 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

CCalMaterialFactory * CCalMaterialFactory::getInstance ( const G4String matfile)
static

Definition at line 74 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

CCalMaterialFactory * CCalMaterialFactory::getInstance ( )
static

Definition at line 79 of file CCalMaterialFactory.cc.

Here is the caller graph for this function:

void CCalMaterialFactory::readElements ( const G4String matfile)

Definition at line 188 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

void CCalMaterialFactory::readElements ( std::ifstream &  is)
protected

Definition at line 338 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

void CCalMaterialFactory::readMaterials ( const G4String matfile)

Definition at line 208 of file CCalMaterialFactory.cc.

Here is the call graph for this function:

void CCalMaterialFactory::readMaterials ( std::ifstream &  is)
protected

Definition at line 365 of file CCalMaterialFactory.cc.

Here is the call graph for this function:


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