Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4tgrMaterial Class Referenceabstract

#include <G4tgrMaterial.hh>

Inheritance diagram for G4tgrMaterial:
Collaboration diagram for G4tgrMaterial:

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.

Here is the caller graph for this function:

virtual const G4String& G4tgrMaterial::GetComponent ( G4int  i) const
pure virtual

Implemented in G4tgrMaterialSimple, and G4tgrMaterialMixture.

Here is the caller graph for this function:

G4double G4tgrMaterial::GetDensity ( ) const
inline

Definition at line 56 of file G4tgrMaterial.hh.

56 { return theDensity; }
G4double theDensity

Here is the caller graph for this function:

virtual G4double G4tgrMaterial::GetFraction ( G4int  i)
pure virtual

Implemented in G4tgrMaterialSimple, and G4tgrMaterialMixture.

Here is the caller graph for this function:

G4double G4tgrMaterial::GetIonisationMeanExcitationEnergy ( ) const
inline

Definition at line 67 of file G4tgrMaterial.hh.

G4double theIonisationMeanExcitationEnergy

Here is the caller graph for this function:

const G4String& G4tgrMaterial::GetName ( void  ) const
inline

Definition at line 54 of file G4tgrMaterial.hh.

54 { return theName; }
G4String theName

Here is the caller graph for this function:

G4int G4tgrMaterial::GetNumberOfComponents ( ) const
inline

Definition at line 59 of file G4tgrMaterial.hh.

59 { return theNoComponents; }
G4int theNoComponents

Here is the caller graph for this function:

G4double G4tgrMaterial::GetPressure ( ) const
inline

Definition at line 79 of file G4tgrMaterial.hh.

79 { return thePressure; }
G4double thePressure

Here is the caller graph for this function:

G4State G4tgrMaterial::GetState ( ) const
inline

Definition at line 73 of file G4tgrMaterial.hh.

73 { return theState; }
G4State theState

Here is the caller graph for this function:

G4double G4tgrMaterial::GetTemperature ( ) const
inline

Definition at line 76 of file G4tgrMaterial.hh.

76 { return theTemperature; }
G4double theTemperature

Here is the caller graph for this function:

const G4String& G4tgrMaterial::GetType ( ) const
inline

Definition at line 60 of file G4tgrMaterial.hh.

60 { return theMateType; }
G4String theMateType

Here is the caller graph for this function:

virtual G4double G4tgrMaterial::GetZ ( ) const
pure virtual

Implemented in G4tgrMaterialMixture, and G4tgrMaterialSimple.

Here is the caller graph for this function:

void G4tgrMaterial::SetIonisationMeanExcitationEnergy ( G4double  mee)
inline

Definition at line 70 of file G4tgrMaterial.hh.

G4double theIonisationMeanExcitationEnergy

Here is the caller graph for this function:

void G4tgrMaterial::SetPressure ( G4double  val)
inline

Definition at line 80 of file G4tgrMaterial.hh.

80 { thePressure = val; }
G4double thePressure

Here is the caller graph for this function:

void G4tgrMaterial::SetState ( G4String  val)

Definition at line 56 of file G4tgrMaterial.cc.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void G4tgrMaterial::SetTemperature ( G4double  val)
inline

Definition at line 77 of file G4tgrMaterial.hh.

77 { theTemperature = val; }
G4double theTemperature

Here is the caller graph for this function:

Member Data Documentation

G4double G4tgrMaterial::theDensity
protected

Definition at line 85 of file G4tgrMaterial.hh.

G4double G4tgrMaterial::theIonisationMeanExcitationEnergy
protected

Definition at line 88 of file G4tgrMaterial.hh.

G4String G4tgrMaterial::theMateType
protected

Definition at line 87 of file G4tgrMaterial.hh.

G4String G4tgrMaterial::theName
protected

Definition at line 84 of file G4tgrMaterial.hh.

G4int G4tgrMaterial::theNoComponents
protected

Definition at line 86 of file G4tgrMaterial.hh.

G4double G4tgrMaterial::thePressure
protected

Definition at line 91 of file G4tgrMaterial.hh.

G4State G4tgrMaterial::theState
protected

Definition at line 89 of file G4tgrMaterial.hh.

G4double G4tgrMaterial::theTemperature
protected

Definition at line 90 of file G4tgrMaterial.hh.


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