Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4DNAMolecularReactionTable.hh>
Public Types | |
using | Reactant = const G4MolecularConfiguration |
using | Data = const G4DNAMolecularReactionData |
using | ReactantList = std::vector< Reactant * > |
using | DataList = std::vector< Data * > |
using | SpecificDataList = std::map< Reactant *, Data * > |
using | ReactionDataMap = std::map< Reactant *, SpecificDataList > |
using | ReactivesMV = std::map< Reactant *, ReactantList > |
using | ReactionDataMV = std::map< Reactant *, DataList > |
Public Member Functions | |
virtual | ~G4DNAMolecularReactionTable () |
void | SetReaction (G4double observedReactionRate, Reactant *reactive1, Reactant *reactive2) |
void | SetReaction (G4DNAMolecularReactionData *) |
Data * | GetReactionData (Reactant *, Reactant *) const |
Data * | GetReactionData (const G4String &, const G4String &) const |
Data * | GetReaction (int reactionID) const |
size_t | GetNReactions () const |
const ReactantList * | CanReactWith (Reactant *) const |
const SpecificDataList * | GetReativesNData (const G4MolecularConfiguration *) const |
const DataList * | GetReactionData (const G4MolecularConfiguration *) const |
const ReactionDataMap & | GetAllReactionData () |
DataList | GetVectorOfReactionData () |
void | ScaleReactionRateForNewTemperature (double temp_K) |
void | PrintTable (G4VDNAReactionModel *=0) |
Public Member Functions inherited from G4ITReactionTable | |
G4ITReactionTable () | |
virtual | ~G4ITReactionTable () |
G4ITReactionTable (const G4ITReactionTable &) | |
G4ITReactionTable & | operator= (const G4ITReactionTable &) |
Static Public Member Functions | |
static G4DNAMolecularReactionTable * | GetReactionTable () |
static G4DNAMolecularReactionTable * | Instance () |
static void | DeleteInstance () |
Protected Member Functions | |
G4DNAMolecularReactionTable () | |
Protected Attributes | |
G4bool | fVerbose |
ReactionDataMap | fReactionData |
ReactivesMV | fReactantsMV |
ReactionDataMV | fReactionDataMV |
std::vector< std::unique_ptr< Data > > | fVectorOfReactionData |
std::unique_ptr< G4ReactionTableMessenger > | fpMessenger |
Static Protected Attributes | |
static G4DNAMolecularReactionTable * | fpInstance |
G4DNAMolecularReactionTable sorts out the G4DNAMolecularReactionData for bimolecular reaction
Definition at line 174 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::Data = const G4DNAMolecularReactionData |
Definition at line 187 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::DataList = std::vector<Data*> |
Definition at line 189 of file G4DNAMolecularReactionTable.hh.
Definition at line 186 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::ReactantList = std::vector<Reactant*> |
Definition at line 188 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::ReactionDataMap = std::map<Reactant*, SpecificDataList> |
Definition at line 192 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::ReactionDataMV = std::map<Reactant*, DataList> |
Definition at line 194 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::ReactivesMV = std::map<Reactant*, ReactantList> |
Definition at line 193 of file G4DNAMolecularReactionTable.hh.
using G4DNAMolecularReactionTable::SpecificDataList = std::map<Reactant*, Data*> |
Definition at line 190 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 382 of file G4DNAMolecularReactionTable.cc.
Referenced by GetReactionTable(), and Instance().
|
virtualdefault |
const G4DNAMolecularReactionTable::ReactantList * G4DNAMolecularReactionTable::CanReactWith | ( | Reactant * | pMolecule | ) | const |
Given a molecule's type, it returns with which a reaction is allowed
Definition at line 650 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAIRTMoleculeEncounterStepper::CalculateStep(), G4DNAMoleculeEncounterStepper::CalculateStep(), PrintTable(), and G4DNAIRT::Sampling().
|
static |
Definition at line 371 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAChemistryManager::Clear().
const G4DNAMolecularReactionTable::ReactionDataMap & G4DNAMolecularReactionTable::GetAllReactionData | ( | ) |
Definition at line 630 of file G4DNAMolecularReactionTable.cc.
size_t G4DNAMolecularReactionTable::GetNReactions | ( | ) | const |
Definition at line 824 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReaction | ( | int | reactionID | ) | const |
Definition at line 812 of file G4DNAMolecularReactionTable.cc.
const G4DNAMolecularReactionTable::DataList * G4DNAMolecularReactionTable::GetReactionData | ( | const G4MolecularConfiguration * | molecule | ) | const |
Definition at line 731 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReactionData | ( | const G4String & | mol1, |
const G4String & | mol2 | ||
) | const |
Definition at line 753 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReactionData | ( | Reactant * | pReactant1, |
Reactant * | pReactant2 | ||
) | const |
Definition at line 596 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAIRT::GetIndependentReactionTime(), GetReactionData(), G4DNASmoluchowskiReactionModel::GetReactionRadius(), G4DNASmoluchowskiReactionModel::Initialise(), G4DNASmoluchowskiReactionModel::InitialiseToPrint(), G4DNAIRT::MakeReaction(), G4DNAMolecularReaction::MakeReaction(), and G4DNAIRT::Sampling().
|
static |
Definition at line 349 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAMolecularIRTModel::Initialize(), G4DNAMolecularStepByStepModel::Initialize(), G4DNAChemistryManager::InitializeMaster(), and G4DNAChemistryManager::InitializeThread().
const G4DNAMolecularReactionTable::SpecificDataList * G4DNAMolecularReactionTable::GetReativesNData | ( | const G4MolecularConfiguration * | molecule | ) | const |
Definition at line 696 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::DataList G4DNAMolecularReactionTable::GetVectorOfReactionData | ( | ) |
Definition at line 635 of file G4DNAMolecularReactionTable.cc.
|
static |
Definition at line 360 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAChemistryManager::SetGlobalTemperature().
void G4DNAMolecularReactionTable::PrintTable | ( | G4VDNAReactionModel * | pReactionModel = 0 | ) |
Definition at line 423 of file G4DNAMolecularReactionTable.cc.
Referenced by G4EmDNAChemistry_option2::ConstructTimeStepModel(), G4EmDNAChemistry::ConstructTimeStepModel(), G4EmDNAChemistry_option1::ConstructTimeStepModel(), and G4ReactionTableMessenger::SetNewValue().
void G4DNAMolecularReactionTable::ScaleReactionRateForNewTemperature | ( | double | temp_K | ) |
Definition at line 791 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAChemistryManager::SetGlobalTemperature().
void G4DNAMolecularReactionTable::SetReaction | ( | G4DNAMolecularReactionData * | pReactionData | ) |
Definition at line 391 of file G4DNAMolecularReactionTable.cc.
void G4DNAMolecularReactionTable::SetReaction | ( | G4double | observedReactionRate, |
Reactant * | reactive1, | ||
Reactant * | 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 413 of file G4DNAMolecularReactionTable.cc.
Referenced by G4EmDNAChemistry_option2::ConstructReactionTable(), G4EmDNAChemistry::ConstructReactionTable(), G4EmDNAChemistry_option1::ConstructReactionTable(), G4EmDNAChemistry_option3::ConstructReactionTable(), G4ReactionTableMessenger::SetNewValue(), and SetReaction().
|
staticprotected |
Definition at line 178 of file G4DNAMolecularReactionTable.hh.
Referenced by DeleteInstance(), GetReactionTable(), and Instance().
|
protected |
Definition at line 245 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 242 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), PrintTable(), and SetReaction().
|
protected |
Definition at line 241 of file G4DNAMolecularReactionTable.hh.
Referenced by GetAllReactionData(), GetReactionData(), GetReativesNData(), PrintTable(), and SetReaction().
|
protected |
Definition at line 243 of file G4DNAMolecularReactionTable.hh.
Referenced by GetReactionData(), and SetReaction().
|
protected |
Definition at line 244 of file G4DNAMolecularReactionTable.hh.
Referenced by GetNReactions(), GetReaction(), GetVectorOfReactionData(), ScaleReactionRateForNewTemperature(), and SetReaction().
|
protected |
Definition at line 239 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), and GetReativesNData().