Geant4  10.01.p02
exrdmMaterial Class Reference

#include <exrdmMaterial.hh>

+ Collaboration diagram for exrdmMaterial:

Public Member Functions

 exrdmMaterial ()
 
 ~exrdmMaterial ()
 
void AddMaterial (G4String, G4String, G4double, G4String, G4double tem=CLHEP::STP_Temperature, G4double pres=CLHEP::STP_Pressure)
 
G4MaterialGetMaterial (G4int i)
 
G4MaterialGetMaterial (G4String name)
 
G4int GetMaterialIndex (G4String)
 
G4int GetNbOfMaterial ()
 
void DeleteMaterial (G4int)
 
void DeleteMaterial (G4String)
 
void ListMaterial ()
 

Private Attributes

exrdmMaterialMessengerfMaterialMessenger
 
std::vector< G4Material * > fMaterial
 
std::vector< G4Element * > fElement
 
std::vector< G4Isotope * > fIsotope
 

Static Private Attributes

static const G4String fELU [110]
 
static const G4String fELL [110]
 
static const G4String fEUU [110]
 
static const G4double fA [110]
 

Detailed Description

Definition at line 41 of file exrdmMaterial.hh.

Constructor & Destructor Documentation

exrdmMaterial::exrdmMaterial ( )

Definition at line 46 of file exrdmMaterial.cc.

References AddMaterial(), cm3, density, fElement, fIsotope, fMaterial, fMaterialMessenger, g, kelvin, mg, and pascal.

+ Here is the call graph for this function:

exrdmMaterial::~exrdmMaterial ( )

Definition at line 85 of file exrdmMaterial.cc.

References fMaterialMessenger.

Member Function Documentation

void exrdmMaterial::AddMaterial ( G4String  name,
G4String  formula,
G4double  density,
G4String  state,
G4double  tem = CLHEP::STP_Temperature,
G4double  pres = CLHEP::STP_Pressure 
)

Definition at line 91 of file exrdmMaterial.cc.

References G4Material::AddElement(), G4Element::AddIsotope(), cm3, fA, fElement, fELL, fELU, fEUU, fIsotope, fMaterial, g, G4cerr, G4cout, G4endl, G4Element::GetElement(), G4Isotope::GetIsotope(), kStateGas, kStateSolid, mole, name, perCent, and G4InuclParticleNames::s0.

Referenced by exrdmDetectorConstruction::DefineMaterials(), exrdmMaterial(), and exrdmMaterialMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void exrdmMaterial::DeleteMaterial ( G4int  j)

Definition at line 285 of file exrdmMaterial.cc.

References fMaterial, G4cerr, and G4endl.

Referenced by exrdmMaterialMessenger::SetNewValue().

+ Here is the caller graph for this function:

void exrdmMaterial::DeleteMaterial ( G4String  )

Definition at line 299 of file exrdmMaterial.cc.

References G4cerr, and G4endl.

G4Material* exrdmMaterial::GetMaterial ( G4int  i)
inline

Definition at line 53 of file exrdmMaterial.hh.

References fMaterial.

Referenced by exrdmDetectorConstruction::DefineMaterials().

+ Here is the caller graph for this function:

G4Material* exrdmMaterial::GetMaterial ( G4String  name)
inline

Definition at line 54 of file exrdmMaterial.hh.

References G4Material::GetMaterial().

+ Here is the call graph for this function:

G4int exrdmMaterial::GetMaterialIndex ( G4String  name)

Definition at line 307 of file exrdmMaterial.cc.

References fMaterial, and name.

G4int exrdmMaterial::GetNbOfMaterial ( )
inline

Definition at line 57 of file exrdmMaterial.hh.

References fMaterial.

void exrdmMaterial::ListMaterial ( )

Definition at line 319 of file exrdmMaterial.cc.

References fMaterial, G4BestUnit, G4cout, and G4endl.

Referenced by exrdmMaterialMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

const G4double exrdmMaterial::fA
staticprivate
Initial value:
=
{
1.00794,4.002602,6.941,9.012182,10.811,12.0107,14.00674,15.9994,18.9984,
20.1797,22.98977,24.3050,26.9815,28.0855,30.973761,32.066,35.4527,39.948,
39.0983,40.078,44.95591,47.867,50.9415,51.9961,54.938049,55.845,58.9332,
58.6934,63.546,65.39,69.723,72.61,74.9216,78.96,79.904,83.8,85.4678,87.62,
88.90585,91.224,92.90638,95.94,97.9072,101.07,102.9055,106.42,107.8682,
112.411,114.818,118.71,121.76,127.6,126.90447,131.29,132.90545,137.327,
138.9055,140.116,140.90765,144.24,144.9127,150.36,151.964,157.25,158.92534,
162.5,164.93032,167.26,168.93421,173.04,174.967,178.49,180.9479,183.84,
186.207,190.23,192.217,195.078,196.96655,200.59,
204.3833,207.2,208.98038,208.9824,209.9871,222.0176,223.0197,226.0254,
227.0277,232.038,231.03588,238.0289,237.0482,244.0642,243.0614,247.0703,
247.0703,251.0796,252.083,257.0951,258.0984,259.1011,262.11,263.1125,262.1144,
266.1219,264.1247,269.1341,268.1388,272.1463
}

Definition at line 75 of file exrdmMaterial.hh.

Referenced by AddMaterial().

std::vector<G4Element*> exrdmMaterial::fElement
private

Definition at line 68 of file exrdmMaterial.hh.

Referenced by AddMaterial(), and exrdmMaterial().

const G4String exrdmMaterial::fELL
staticprivate
Initial value:
=
{
" h","he","li","be"," b"," c"," n"," o"," f","ne",
"na","mg","al","si"," p"," s","cl","ar"," k","ca",
"sc","ti"," v","cr","mn","fe","co","ni","cu","zn",
"ga","ge","as","se","br","kr","rb","sr"," y","zr",
"nb","mo","tc","ru","rh","pd","ag","cd","in","sn",
"sb","te"," i","xe","cs","ba","la","ce","pr","nd",
"pm","sm","eu","gd","tb","dy","ho","er","tm","yb",
"lu","hf","ta"," w","re","os","ir","pt","au","hg",
"tl","pb","bi","po","at","rn","fr","ra","ac","th",
"pa"," u","np","pu","am","cm","bk","cf","es","fm",
"md","no","lr","rf","db","sg","bh","hs","mt","un"
}

Definition at line 73 of file exrdmMaterial.hh.

Referenced by AddMaterial().

const G4String exrdmMaterial::fELU
staticprivate
Initial value:
=
{
" H","He","Li","Be"," B"," C"," N"," O"," F","Ne",
"Na","Mg","Al","Si"," P"," S","Cl","Ar"," K","Ca",
"Sc","Ti"," V","Cr","Mn","Fe","Co","Ni","Cu","Zn",
"Ga","Ge","As","Se","Br","Kr","Rb","Sr"," Y","Zr",
"Nb","Mo","Tc","Ru","Rh","Pd","Ag","Cd","In","Sn",
"Sb","Te"," I","Xe","Cs","Ba","La","Ce","Pr","Nd",
"Pm","Sm","Eu","Gd","Tb","Dy","Ho","Er","Tm","Yb",
"Lu","Hf","Ta"," W","Re","Os","Ir","Pt","Au","Hg",
"Tl","Pb","Bi","Po","At","Rn","Fr","Ra","Ac","Th",
"Pa"," U","Np","Pu","Am","Cm","Bk","Cf","Es","Fm",
"Md","No","Lr","Rf","Db","Sg","Bh","Hs","Mt","UN"
}

Definition at line 72 of file exrdmMaterial.hh.

Referenced by AddMaterial().

const G4String exrdmMaterial::fEUU
staticprivate
Initial value:
=
{
" H","HE","LI","BE"," B"," C"," N"," O"," F","NE",
"NA","MG","AL","SI"," P"," S","CL","AR"," K","CA",
"SC","TI"," V","CR","MN","FE","CO","NI","CU","ZN",
"GA","GE","AS","SE","BR","KR","RB","SR"," Y","ZR",
"NB","MO","TC","RU","RH","PD","AG","CD","IN","SN",
"SB","TE"," I","XE","CS","BA","LA","CE","PR","ND",
"PM","SM","EU","GD","TB","DY","HO","ER","TM","YB",
"LU","HF","TA"," W","RE","OS","IR","PT","AU","HG",
"TL","PB","BI","PO","AT","RN","FR","RA","AC","TH",
"PA"," U","NP","PU","AM","CM","BK","CF","ES","FM",
"MD","NO","LR","RF","DB","SG","BH","HS","MT","UN"
}

Definition at line 74 of file exrdmMaterial.hh.

Referenced by AddMaterial().

std::vector<G4Isotope*> exrdmMaterial::fIsotope
private

Definition at line 69 of file exrdmMaterial.hh.

Referenced by AddMaterial(), and exrdmMaterial().

std::vector<G4Material*> exrdmMaterial::fMaterial
private
exrdmMaterialMessenger* exrdmMaterial::fMaterialMessenger
private

Definition at line 65 of file exrdmMaterial.hh.

Referenced by exrdmMaterial(), and ~exrdmMaterial().


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