Geant4  10.00.p03
G4DNAMolecularMaterial Class Reference

#include <G4DNAMolecularMaterial.hh>

+ Inheritance diagram for G4DNAMolecularMaterial:
+ Collaboration diagram for G4DNAMolecularMaterial:

Public Member Functions

void DeleteInstance ()
 
void Initialize ()
 
virtual G4bool Notify (G4ApplicationState requestedState)
 
const std::vector< ComponentMap > * GetMassFractionTable () const
 
const std::vector< ComponentMap > * GetDensityTable () const
 
const std::vector< double > * GetDensityTableFor (const G4Material *) const
 
const std::vector< double > * GetNumMolPerVolTableFor (const G4Material *) const
 
- Public Member Functions inherited from G4VStateDependent
 G4VStateDependent (G4bool bottom=false)
 
virtual ~G4VStateDependent ()
 
G4int operator== (const G4VStateDependent &right) const
 
G4int operator!= (const G4VStateDependent &right) const
 

Static Public Member Functions

static G4DNAMolecularMaterialInstance ()
 

Protected Member Functions

 G4DNAMolecularMaterial ()
 
 G4DNAMolecularMaterial (const G4DNAMolecularMaterial &right)
 
G4DNAMolecularMaterialoperator= (const G4DNAMolecularMaterial &)
 
virtual ~G4DNAMolecularMaterial ()
 
void Create ()
 
void InitializeNumMolPerVol ()
 
void InitializeDensity ()
 
void RecordMolecularMaterial (G4Material *parentMaterial, G4Material *molecularMaterial, G4double fraction)
 
void SearchMolecularMaterial (G4Material *parentMaterial, G4Material *material, double currentFraction)
 
void AddMaterial (const G4Material *, double fraction)
 
void PrintNotAMolecularMaterial (const char *methodName, const G4Material *lookForMaterial) const
 

Protected Attributes

std::vector< ComponentMap > * fpCompFractionTable
 
std::vector< ComponentMap > * fpCompDensityTable
 
std::vector< ComponentMap > * fpCompNumMolPerVolTable
 
std::map< const G4Material
*, std::vector< double >
*, CompareMaterial
fAskedDensityTable
 
std::map< const G4Material
*, std::vector< double >
*, CompareMaterial
fAskedNumPerVolTable
 
std::map< const G4Material
*, bool, CompareMaterial
fWarningPrinted
 
G4bool fIsInitialized
 
size_t fNMaterials
 

Static Protected Attributes

static G4DNAMolecularMaterialfInstance
 

Detailed Description

Definition at line 50 of file G4DNAMolecularMaterial.hh.

Constructor & Destructor Documentation

G4DNAMolecularMaterial::G4DNAMolecularMaterial ( )
protected

Definition at line 90 of file G4DNAMolecularMaterial.cc.

References Create(), and fInstance.

+ Here is the call graph for this function:

G4DNAMolecularMaterial::G4DNAMolecularMaterial ( const G4DNAMolecularMaterial right)
protected

Definition at line 102 of file G4DNAMolecularMaterial.cc.

References Create().

+ Here is the call graph for this function:

G4DNAMolecularMaterial::~G4DNAMolecularMaterial ( )
protectedvirtual

Member Function Documentation

void G4DNAMolecularMaterial::AddMaterial ( const G4Material ,
double  fraction 
)
protected
void G4DNAMolecularMaterial::Create ( )
protected

Definition at line 80 of file G4DNAMolecularMaterial.cc.

Referenced by G4DNAMolecularMaterial(), and operator=().

+ Here is the caller graph for this function:

void G4DNAMolecularMaterial::DeleteInstance ( )

Definition at line 74 of file G4DNAMolecularMaterial.cc.

const std::vector< ComponentMap > * G4DNAMolecularMaterial::GetDensityTable ( ) const
inline

Definition at line 99 of file G4DNAMolecularMaterial.hh.

References fpCompDensityTable.

const std::vector< double > * G4DNAMolecularMaterial::GetDensityTableFor ( const G4Material lookForMaterial) const

Definition at line 316 of file G4DNAMolecularMaterial.cc.

References fAskedDensityTable, FatalException, fIsInitialized, fNMaterials, fpCompDensityTable, G4endl, G4Exception(), G4State_Idle, G4Material::GetMaterialTable(), G4StateManager::GetStateManager(), Initialize(), and PrintNotAMolecularMaterial().

Referenced by G4DNABrownianTransportation::BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector< ComponentMap > * G4DNAMolecularMaterial::GetMassFractionTable ( ) const
inline

Definition at line 94 of file G4DNAMolecularMaterial.hh.

References fpCompFractionTable.

void G4DNAMolecularMaterial::Initialize ( )

Definition at line 157 of file G4DNAMolecularMaterial.cc.

References aMutex, fIsInitialized, fNMaterials, fpCompFractionTable, G4Material::GetMaterialTable(), InitializeDensity(), InitializeNumMolPerVol(), and SearchMolecularMaterial().

Referenced by GetDensityTableFor(), GetNumMolPerVolTableFor(), and Notify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularMaterial::InitializeDensity ( )
protected

Definition at line 192 of file G4DNAMolecularMaterial.cc.

References FatalException, fNMaterials, fpCompDensityTable, fpCompFractionTable, G4endl, G4Exception(), and G4Material::GetMaterialTable().

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularMaterial::InitializeNumMolPerVol ( )
protected

Definition at line 231 of file G4DNAMolecularMaterial.cc.

References FatalException, fNMaterials, fpCompDensityTable, fpCompNumMolPerVolTable, G4endl, and G4Exception().

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4DNAMolecularMaterial::Notify ( G4ApplicationState  requestedState)
virtual

Implements G4VStateDependent.

Definition at line 96 of file G4DNAMolecularMaterial.cc.

References G4State_Idle, and Initialize().

+ Here is the call graph for this function:

G4DNAMolecularMaterial & G4DNAMolecularMaterial::operator= ( const G4DNAMolecularMaterial rhs)
protected

Definition at line 107 of file G4DNAMolecularMaterial.cc.

References Create().

+ Here is the call graph for this function:

void G4DNAMolecularMaterial::PrintNotAMolecularMaterial ( const char *  methodName,
const G4Material lookForMaterial 
) const
protected

Definition at line 448 of file G4DNAMolecularMaterial.cc.

References fWarningPrinted, G4endl, G4Exception(), G4Material::GetName(), and JustWarning.

Referenced by GetDensityTableFor(), and GetNumMolPerVolTableFor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularMaterial::RecordMolecularMaterial ( G4Material parentMaterial,
G4Material molecularMaterial,
G4double  fraction 
)
protected

Definition at line 262 of file G4DNAMolecularMaterial.cc.

References G4Material::GetIndex().

Referenced by SearchMolecularMaterial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularMaterial::SearchMolecularMaterial ( G4Material parentMaterial,
G4Material material,
double  currentFraction 
)
protected

Definition at line 284 of file G4DNAMolecularMaterial.cc.

References G4Material::GetMassOfMolecule(), G4Material::GetMatComponents(), and RecordMolecularMaterial().

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<const G4Material*,std::vector<double>*,CompareMaterial> G4DNAMolecularMaterial::fAskedDensityTable
mutableprotected

Definition at line 86 of file G4DNAMolecularMaterial.hh.

Referenced by GetDensityTableFor(), and ~G4DNAMolecularMaterial().

std::map<const G4Material*,std::vector<double>*,CompareMaterial> G4DNAMolecularMaterial::fAskedNumPerVolTable
mutableprotected

Definition at line 87 of file G4DNAMolecularMaterial.hh.

Referenced by GetNumMolPerVolTableFor(), and ~G4DNAMolecularMaterial().

G4DNAMolecularMaterial * G4DNAMolecularMaterial::fInstance
staticprotected

Definition at line 66 of file G4DNAMolecularMaterial.hh.

Referenced by G4DNAMolecularMaterial().

G4bool G4DNAMolecularMaterial::fIsInitialized
protected
size_t G4DNAMolecularMaterial::fNMaterials
protected
std::vector<ComponentMap>* G4DNAMolecularMaterial::fpCompDensityTable
protected
std::vector<ComponentMap>* G4DNAMolecularMaterial::fpCompFractionTable
protected
std::vector<ComponentMap>* G4DNAMolecularMaterial::fpCompNumMolPerVolTable
protected
std::map<const G4Material*,bool,CompareMaterial> G4DNAMolecularMaterial::fWarningPrinted
mutableprotected

Definition at line 88 of file G4DNAMolecularMaterial.hh.

Referenced by PrintNotAMolecularMaterial().


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