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3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

  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"
 27 #include "G4ChemDissociationChannels.hh"
 28 
 29 #include "G4SystemOfUnits.hh"
 30 
 31 #include "G4DNAWaterDissociationDisplacer.hh"
 32 #include "G4DNAChemistryManager.hh"
 33 #include "G4ProcessManager.hh"
 34 
 35 #include "G4DNAGenericIonsManager.hh"
 36 
 37 // *** Processes and models for Geant4-DNA
 38 
 39 #include "G4DNAElectronSolvation.hh"
 40 
 41 #include "G4DNAVibExcitation.hh"
 42 #include "G4DNASancheExcitationModel.hh"
 43 
 44 #include "G4DNAMolecularDissociation.hh"
 45 #include "G4DNABrownianTransportation.hh"
 46 #include "G4DNAMolecularReactionTable.hh"
 47 #include "G4DNAMolecularStepByStepModel.hh"
 48 #include "G4VDNAReactionModel.hh"
 49 #include "G4DNASmoluchowskiReactionModel.hh"
 50 
 51 #include "G4DNAElectronHoleRecombination.hh"
 52 // particles
 53 
 54 #include "G4Electron.hh"
 55 #include "G4MoleculeTable.hh"
 56 #include "G4H2O.hh"
 57 #include "G4PhysicsListHelper.hh"
 58 
 59 /****/
 60 #include "G4DNAMoleculeEncounterStepper.hh"
 61 #include "G4ProcessTable.hh"
 62 #include "G4MolecularConfiguration.hh"
 63 /****/
 64 
 65 // factory
 66 #include "G4PhysicsConstructorFactory.hh"
 67 
 68 G4_DECLARE_PHYSCONSTR_FACTORY(G4EmDNAChemistry);
 69 
 70 #include "G4Threading.hh"
 71 
 72 G4EmDNAChemistry::G4EmDNAChemistry() :
 73     G4VUserChemistryList(true)
 74 {
 75   G4DNAChemistryManager::Instance()->SetChemistryList(this);
 76 }
 77 
 78 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 79 
 80 void G4EmDNAChemistry::ConstructMolecule()
 81 {
 82   G4ChemDissociationChannels::ConstructMolecule();
 83 }
 84 
 85 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 86 
 87 void G4EmDNAChemistry::ConstructDissociationChannels()
 88 {
 89   G4ChemDissociationChannels::ConstructDissociationChannels();
 90 }
 91 
 92 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 93 
 94 void G4EmDNAChemistry::ConstructReactionTable(G4DNAMolecularReactionTable*
 95                                               theReactionTable)
 96 {
 97   //-----------------------------------
 98   //Get the molecular configuration
 99   G4MolecularConfiguration* OH =
100    G4MoleculeTable::Instance()->GetConfiguration("°OH");
101   G4MolecularConfiguration* OHm =
102    G4MoleculeTable::Instance()->GetConfiguration("OHm");
103   G4MolecularConfiguration* e_aq =
104    G4MoleculeTable::Instance()->GetConfiguration("e_aq");
105   G4MolecularConfiguration* H2 =
106    G4MoleculeTable::Instance()->GetConfiguration("H2");
107   G4MolecularConfiguration* H3Op =
108    G4MoleculeTable::Instance()->GetConfiguration("H3Op");
109   G4MolecularConfiguration* H =
110    G4MoleculeTable::Instance()->GetConfiguration("H");
111   G4MolecularConfiguration* H2O2 =
112    G4MoleculeTable::Instance()->GetConfiguration("H2O2");
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 
171 void G4EmDNAChemistry::ConstructProcess()
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   //
180   G4VProcess* pProcess = G4ProcessTable::GetProcessTable()->
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"),
203                                         G4Electron::Definition());
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     {
218       G4DNABrownianTransportation* pBrownianTransport = new G4DNABrownianTransportation();
219       pPhysicsListHelper->RegisterProcess(pBrownianTransport, pMoleculeDef);
220     }
221     else
222     {
223       pMoleculeDef->GetProcessManager()->AddRestProcess(new G4DNAElectronHoleRecombination(), 2);
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 
232   G4DNAChemistryManager::Instance()->Initialize();
233 }
234 
235 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
236 
237 void G4EmDNAChemistry::ConstructTimeStepModel(G4DNAMolecularReactionTable*
238                                               reactionTable)
239 {
240   G4VDNAReactionModel* reactionRadiusComputer = new G4DNASmoluchowskiReactionModel();
241   reactionTable->PrintTable(reactionRadiusComputer);
242 
243   G4DNAMolecularStepByStepModel* stepByStep = new G4DNAMolecularStepByStepModel();
244   stepByStep->SetReactionModel(reactionRadiusComputer);
245 //  ((G4DNAMoleculeEncounterStepper*) stepByStep->GetTimeStepper())->
246 //  SetVerbose(5);
247 
248   RegisterTimeStepModel(stepByStep, 0);
249 }
250