Geant4  10.00.p01
G4DNAMolecularReactionTable Class Reference

G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction. More...

#include <G4DNAMolecularReactionTable.hh>

+ Inheritance diagram for G4DNAMolecularReactionTable:
+ Collaboration diagram for G4DNAMolecularReactionTable:

Public Member Functions

virtual ~G4DNAMolecularReactionTable ()
 
void SetReaction (G4double observedReactionRate, const G4Molecule *reactive1, const G4Molecule *reactive2)
 Define a reaction : First argument : reaction rate Second argument : reactant 1 Third argument : reactant 2 Fourth argument : a std std::vector holding the molecular products if this last argument is NULL then it will be interpreted as a reaction giving no products. More...
 
void SetReaction (G4DNAMolecularReactionData *)
 
const G4DNAMolecularReactionDataGetReactionData (const G4Molecule *, const G4Molecule *) const
 
const std::vector< const
G4Molecule * > * 
CanReactWith (const G4Molecule *aMolecule) const
 Given a molecule's type, it returns with which a reaction is allowed. More...
 
const std::map< const
G4Molecule *, const
G4DNAMolecularReactionData
*, compMoleculeP > * 
GetReativesNData (const G4Molecule *aMolecule) const
 
const std::vector< const
G4DNAMolecularReactionData * > * 
GetReactionData (const G4Molecule *) const
 
void PrintTable (G4VDNAReactionModel *=0)
 
- Public Member Functions inherited from G4ITReactionTable
 G4ITReactionTable ()
 Default constructor. More...
 
virtual ~G4ITReactionTable ()
 Default destructor. More...
 
 G4ITReactionTable (const G4ITReactionTable &)
 Copy constructor. More...
 
G4ITReactionTableoperator= (const G4ITReactionTable &)
 Assignment operator. More...
 

Static Public Member Functions

static
G4DNAMolecularReactionTable
GetReactionTable ()
 
static void DeleteInstance ()
 

Protected Types

typedef std::map< const
G4Molecule *, std::map< const
G4Molecule *, const
G4DNAMolecularReactionData
*, compMoleculeP >
, compMoleculeP
ReactionDataMap
 
typedef std::map< const
G4Molecule *, std::vector
< const G4Molecule * >
, compMoleculeP
ReactivesMV
 
typedef std::map< const
G4Molecule *, std::vector
< const
G4DNAMolecularReactionData * >
, compMoleculeP
ReactionDataMV
 

Protected Member Functions

 G4DNAMolecularReactionTable ()
 

Protected Attributes

const G4MoleculeHandleManagerfMoleculeHandleManager
 
G4bool fVerbose
 
ReactionDataMap fReactionData
 
ReactivesMV fReactivesMV
 
ReactionDataMV fReactionDataMV
 

Static Protected Attributes

static
G4DNAMolecularReactionTable
fInstance
 

Detailed Description

G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction.

Definition at line 111 of file G4DNAMolecularReactionTable.hh.

Member Typedef Documentation

Definition at line 159 of file G4DNAMolecularReactionTable.hh.

Definition at line 161 of file G4DNAMolecularReactionTable.hh.

typedef std::map<const G4Molecule*,std::vector<const G4Molecule*>,compMoleculeP> G4DNAMolecularReactionTable::ReactivesMV
protected

Definition at line 160 of file G4DNAMolecularReactionTable.hh.

Constructor & Destructor Documentation

G4DNAMolecularReactionTable::G4DNAMolecularReactionTable ( )
protected

Definition at line 130 of file G4DNAMolecularReactionTable.cc.

References fVerbose.

Referenced by GetReactionTable().

+ Here is the caller graph for this function:

G4DNAMolecularReactionTable::~G4DNAMolecularReactionTable ( )
virtual

Definition at line 138 of file G4DNAMolecularReactionTable.cc.

References fReactionData, fReactionDataMV, fReactivesMV, G4DNAMolecularReactionData::GetReactive1(), and G4DNAMolecularReactionData::GetReactive2().

+ Here is the call graph for this function:

Member Function Documentation

const std::vector< const G4Molecule * > * G4DNAMolecularReactionTable::CanReactWith ( const G4Molecule aMolecule) const

Given a molecule's type, it returns with which a reaction is allowed.

Definition at line 387 of file G4DNAMolecularReactionTable.cc.

References FatalErrorInArgument, fReactivesMV, fVerbose, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().

Referenced by PrintTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::DeleteInstance ( )
static

Definition at line 121 of file G4DNAMolecularReactionTable.cc.

References fInstance.

Referenced by G4DNAChemistryManager::~G4DNAChemistryManager().

+ Here is the caller graph for this function:

const G4DNAMolecularReactionData * G4DNAMolecularReactionTable::GetReactionData ( const G4Molecule reactive1,
const G4Molecule reactive2 
) const

Definition at line 351 of file G4DNAMolecularReactionTable.cc.

References FatalErrorInArgument, fReactionData, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().

Referenced by G4DNASmoluchowskiReactionModel::Initialise(), G4DNASmoluchowskiReactionModel::InitialiseToPrint(), and G4DNAMolecularReaction::MakeReaction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector< const G4DNAMolecularReactionData * > * G4DNAMolecularReactionTable::GetReactionData ( const G4Molecule molecule) const

Definition at line 473 of file G4DNAMolecularReactionTable.cc.

References FatalErrorInArgument, fReactionDataMV, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().

+ Here is the call graph for this function:

G4DNAMolecularReactionTable * G4DNAMolecularReactionTable::GetReactionTable ( )
static

Definition at line 112 of file G4DNAMolecularReactionTable.cc.

References fInstance, and G4DNAMolecularReactionTable().

+ Here is the call graph for this function:

const std::map< const G4Molecule *, const G4DNAMolecularReactionData *, compMoleculeP > * G4DNAMolecularReactionTable::GetReativesNData ( const G4Molecule aMolecule) const

Definition at line 429 of file G4DNAMolecularReactionTable.cc.

References FatalErrorInArgument, fReactionData, fVerbose, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().

+ Here is the call graph for this function:

void G4DNAMolecularReactionTable::PrintTable ( G4VDNAReactionModel pReactionModel = 0)
void G4DNAMolecularReactionTable::SetReaction ( G4double  observedReactionRate,
const G4Molecule reactive1,
const G4Molecule reactive2 
)

Define a reaction : First argument : reaction rate Second argument : reactant 1 Third argument : reactant 2 Fourth argument : a std std::vector holding the molecular products if this last argument is NULL then it will be interpreted as a reaction giving no products.

Definition at line 188 of file G4DNAMolecularReactionTable.cc.

void G4DNAMolecularReactionTable::SetReaction ( G4DNAMolecularReactionData reactionData)

Definition at line 171 of file G4DNAMolecularReactionTable.cc.

References fReactionData, fReactionDataMV, fReactivesMV, G4DNAMolecularReactionData::GetReactive1(), and G4DNAMolecularReactionData::GetReactive2().

+ Here is the call graph for this function:

Member Data Documentation

G4DNAMolecularReactionTable * G4DNAMolecularReactionTable::fInstance
staticprotected

Definition at line 115 of file G4DNAMolecularReactionTable.hh.

Referenced by DeleteInstance(), and GetReactionTable().

const G4MoleculeHandleManager* G4DNAMolecularReactionTable::fMoleculeHandleManager
protected

Definition at line 151 of file G4DNAMolecularReactionTable.hh.

ReactionDataMap G4DNAMolecularReactionTable::fReactionData
protected
ReactionDataMV G4DNAMolecularReactionTable::fReactionDataMV
protected
ReactivesMV G4DNAMolecularReactionTable::fReactivesMV
protected
G4bool G4DNAMolecularReactionTable::fVerbose
protected

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