Geant4
10.01.p02
|
G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction. More...
#include <G4DNAMolecularReactionTable.hh>
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 G4DNAMolecularReactionData * | GetReactionData (const G4Molecule *, const G4Molecule *) const |
const std::vector< const G4Molecule * > * | CanReactWith (const G4Molecule *) 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 *) 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... | |
G4ITReactionTable & | operator= (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 G4MoleculeHandleManager * | fMoleculeHandleManager |
G4bool | fVerbose |
ReactionDataMap | fReactionData |
ReactivesMV | fReactivesMV |
ReactionDataMV | fReactionDataMV |
Static Protected Attributes | |
static G4DNAMolecularReactionTable * | fInstance |
G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction.
Definition at line 129 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 181 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 187 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 184 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 210 of file G4DNAMolecularReactionTable.cc.
References fVerbose.
Referenced by GetReactionTable().
|
virtual |
Definition at line 219 of file G4DNAMolecularReactionTable.cc.
References fReactionData, fReactionDataMV, and fReactivesMV.
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 495 of file G4DNAMolecularReactionTable.cc.
References FatalErrorInArgument, fReactivesMV, fVerbose, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().
Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), and PrintTable().
|
static |
Definition at line 202 of file G4DNAMolecularReactionTable.cc.
References fInstance.
Referenced by G4DNAChemistryManager::Clear().
const G4DNAMolecularReactionData * G4DNAMolecularReactionTable::GetReactionData | ( | const G4Molecule * | reactive1, |
const G4Molecule * | reactive2 | ||
) | const |
Definition at line 455 of file G4DNAMolecularReactionTable.cc.
References FatalErrorInArgument, fReactionData, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().
Referenced by G4DNASmoluchowskiReactionModel::GetReactionRadius(), G4DNASmoluchowskiReactionModel::Initialise(), G4DNASmoluchowskiReactionModel::InitialiseToPrint(), and G4DNAMolecularReaction::MakeReaction().
const std::vector< const G4DNAMolecularReactionData * > * G4DNAMolecularReactionTable::GetReactionData | ( | const G4Molecule * | molecule | ) | const |
Definition at line 590 of file G4DNAMolecularReactionTable.cc.
References FatalErrorInArgument, fReactionDataMV, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().
|
static |
Definition at line 193 of file G4DNAMolecularReactionTable.cc.
References fInstance, and G4DNAMolecularReactionTable().
Referenced by G4DNAMolecularStepByStepModel::Initialize(), G4DNAChemistryManager::InitializeMaster(), and G4DNAChemistryManager::InitializeThread().
const std::map< const G4Molecule *, const G4DNAMolecularReactionData *, compMoleculeP > * G4DNAMolecularReactionTable::GetReativesNData | ( | const G4Molecule * | molecule | ) | const |
Definition at line 545 of file G4DNAMolecularReactionTable.cc.
References FatalErrorInArgument, fReactionData, fVerbose, G4cout, G4endl, G4Exception(), and G4Molecule::GetName().
void G4DNAMolecularReactionTable::PrintTable | ( | G4VDNAReactionModel * | pReactionModel = 0 | ) |
Definition at line 280 of file G4DNAMolecularReactionTable.cc.
References CanReactWith(), G4UIcommand::ConvertToString(), fReactionData, fReactivesMV, G4cout, G4endl, G4Molecule::GetName(), G4DNAMolecularReactionData::GetNbProducts(), G4DNAMolecularReactionData::GetProduct(), G4VDNAReactionModel::GetReactionRadius(), G4DNAMolecularReactionData::GetReactionRate(), G4VDNAReactionModel::GetReactionTable(), G4VDNAReactionModel::InitialiseToPrint(), left, m3, mole, n, nanometer, s, G4VDNAReactionModel::SetReactionTable(), and TRUE.
Referenced by G4EmDNAChemistry::ConstructTimeStepModel().
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 271 of file G4DNAMolecularReactionTable.cc.
Referenced by G4EmDNAChemistry::ConstructReactionTable().
void G4DNAMolecularReactionTable::SetReaction | ( | G4DNAMolecularReactionData * | reactionData | ) |
Definition at line 254 of file G4DNAMolecularReactionTable.cc.
References fReactionData, fReactionDataMV, fReactivesMV, G4DNAMolecularReactionData::GetReactive1(), and G4DNAMolecularReactionData::GetReactive2().
|
staticprotected |
Definition at line 133 of file G4DNAMolecularReactionTable.hh.
Referenced by DeleteInstance(), and GetReactionTable().
|
protected |
Definition at line 173 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 189 of file G4DNAMolecularReactionTable.hh.
Referenced by GetReactionData(), GetReativesNData(), PrintTable(), SetReaction(), and ~G4DNAMolecularReactionTable().
|
protected |
Definition at line 191 of file G4DNAMolecularReactionTable.hh.
Referenced by GetReactionData(), SetReaction(), and ~G4DNAMolecularReactionTable().
|
protected |
Definition at line 190 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), PrintTable(), SetReaction(), and ~G4DNAMolecularReactionTable().
|
protected |
Definition at line 174 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), G4DNAMolecularReactionTable(), and GetReativesNData().