Geant4  10.03
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, G4MolecularConfiguration *reactive1, G4MolecularConfiguration *reactive2)
 Define a reaction : First argument : reaction rate Second argument : reactant 1 Third argument : reactant 2 Fourth argument : a 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 G4DNAMolecularReactionData * GetReactionData (G4MolecularConfiguration *, G4MolecularConfiguration *) const
 
const G4DNAMolecularReactionData * GetReactionData (const G4String &, const G4String &) const
 
const G4DNAMolecularReactionData * GetReaction (int reactionID) const
 
size_t GetNReactions () const
 
const std::vector
< G4MolecularConfiguration * > * 
CanReactWith (G4MolecularConfiguration *) const
 Given a molecule's type, it returns with which a reaction is allowed. More...
 
const std::map
< G4MolecularConfiguration
*, const
G4DNAMolecularReactionData * > * 
GetReativesNData (G4MolecularConfiguration *) const
 
const std::vector< const
G4DNAMolecularReactionData * > * 
GetReactionData (G4MolecularConfiguration *) const
 
const std::map
< G4MolecularConfiguration
*, std::map
< G4MolecularConfiguration
*, const
G4DNAMolecularReactionData * > > & 
GetAllReactionData ()
 
const std::vector< const
G4DNAMolecularReactionData * > & 
GetVectorOfReactionData ()
 
void ScaleReactionRateForNewTemperature (double temp_K)
 
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...
 
G4ITReactionTable & operator= (const G4ITReactionTable &)
 Assignment operator. More...
 

Static Public Member Functions

static
G4DNAMolecularReactionTable * 
GetReactionTable ()
 
static
G4DNAMolecularReactionTable * 
Instance ()
 
static void DeleteInstance ()
 

Protected Types

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

Protected Member Functions

 G4DNAMolecularReactionTable ()
 

Protected Attributes

G4bool fVerbose
 
ReactionDataMap fReactionData
 
ReactivesMV fReactantsMV
 
ReactionDataMV fReactionDataMV
 
std::vector< const
G4DNAMolecularReactionData * > 
fVectorOfReactionData
 
G4ReactionTableMessenger * fpMessenger
 

Static Protected Attributes

static
G4DNAMolecularReactionTable * 
fInstance
 

Detailed Description

G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction.

Definition at line 199 of file G4DNAMolecularReactionTable.hh.

Member Typedef Documentation

Definition at line 279 of file G4DNAMolecularReactionTable.hh.

Constructor & Destructor Documentation

G4DNAMolecularReactionTable::G4DNAMolecularReactionTable ( )
protected

Definition at line 244 of file G4DNAMolecularReactionTable.cc.

References fpMessenger, and fVerbose.

Referenced by GetReactionTable(), and Instance().

+ Here is the caller graph for this function:

G4DNAMolecularReactionTable::~G4DNAMolecularReactionTable ( )
virtual

Definition at line 256 of file G4DNAMolecularReactionTable.cc.

References fpMessenger, fReactantsMV, fReactionData, fReactionDataMV, G4DNAMolecularReactionData::GetReactant1(), and G4DNAMolecularReactionData::GetReactant2().

+ Here is the call graph for this function:

Member Function Documentation

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

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

Definition at line 545 of file G4DNAMolecularReactionTable.cc.

References FatalErrorInArgument, fReactantsMV, fVerbose, G4cout, G4endl, G4Exception(), and G4MolecularConfiguration::GetName().

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), and PrintTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::DeleteInstance ( )
static

Definition at line 234 of file G4DNAMolecularReactionTable.cc.

References fInstance.

Referenced by G4DNAChemistryManager::Clear().

+ Here is the caller graph for this function:

const std::map<G4MolecularConfiguration*, std::map<G4MolecularConfiguration*, const G4DNAMolecularReactionData*> >& G4DNAMolecularReactionTable::GetAllReactionData ( )
inline

Definition at line 253 of file G4DNAMolecularReactionTable.hh.

References fReactionData.

size_t G4DNAMolecularReactionTable::GetNReactions ( ) const
inline

Definition at line 234 of file G4DNAMolecularReactionTable.hh.

References fVectorOfReactionData.

const G4DNAMolecularReactionData * G4DNAMolecularReactionTable::GetReaction ( int  reactionID) const

Definition at line 745 of file G4DNAMolecularReactionTable.cc.

References fVectorOfReactionData.

const G4DNAMolecularReactionData * G4DNAMolecularReactionTable::GetReactionData ( G4MolecularConfiguration *  reactant1,
G4MolecularConfiguration *  reactant2 
) const

Definition at line 502 of file G4DNAMolecularReactionTable.cc.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4DNAMolecularReactionData * G4DNAMolecularReactionTable::GetReactionData ( const G4String &  mol1,
const G4String &  mol2 
) const

Definition at line 667 of file G4DNAMolecularReactionTable.cc.

References G4MoleculeTable::GetConfiguration(), G4MoleculeTable::GetMoleculeTable(), and GetReactionData().

+ Here is the call graph for this function:

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

Definition at line 641 of file G4DNAMolecularReactionTable.cc.

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

+ Here is the call graph for this function:

G4DNAMolecularReactionTable * G4DNAMolecularReactionTable::GetReactionTable ( )
static

Definition at line 212 of file G4DNAMolecularReactionTable.cc.

References fInstance, and G4DNAMolecularReactionTable().

Referenced by G4DNAMolecularStepByStepModel::Initialize(), G4DNAChemistryManager::InitializeMaster(), and G4DNAChemistryManager::InitializeThread().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::map< G4MolecularConfiguration *, const G4DNAMolecularReactionData * > * G4DNAMolecularReactionTable::GetReativesNData ( G4MolecularConfiguration *  molecule) const

Definition at line 595 of file G4DNAMolecularReactionTable.cc.

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

+ Here is the call graph for this function:

const std::vector<const G4DNAMolecularReactionData*>& G4DNAMolecularReactionTable::GetVectorOfReactionData ( )
inline

Definition at line 259 of file G4DNAMolecularReactionTable.hh.

References fVectorOfReactionData.

G4DNAMolecularReactionTable * G4DNAMolecularReactionTable::Instance ( void  )
static

Definition at line 223 of file G4DNAMolecularReactionTable.cc.

References fInstance, and G4DNAMolecularReactionTable().

Referenced by G4DNAChemistryManager::SetGlobalTemperature().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::PrintTable ( G4VDNAReactionModel *  pReactionModel = 0)

Definition at line 326 of file G4DNAMolecularReactionTable.cc.

References CanReactWith(), G4UIcommand::ConvertToString(), fReactantsMV, fReactionData, G4cout, G4endl, G4MolecularConfiguration::GetName(), G4DNAMolecularReactionData::GetNbProducts(), G4DNAMolecularReactionData::GetObservedReactionRateConstant(), G4DNAMolecularReactionData::GetProduct(), G4VDNAReactionModel::GetReactionRadius(), G4VDNAReactionModel::GetReactionTable(), G4VDNAReactionModel::InitialiseToPrint(), left, m3, mole, n, nanometer, s, G4VDNAReactionModel::SetReactionTable(), and TRUE.

Referenced by G4EmDNAChemistry::ConstructTimeStepModel(), and G4ReactionTableMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::ScaleReactionRateForNewTemperature ( double  temp_K)

Definition at line 713 of file G4DNAMolecularReactionTable.cc.

References fVectorOfReactionData.

Referenced by G4DNAChemistryManager::SetGlobalTemperature().

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::SetReaction ( G4double  observedReactionRate,
G4MolecularConfiguration *  reactive1,
G4MolecularConfiguration *  reactive2 
)

Define a reaction : First argument : reaction rate Second argument : reactant 1 Third argument : reactant 2 Fourth argument : a 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 315 of file G4DNAMolecularReactionTable.cc.

Referenced by G4EmDNAChemistry::ConstructReactionTable(), and G4ReactionTableMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4DNAMolecularReactionTable::SetReaction ( G4DNAMolecularReactionData *  reactionData)

Definition at line 294 of file G4DNAMolecularReactionTable.cc.

References fReactantsMV, fReactionData, fReactionDataMV, fVectorOfReactionData, G4DNAMolecularReactionData::GetReactant1(), and G4DNAMolecularReactionData::GetReactant2().

+ Here is the call graph for this function:

Member Data Documentation

G4DNAMolecularReactionTable * G4DNAMolecularReactionTable::fInstance
staticprotected

Definition at line 203 of file G4DNAMolecularReactionTable.hh.

Referenced by DeleteInstance(), GetReactionTable(), and Instance().

G4ReactionTableMessenger* G4DNAMolecularReactionTable::fpMessenger
protected
ReactivesMV G4DNAMolecularReactionTable::fReactantsMV
protected
ReactionDataMap G4DNAMolecularReactionTable::fReactionData
protected
ReactionDataMV G4DNAMolecularReactionTable::fReactionDataMV
protected
std::vector<const G4DNAMolecularReactionData*> G4DNAMolecularReactionTable::fVectorOfReactionData
protected
G4bool G4DNAMolecularReactionTable::fVerbose
protected

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