Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EmDNAChemistry.cc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26#include "G4EmDNAChemistry.hh"
28
29#include "G4SystemOfUnits.hh"
30
33#include "G4ProcessManager.hh"
34
36
37// *** Processes and models for Geant4-DNA
38
40
41#include "G4DNAVibExcitation.hh"
43
50
52// particles
53
54#include "G4Electron.hh"
55#include "G4MoleculeTable.hh"
56#include "G4H2O.hh"
58
59/****/
61#include "G4ProcessTable.hh"
63/****/
64
65// factory
67
69
70#include "G4Threading.hh"
71
77
78//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
79
84
85//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
86
91
92//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
93
95 theReactionTable)
96{
97 //-----------------------------------
98 //Get the molecular configuration
113
114 //------------------------------------------------------------------
115 // e_aq + e_aq + 2H2O -> H2 + 2OH-
116 G4DNAMolecularReactionData* reactionData =
117 new G4DNAMolecularReactionData(0.5e10 * (1e-3 * m3 / (mole * s)), e_aq, e_aq);
118 reactionData->AddProduct(OHm);
119 reactionData->AddProduct(OHm);
120 reactionData->AddProduct(H2);
121 theReactionTable->SetReaction(reactionData);
122 //------------------------------------------------------------------
123 // e_aq + *OH -> OH-
124 reactionData = new G4DNAMolecularReactionData(
125 2.95e10 * (1e-3 * m3 / (mole * s)), e_aq, OH);
126 reactionData->AddProduct(OHm);
127 theReactionTable->SetReaction(reactionData);
128 //------------------------------------------------------------------
129 // e_aq + H* + H2O -> H2 + OH-
130 reactionData = new G4DNAMolecularReactionData(
131 2.65e10 * (1e-3 * m3 / (mole * s)), e_aq, H);
132 reactionData->AddProduct(OHm);
133 reactionData->AddProduct(H2);
134 theReactionTable->SetReaction(reactionData);
135 //------------------------------------------------------------------
136 // e_aq + H3O+ -> H* + H2O
137 reactionData = new G4DNAMolecularReactionData(
138 2.11e10 * (1e-3 * m3 / (mole * s)), e_aq, H3Op);
139 reactionData->AddProduct(H);
140 theReactionTable->SetReaction(reactionData);
141 //------------------------------------------------------------------
142 // e_aq + H2O2 -> OH- + *OH
143 reactionData = new G4DNAMolecularReactionData(
144 1.41e10 * (1e-3 * m3 / (mole * s)), e_aq, H2O2);
145 reactionData->AddProduct(OHm);
146 reactionData->AddProduct(OH);
147 theReactionTable->SetReaction(reactionData);
148 //------------------------------------------------------------------
149 // *OH + *OH -> H2O2
150 reactionData = new G4DNAMolecularReactionData(
151 0.44e10 * (1e-3 * m3 / (mole * s)), OH, OH);
152 reactionData->AddProduct(H2O2);
153 theReactionTable->SetReaction(reactionData);
154 //------------------------------------------------------------------
155 // *OH + *H -> H2O
156 theReactionTable->SetReaction(1.44e10 * (1e-3 * m3 / (mole * s)), OH, H);
157 //------------------------------------------------------------------
158 // *H + *H -> H2
159 reactionData = new G4DNAMolecularReactionData(
160 1.20e10 * (1e-3 * m3 / (mole * s)), H, H);
161 reactionData->AddProduct(H2);
162 theReactionTable->SetReaction(reactionData);
163 //------------------------------------------------------------------
164 // H3O+ + OH- -> 2H2O
165 theReactionTable->SetReaction(1.43e11 * (1e-3 * m3 / (mole * s)), H3Op, OHm);
166 //------------------------------------------------------------------
167}
168
169//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
170
172{
173 auto pPhysicsListHelper = G4PhysicsListHelper::GetPhysicsListHelper();
174
175 //===============================================================
176 // Extend vibrational to low energy
177 // Anyway, solvation of electrons is taken into account from 7.4 eV
178 // So below this threshold, for now, no accurate modeling is done
179 //
181 FindProcess("e-_G4DNAVibExcitation", "e-");
182
183 if (pProcess != nullptr)
184 {
185 G4DNAVibExcitation* pVibExcitation = (G4DNAVibExcitation*) pProcess;
186 G4VEmModel* pModel = pVibExcitation->EmModel();
187 G4DNASancheExcitationModel* pSancheExcitationMod =
188 dynamic_cast<G4DNASancheExcitationModel*>(pModel);
189 if(pSancheExcitationMod != nullptr)
190 {
191 pSancheExcitationMod->ExtendLowEnergyLimit(0.025 * eV);
192 }
193 }
194
195 //===============================================================
196 // Electron Solvatation
197 //
198 pProcess = G4ProcessTable::GetProcessTable()->FindProcess("e-_G4DNAElectronSolvation", "e-");
199
200 if (pProcess == nullptr)
201 {
202 pPhysicsListHelper->RegisterProcess(new G4DNAElectronSolvation("e-_G4DNAElectronSolvation"),
204 }
205
206 //===============================================================
207 // Define processes for molecules
208 //
209 G4MoleculeTable* pMoleculeTable = G4MoleculeTable::Instance();
210 G4MoleculeDefinitionIterator iterator = pMoleculeTable->GetDefintionIterator();
211 iterator.reset();
212 while (iterator())
213 {
214 G4MoleculeDefinition* pMoleculeDef = iterator.value();
215
216 if (pMoleculeDef != G4H2O::Definition())
217 {
219 pPhysicsListHelper->RegisterProcess(pBrownianTransport, pMoleculeDef);
220 }
221 else
222 {
224 G4DNAMolecularDissociation* pDissociationProcess = new G4DNAMolecularDissociation("H2O_DNAMolecularDecay");
225 pDissociationProcess->SetDisplacer(pMoleculeDef, new G4DNAWaterDissociationDisplacer);
226 pDissociationProcess->SetVerboseLevel(1);
227
228 pMoleculeDef->GetProcessManager()->AddRestProcess(pDissociationProcess, 1);
229 }
230 }
231
233}
234
235//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
236
238 reactionTable)
239{
240 G4VDNAReactionModel* reactionRadiusComputer = new G4DNASmoluchowskiReactionModel();
241 reactionTable->PrintTable(reactionRadiusComputer);
242
244 stepByStep->SetReactionModel(reactionRadiusComputer);
245// ((G4DNAMoleculeEncounterStepper*) stepByStep->GetTimeStepper())->
246// SetVerbose(5);
247
248 RegisterTimeStepModel(stepByStep, 0);
249}
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
static G4DNAChemistryManager * Instance()
void SetChemistryList(G4VUserChemistryList &)
void SetDisplacer(Species *, Displacer *)
void SetReaction(G4double observedReactionRate, Reactant *reactive1, Reactant *reactive2)
void PrintTable(G4VDNAReactionModel *=nullptr)
void SetReactionModel(G4VDNAReactionModel *)
static G4Electron * Definition()
Definition G4Electron.cc:45
void ConstructDissociationChannels() override
void ConstructMolecule() override
void ConstructTimeStepModel(G4DNAMolecularReactionTable *reactionTable) override
void ConstructReactionTable(G4DNAMolecularReactionTable *reactionTable) override
void ConstructProcess() override
static G4H2O * Definition()
Definition G4H2O.cc:42
G4MolecularConfiguration * GetConfiguration(const G4String &, bool mustExist=true)
G4MoleculeDefinitionIterator GetDefintionIterator()
static G4MoleculeTable * Instance()
G4ProcessManager * GetProcessManager() const
static G4PhysicsListHelper * GetPhysicsListHelper()
G4int AddRestProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4ProcessTable * GetProcessTable()
G4VProcess * FindProcess(const G4String &processName, const G4String &particleName) const
G4VEmModel * EmModel(size_t index=0) const
void SetVerboseLevel(G4int value)
void RegisterTimeStepModel(G4VITStepModel *timeStepModel, G4double startingTime=0)