Geant4  10.01.p02
G4MoleculeTable Class Reference

#include <G4MoleculeTable.hh>

+ Collaboration diagram for G4MoleculeTable:

Public Member Functions

virtual ~G4MoleculeTable ()
 
G4MoleculeDefinitionCreateMoleculeDefinition (const G4String &, double diffusion_coefficient)
 
G4MoleculeCreateMoleculeModel (const G4String &, G4MoleculeDefinition *, int charge, double diffusion_coefficient=-1)
 
G4MoleculeCreateMoleculeModel (const G4String &, G4MoleculeDefinition *)
 
void RecordMoleculeModel (const G4String &name, G4Molecule *)
 
G4MoleculeDefinitionGetMoleculeDefinition (const G4String &, bool mustExist=true)
 
G4MoleculeGetMoleculeModel (const G4String &, bool mustExist=true)
 
G4MoleculeGetMoleculeModel (G4int id)
 
void Insert (G4MoleculeDefinition *)
 
G4MoleculeDefinitionIterator GetDefintionIterator ()
 
G4MoleculeModelIterator GetModelIterator ()
 

Static Public Member Functions

static G4MoleculeTableInstance ()
 
static G4MoleculeTableGetMoleculeTable ()
 

Protected Types

typedef std::map< G4String,
G4MoleculeDefinition * > 
MoleculeDefTable
 
typedef std::map< G4String,
G4Molecule * > 
MoleculeTable
 
typedef std::map< G4int,
G4Molecule * > 
MoleculeTablePerID
 

Protected Member Functions

 G4MoleculeTable ()
 

Protected Attributes

MoleculeDefTable fMoleculeDefTable
 
MoleculeTable fMoleculeTable
 
MoleculeTablePerID fMoleculeTablePerID
 

Static Protected Attributes

static G4MoleculeTablefpgMoleculeTable
 

Detailed Description

Definition at line 55 of file G4MoleculeTable.hh.

Member Typedef Documentation

Definition at line 91 of file G4MoleculeTable.hh.

typedef std::map<G4String, G4Molecule*> G4MoleculeTable::MoleculeTable
protected

Definition at line 92 of file G4MoleculeTable.hh.

typedef std::map<G4int, G4Molecule*> G4MoleculeTable::MoleculeTablePerID
protected

Definition at line 93 of file G4MoleculeTable.hh.

Constructor & Destructor Documentation

G4MoleculeTable::~G4MoleculeTable ( )
virtual

Definition at line 43 of file G4MoleculeTable.cc.

G4MoleculeTable::G4MoleculeTable ( )
protected

Definition at line 37 of file G4MoleculeTable.cc.

Referenced by Instance().

+ Here is the caller graph for this function:

Member Function Documentation

G4MoleculeDefinition * G4MoleculeTable::CreateMoleculeDefinition ( const G4String name,
double  diffusion_coefficient 
)

Definition at line 59 of file G4MoleculeTable.cc.

References FatalException, fMoleculeDefTable, G4endl, G4Exception(), and name.

+ Here is the call graph for this function:

G4Molecule * G4MoleculeTable::CreateMoleculeModel ( const G4String name,
G4MoleculeDefinition molDef,
int  charge,
double  diffusion_coefficient = -1 
)

Definition at line 82 of file G4MoleculeTable.cc.

References RecordMoleculeModel(), and G4Molecule::SetDiffusionCoefficient().

Referenced by G4EmDNAChemistry::ConstructMolecule().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Molecule * G4MoleculeTable::CreateMoleculeModel ( const G4String name,
G4MoleculeDefinition molDef 
)

Definition at line 97 of file G4MoleculeTable.cc.

References RecordMoleculeModel().

+ Here is the call graph for this function:

G4MoleculeDefinitionIterator G4MoleculeTable::GetDefintionIterator ( )
inline

Definition at line 77 of file G4MoleculeTable.hh.

References fMoleculeDefTable.

Referenced by G4VUserChemistryList::BuildPhysicsTable(), and G4EmDNAChemistry::ConstructProcess().

+ Here is the caller graph for this function:

G4MoleculeModelIterator G4MoleculeTable::GetModelIterator ( )
inline

Definition at line 82 of file G4MoleculeTable.hh.

References fMoleculeTable.

Referenced by G4MoleculeCounter::Initialize().

+ Here is the caller graph for this function:

G4MoleculeDefinition * G4MoleculeTable::GetMoleculeDefinition ( const G4String name,
bool  mustExist = true 
)

Definition at line 107 of file G4MoleculeTable.cc.

References FatalException, fMoleculeDefTable, G4endl, and G4Exception().

+ Here is the call graph for this function:

G4Molecule * G4MoleculeTable::GetMoleculeModel ( const G4String name,
bool  mustExist = true 
)

Definition at line 161 of file G4MoleculeTable.cc.

References FatalException, fMoleculeTable, G4endl, and G4Exception().

Referenced by G4MoleculeGun::BuildTrack(), G4EmDNAChemistry::ConstructDissociationChannels(), G4EmDNAChemistry::ConstructReactionTable(), G4DNAMolecularReactionData::SetReactive(), G4DNAMolecularReactionData::SetReactive1(), and G4DNAMolecularReactionData::SetReactive2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Molecule * G4MoleculeTable::GetMoleculeModel ( G4int  id)

Definition at line 181 of file G4MoleculeTable.cc.

References fMoleculeTablePerID.

G4MoleculeTable * G4MoleculeTable::GetMoleculeTable ( )
static

Definition at line 54 of file G4MoleculeTable.cc.

References Instance().

+ Here is the call graph for this function:

void G4MoleculeTable::Insert ( G4MoleculeDefinition moleculeDefinition)

Definition at line 197 of file G4MoleculeTable.cc.

References FatalException, fMoleculeDefTable, G4endl, G4Exception(), G4MoleculeDefinition::GetName(), and name.

Referenced by G4MoleculeDefinition::G4MoleculeDefinition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4MoleculeTable * G4MoleculeTable::Instance ( void  )
static
void G4MoleculeTable::RecordMoleculeModel ( const G4String name,
G4Molecule molecule 
)

Definition at line 127 of file G4MoleculeTable.cc.

References FatalException, fMoleculeTable, fMoleculeTablePerID, G4endl, G4Exception(), G4Molecule::GetMoleculeID(), and name.

Referenced by CreateMoleculeModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

MoleculeDefTable G4MoleculeTable::fMoleculeDefTable
protected
MoleculeTable G4MoleculeTable::fMoleculeTable
protected

Definition at line 97 of file G4MoleculeTable.hh.

Referenced by GetModelIterator(), GetMoleculeModel(), and RecordMoleculeModel().

MoleculeTablePerID G4MoleculeTable::fMoleculeTablePerID
protected

Definition at line 98 of file G4MoleculeTable.hh.

Referenced by GetMoleculeModel(), and RecordMoleculeModel().

G4MoleculeTable * G4MoleculeTable::fpgMoleculeTable
staticprotected

Definition at line 90 of file G4MoleculeTable.hh.

Referenced by Instance().


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