Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4tgrMaterial Class Referenceabstract

#include <G4tgrMaterial.hh>

Inheritance diagram for G4tgrMaterial:
G4tgrMaterialMixture G4tgrMaterialSimple

Public Member Functions

 G4tgrMaterial ()
 
virtual ~G4tgrMaterial ()
 
const G4StringGetName () const
 
G4double GetDensity () const
 
G4int GetNumberOfComponents () const
 
const G4StringGetType () const
 
virtual G4double GetA () const =0
 
virtual G4double GetZ () const =0
 
virtual const G4StringGetComponent (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
 

Detailed Description

Definition at line 45 of file G4tgrMaterial.hh.

Constructor & Destructor Documentation

G4tgrMaterial::G4tgrMaterial ( )

Definition at line 40 of file G4tgrMaterial.cc.

41  : theName("Material"), theDensity(0.), theNoComponents(0),
45 {
46 }
float STP_Temperature
Definition: hepunit.py:302
G4double theDensity
G4String theName
G4int theNoComponents
G4State theState
G4double theIonisationMeanExcitationEnergy
G4double theTemperature
G4String theMateType
G4double thePressure
int STP_Pressure
Definition: hepunit.py:303
G4tgrMaterial::~G4tgrMaterial ( )
virtual

Definition at line 50 of file G4tgrMaterial.cc.

51 {
52 }

Member Function Documentation

virtual G4double G4tgrMaterial::GetA ( ) const
pure virtual

Implemented in G4tgrMaterialMixture, and G4tgrMaterialSimple.

Referenced by G4tgbMaterial::GetA().

virtual const G4String& G4tgrMaterial::GetComponent ( G4int  i) const
pure virtual
G4double G4tgrMaterial::GetDensity ( ) const
inline
virtual G4double G4tgrMaterial::GetFraction ( G4int  i)
pure virtual
G4double G4tgrMaterial::GetIonisationMeanExcitationEnergy ( ) const
inline

Definition at line 67 of file G4tgrMaterial.hh.

References theIonisationMeanExcitationEnergy.

Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().

G4double theIonisationMeanExcitationEnergy
const G4String& G4tgrMaterial::GetName ( void  ) const
inline
G4int G4tgrMaterial::GetNumberOfComponents ( ) const
inline
G4double G4tgrMaterial::GetPressure ( ) const
inline
G4State G4tgrMaterial::GetState ( ) const
inline
G4double G4tgrMaterial::GetTemperature ( ) const
inline
const G4String& G4tgrMaterial::GetType ( ) const
inline
virtual G4double G4tgrMaterial::GetZ ( ) const
pure virtual

Implemented in G4tgrMaterialMixture, and G4tgrMaterialSimple.

Referenced by G4tgbMaterial::GetZ().

void G4tgrMaterial::SetIonisationMeanExcitationEnergy ( G4double  mee)
inline

Definition at line 70 of file G4tgrMaterial.hh.

References theIonisationMeanExcitationEnergy.

Referenced by G4tgrLineProcessor::ProcessLine().

G4double theIonisationMeanExcitationEnergy
void G4tgrMaterial::SetPressure ( G4double  val)
inline

Definition at line 80 of file G4tgrMaterial.hh.

References thePressure.

Referenced by G4tgrLineProcessor::ProcessLine().

80 { thePressure = val; }
G4double thePressure
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().

57 {
58  if( val == "Undefined" ) {
60  } else if( val == "Solid" ) {
62  } else if( val == "Liquid" ) {
64  } else if( val == "Gas" ) {
66  } else {
67 
68  G4Exception("G4tgrMaterial::SetState", "Wrong state", FatalErrorInArgument,
69  "Only possible states are Undefined/Solid/Liquid/Gas!");
70  }
71 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4State theState
void G4tgrMaterial::SetTemperature ( G4double  val)
inline

Definition at line 77 of file G4tgrMaterial.hh.

References theTemperature.

Referenced by G4tgrLineProcessor::ProcessLine().

77 { theTemperature = val; }
G4double theTemperature

Field Documentation

G4double G4tgrMaterial::theDensity
protected
G4double G4tgrMaterial::theIonisationMeanExcitationEnergy
protected
G4String G4tgrMaterial::theMateType
protected
G4String G4tgrMaterial::theName
protected
G4int G4tgrMaterial::theNoComponents
protected
G4double G4tgrMaterial::thePressure
protected

Definition at line 91 of file G4tgrMaterial.hh.

Referenced by GetPressure(), and SetPressure().

G4State G4tgrMaterial::theState
protected

Definition at line 89 of file G4tgrMaterial.hh.

Referenced by GetState(), and SetState().

G4double G4tgrMaterial::theTemperature
protected

Definition at line 90 of file G4tgrMaterial.hh.

Referenced by GetTemperature(), and SetTemperature().


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