Geant4 11.1.1
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 > |
Static Public Member Functions | |
static G4DNAMolecularReactionTable * | GetReactionTable () |
static G4DNAMolecularReactionTable * | Instance () |
static void | DeleteInstance () |
Protected Member Functions | |
G4DNAMolecularReactionTable () | |
Protected Attributes | |
G4bool | fVerbose |
G4VDNAMolecularGeometry * | fGeometry |
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 656 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAIRTMoleculeEncounterStepper::CalculateStep(), G4DNAMoleculeEncounterStepper::CalculateStep(), G4DNAIndependentReactionTimeStepper::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 636 of file G4DNAMolecularReactionTable.cc.
G4VDNAMolecularGeometry * G4DNAMolecularReactionTable::GetGeometry | ( | ) | const |
Definition at line 596 of file G4DNAMolecularReactionTable.cc.
size_t G4DNAMolecularReactionTable::GetNReactions | ( | ) | const |
Definition at line 830 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReaction | ( | int | reactionID | ) | const |
Definition at line 818 of file G4DNAMolecularReactionTable.cc.
const G4DNAMolecularReactionTable::DataList * G4DNAMolecularReactionTable::GetReactionData | ( | const G4MolecularConfiguration * | molecule | ) | const |
Definition at line 737 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReactionData | ( | const G4String & | mol1, |
const G4String & | mol2 | ||
) | const |
Definition at line 759 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::Data * G4DNAMolecularReactionTable::GetReactionData | ( | Reactant * | pReactant1, |
Reactant * | pReactant2 | ||
) | const |
Definition at line 602 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAIndependentReactionTimeStepper::CalculateStep(), G4DNAIRT::GetIndependentReactionTime(), GetReactionData(), G4DNASmoluchowskiReactionModel::GetReactionRadius(), G4DiffusionControlledReactionModel::GetReactionRadius(), G4DiffusionControlledReactionModel::GetTimeToEncounter(), G4DNASmoluchowskiReactionModel::Initialise(), G4DiffusionControlledReactionModel::Initialise(), G4DNASmoluchowskiReactionModel::InitialiseToPrint(), G4DiffusionControlledReactionModel::InitialiseToPrint(), G4DNAIRT::MakeReaction(), G4DNAMakeReaction::MakeReaction(), G4DNAMolecularReaction::MakeReaction(), and G4DNAIRT::Sampling().
|
static |
Definition at line 349 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAIndependentReactionTimeModel::Initialize(), G4DNAMolecularIRTModel::Initialize(), G4DNAMolecularStepByStepModel::Initialize(), G4DNAChemistryManager::InitializeMaster(), and G4DNAChemistryManager::InitializeThread().
const G4DNAMolecularReactionTable::SpecificDataList * G4DNAMolecularReactionTable::GetReativesNData | ( | const G4MolecularConfiguration * | molecule | ) | const |
Definition at line 702 of file G4DNAMolecularReactionTable.cc.
G4DNAMolecularReactionTable::DataList G4DNAMolecularReactionTable::GetVectorOfReactionData | ( | ) |
Definition at line 641 of file G4DNAMolecularReactionTable.cc.
|
static |
Definition at line 360 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAEventScheduler::CheckingReactionRadius(), G4DiffusionControlledReactionModel::GetTimeToEncounter(), and G4DNAChemistryManager::SetGlobalTemperature().
void G4DNAMolecularReactionTable::PrintTable | ( | G4VDNAReactionModel * | pReactionModel = 0 | ) |
Definition at line 424 of file G4DNAMolecularReactionTable.cc.
Referenced by G4EmDNAChemistry_option2::ConstructTimeStepModel(), G4EmDNAChemistry::ConstructTimeStepModel(), G4EmDNAChemistry_option1::ConstructTimeStepModel(), and G4ReactionTableMessenger::SetNewValue().
void G4DNAMolecularReactionTable::Reset | ( | ) |
Definition at line 835 of file G4DNAMolecularReactionTable.cc.
Referenced by G4ReactionTableMessenger::SetNewValue().
void G4DNAMolecularReactionTable::ScaleReactionRateForNewTemperature | ( | double | temp_K | ) |
Definition at line 797 of file G4DNAMolecularReactionTable.cc.
Referenced by G4DNAChemistryManager::SetGlobalTemperature().
|
inline |
Definition at line 211 of file G4DNAMolecularReactionTable.hh.
void G4DNAMolecularReactionTable::SetReaction | ( | G4DNAMolecularReactionData * | pReactionData | ) |
Definition at line 392 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 414 of file G4DNAMolecularReactionTable.cc.
Referenced by G4EmDNAChemistry_option2::ConstructReactionTable(), G4EmDNAChemistry::ConstructReactionTable(), G4EmDNAChemistry_option1::ConstructReactionTable(), G4EmDNAChemistry_option3::ConstructReactionTable(), G4ReactionTableMessenger::SetNewValue(), and SetReaction().
|
protected |
Definition at line 246 of file G4DNAMolecularReactionTable.hh.
Referenced by GetGeometry(), and SetGeometry().
|
staticprotected |
Definition at line 178 of file G4DNAMolecularReactionTable.hh.
Referenced by DeleteInstance(), GetReactionTable(), and Instance().
|
protected |
Definition at line 251 of file G4DNAMolecularReactionTable.hh.
|
protected |
Definition at line 248 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), PrintTable(), Reset(), and SetReaction().
|
protected |
Definition at line 247 of file G4DNAMolecularReactionTable.hh.
Referenced by GetAllReactionData(), GetReactionData(), GetReativesNData(), PrintTable(), Reset(), and SetReaction().
|
protected |
Definition at line 249 of file G4DNAMolecularReactionTable.hh.
Referenced by GetReactionData(), Reset(), and SetReaction().
|
protected |
Definition at line 250 of file G4DNAMolecularReactionTable.hh.
Referenced by GetNReactions(), GetReaction(), GetVectorOfReactionData(), Reset(), ScaleReactionRateForNewTemperature(), and SetReaction().
|
protected |
Definition at line 244 of file G4DNAMolecularReactionTable.hh.
Referenced by CanReactWith(), and GetReativesNData().