#include <G4tgrMaterial.hh>
Inheritance diagram for G4tgrMaterial:
Public Member Functions | |
G4tgrMaterial () | |
virtual | ~G4tgrMaterial () |
const G4String & | GetName () const |
G4double | GetDensity () const |
G4int | GetNumberOfComponents () const |
const G4String & | GetType () const |
virtual G4double | GetA () const =0 |
virtual G4double | GetZ () const =0 |
virtual const G4String & | GetComponent (G4int i) const =0 |
virtual G4double | GetFraction (G4int i)=0 |
G4double | GetIonisationMeanExcitationEnergy () const |
void | SetIonisationMeanExcitationEnergy (G4double mee) |
G4State | GetState () const |
void | SetState (G4String val) |
G4double | GetTemperature () const |
void | SetTemperature (G4double val) |
G4double | GetPressure () const |
void | SetPressure (G4double val) |
Protected Attributes | |
G4String | theName |
G4double | theDensity |
G4int | theNoComponents |
G4String | theMateType |
G4double | theIonisationMeanExcitationEnergy |
G4State | theState |
G4double | theTemperature |
G4double | thePressure |
Definition at line 45 of file G4tgrMaterial.hh.
G4tgrMaterial::G4tgrMaterial | ( | ) |
Definition at line 40 of file G4tgrMaterial.cc.
00041 : theName("Material"), theDensity(0.), theNoComponents(0), 00042 theMateType("Material"), theIonisationMeanExcitationEnergy(-1.), 00043 theState(kStateUndefined), theTemperature(STP_Temperature), 00044 thePressure(STP_Pressure) 00045 { 00046 }
G4tgrMaterial::~G4tgrMaterial | ( | ) | [virtual] |
virtual G4double G4tgrMaterial::GetA | ( | ) | const [pure virtual] |
Implemented in G4tgrMaterialMixture, and G4tgrMaterialSimple.
Referenced by G4tgbMaterialMixture::GetComponent().
G4double G4tgrMaterial::GetDensity | ( | ) | const [inline] |
Definition at line 56 of file G4tgrMaterial.hh.
References theDensity.
Referenced by G4tgbMaterialSimple::BuildG4Material(), G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), G4tgbMaterialMixtureByNoAtoms::BuildG4Material(), and G4tgbMaterial::GetDensity().
00056 { return theDensity; }
Implemented in G4tgrMaterialMixture, and G4tgrMaterialSimple.
Referenced by G4tgbMaterialMixture::GetFraction().
G4double G4tgrMaterial::GetIonisationMeanExcitationEnergy | ( | ) | const [inline] |
Definition at line 67 of file G4tgrMaterial.hh.
References theIonisationMeanExcitationEnergy.
Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().
00068 { return theIonisationMeanExcitationEnergy; }
const G4String& G4tgrMaterial::GetName | ( | ) | const [inline] |
Definition at line 54 of file G4tgrMaterial.hh.
References theName.
Referenced by G4tgrMaterialFactory::AddMaterialMixture(), G4tgrMaterialFactory::AddMaterialSimple(), G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), G4tgbMaterialMixtureByNoAtoms::BuildG4Material(), G4tgbMaterial::GetName(), and G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight().
00054 { return theName; }
G4int G4tgrMaterial::GetNumberOfComponents | ( | ) | const [inline] |
Definition at line 59 of file G4tgrMaterial.hh.
References theNoComponents.
Referenced by G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), G4tgbMaterialMixtureByNoAtoms::BuildG4Material(), G4tgbMaterial::GetNumberOfMaterials(), and G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight().
00059 { return theNoComponents; }
G4double G4tgrMaterial::GetPressure | ( | ) | const [inline] |
Definition at line 79 of file G4tgrMaterial.hh.
References thePressure.
Referenced by G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), and G4tgbMaterialMixtureByNoAtoms::BuildG4Material().
00079 { return thePressure; }
G4State G4tgrMaterial::GetState | ( | ) | const [inline] |
Definition at line 73 of file G4tgrMaterial.hh.
References theState.
Referenced by G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), and G4tgbMaterialMixtureByNoAtoms::BuildG4Material().
00073 { return theState; }
G4double G4tgrMaterial::GetTemperature | ( | ) | const [inline] |
Definition at line 76 of file G4tgrMaterial.hh.
References theTemperature.
Referenced by G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), and G4tgbMaterialMixtureByNoAtoms::BuildG4Material().
00076 { return theTemperature; }
const G4String& G4tgrMaterial::GetType | ( | void | ) | const [inline] |
Definition at line 60 of file G4tgrMaterial.hh.
References theMateType.
Referenced by G4tgbMaterial::GetType().
00060 { return theMateType; }
virtual G4double G4tgrMaterial::GetZ | ( | ) | const [pure virtual] |
void G4tgrMaterial::SetIonisationMeanExcitationEnergy | ( | G4double | mee | ) | [inline] |
Definition at line 70 of file G4tgrMaterial.hh.
References theIonisationMeanExcitationEnergy.
Referenced by G4tgrLineProcessor::ProcessLine().
00071 { theIonisationMeanExcitationEnergy = mee; }
void G4tgrMaterial::SetPressure | ( | G4double | val | ) | [inline] |
Definition at line 80 of file G4tgrMaterial.hh.
References thePressure.
Referenced by G4tgrLineProcessor::ProcessLine().
00080 { thePressure = val; }
void G4tgrMaterial::SetState | ( | G4String | val | ) |
Definition at line 56 of file G4tgrMaterial.cc.
References FatalErrorInArgument, G4Exception(), kStateGas, kStateLiquid, kStateSolid, kStateUndefined, and theState.
Referenced by G4tgrLineProcessor::ProcessLine().
00057 { 00058 if( val == "Undefined" ) { 00059 theState = kStateUndefined; 00060 } else if( val == "Solid" ) { 00061 theState = kStateSolid; 00062 } else if( val == "Liquid" ) { 00063 theState = kStateLiquid; 00064 } else if( val == "Gas" ) { 00065 theState = kStateGas; 00066 } else { 00067 00068 G4Exception("G4tgrMaterial::SetState", "Wrong state", FatalErrorInArgument, 00069 "Only possible states are Undefined/Solid/Liquid/Gas!"); 00070 } 00071 }
void G4tgrMaterial::SetTemperature | ( | G4double | val | ) | [inline] |
Definition at line 77 of file G4tgrMaterial.hh.
References theTemperature.
Referenced by G4tgrLineProcessor::ProcessLine().
00077 { theTemperature = val; }
G4double G4tgrMaterial::theDensity [protected] |
Definition at line 85 of file G4tgrMaterial.hh.
Referenced by G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), GetDensity(), and operator<<().
Definition at line 88 of file G4tgrMaterial.hh.
Referenced by GetIonisationMeanExcitationEnergy(), and SetIonisationMeanExcitationEnergy().
G4String G4tgrMaterial::theMateType [protected] |
Definition at line 87 of file G4tgrMaterial.hh.
Referenced by G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), and GetType().
G4String G4tgrMaterial::theName [protected] |
Definition at line 84 of file G4tgrMaterial.hh.
Referenced by G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), GetName(), and operator<<().
G4int G4tgrMaterial::theNoComponents [protected] |
Definition at line 86 of file G4tgrMaterial.hh.
Referenced by G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), GetNumberOfComponents(), and operator<<().
G4double G4tgrMaterial::thePressure [protected] |
G4State G4tgrMaterial::theState [protected] |
G4double G4tgrMaterial::theTemperature [protected] |
Definition at line 90 of file G4tgrMaterial.hh.
Referenced by GetTemperature(), and SetTemperature().