Geant4  10.00.p02
G4tgrMaterialMixture Class Reference

#include <G4tgrMaterialMixture.hh>

+ Inheritance diagram for G4tgrMaterialMixture:
+ Collaboration diagram for G4tgrMaterialMixture:

Public Member Functions

 G4tgrMaterialMixture (const G4String &matType, const std::vector< G4String > &wl)
 
G4double GetA () const
 
G4double GetZ () const
 
const G4StringGetComponent (G4int i) const
 
G4double GetFraction (G4int i)
 
G4tgrMaterialMixture operator= (const G4tgrMaterialMixture &)
 
 G4tgrMaterialMixture ()
 
 ~G4tgrMaterialMixture ()
 
- Public Member Functions inherited from G4tgrMaterial
 G4tgrMaterial ()
 
virtual ~G4tgrMaterial ()
 
const G4StringGetName () const
 
G4double GetDensity () const
 
G4int GetNumberOfComponents () const
 
const G4StringGetType () const
 
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 Member Functions

void TransformToFractionsByWeight ()
 

Protected Attributes

std::vector< G4StringtheComponents
 
std::vector< G4doubletheFractions
 
- Protected Attributes inherited from G4tgrMaterial
G4String theName
 
G4double theDensity
 
G4int theNoComponents
 
G4String theMateType
 
G4double theIonisationMeanExcitationEnergy
 
G4State theState
 
G4double theTemperature
 
G4double thePressure
 

Friends

std::ostream & operator<< (std::ostream &, const G4tgrMaterialMixture &)
 

Detailed Description

Definition at line 50 of file G4tgrMaterialMixture.hh.

Constructor & Destructor Documentation

G4tgrMaterialMixture::G4tgrMaterialMixture ( const G4String matType,
const std::vector< G4String > &  wl 
)

Definition at line 55 of file G4tgrMaterialMixture.cc.

References G4tgrUtils::CheckWLsize(), cm3, g, G4cout, G4endl, G4tgrUtils::GetDouble(), G4tgrUtils::GetInt(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), theComponents, G4tgrMaterial::theDensity, theFractions, G4tgrMaterial::theMateType, G4tgrMaterial::theName, G4tgrMaterial::theNoComponents, and WLSIZE_GE.

+ Here is the call graph for this function:

G4tgrMaterialMixture::G4tgrMaterialMixture ( )

Definition at line 43 of file G4tgrMaterialMixture.cc.

G4tgrMaterialMixture::~G4tgrMaterialMixture ( )

Definition at line 49 of file G4tgrMaterialMixture.cc.

Member Function Documentation

G4double G4tgrMaterialMixture::GetA ( ) const
inlinevirtual

Implements G4tgrMaterial.

Definition at line 62 of file G4tgrMaterialMixture.hh.

const G4String& G4tgrMaterialMixture::GetComponent ( G4int  i) const
inlinevirtual

Implements G4tgrMaterial.

Definition at line 64 of file G4tgrMaterialMixture.hh.

References theComponents.

G4double G4tgrMaterialMixture::GetFraction ( G4int  i)
inlinevirtual

Implements G4tgrMaterial.

Definition at line 65 of file G4tgrMaterialMixture.hh.

References theFractions.

G4double G4tgrMaterialMixture::GetZ ( ) const
inlinevirtual

Implements G4tgrMaterial.

Definition at line 63 of file G4tgrMaterialMixture.hh.

G4tgrMaterialMixture G4tgrMaterialMixture::operator= ( const G4tgrMaterialMixture )
void G4tgrMaterialMixture::TransformToFractionsByWeight ( )
inlineprotected

Definition at line 76 of file G4tgrMaterialMixture.hh.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrMaterialMixture mate 
)
friend

Definition at line 95 of file G4tgrMaterialMixture.cc.

Member Data Documentation

std::vector<G4String> G4tgrMaterialMixture::theComponents
protected

Definition at line 76 of file G4tgrMaterialMixture.hh.

Referenced by G4tgrMaterialMixture(), GetComponent(), and operator<<().

std::vector<G4double> G4tgrMaterialMixture::theFractions
protected

Definition at line 81 of file G4tgrMaterialMixture.hh.

Referenced by G4tgrMaterialMixture(), GetFraction(), and operator<<().


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