Geant4 Cross Reference |
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 27 #include "ChemNO2_NO3ScavengerBuilder.hh" 28 29 #include "G4DNAMolecularReactionTable.hh" 30 #include "G4MoleculeTable.hh" 31 #include "G4SystemOfUnits.hh" 32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 33 34 void ChemNO2_NO3ScavengerBuilder ::NO2_NO3ScavengerReaction( 35 G4DNAMolecularReactionTable* pReactionTable) 36 { 37 auto table = G4MoleculeTable::Instance(); 38 auto e_aq = table->GetConfiguration("e_aq"); 39 auto OH = table->GetConfiguration("°OH"); 40 auto OHm = table->GetConfiguration("OHm"); 41 auto NO2 = table->GetConfiguration("NO2"); 42 auto NO2m = table->GetConfiguration("NO2m"); 43 auto NO2mm = table->GetConfiguration("NO2mm"); 44 auto NO3m = table->GetConfiguration("NO3m"); 45 auto NO3mm = table->GetConfiguration("NO3mm"); 46 47 G4DNAMolecularReactionData* reactionData = nullptr; 48 //------------------------------------------------------------------ 49 // e_aq + NO2- -> NO2-- 50 reactionData = new G4DNAMolecularReactionData(3.5e9 * (1e-3 * m3 / (mole * s)), e_aq, NO2m); 51 reactionData->AddProduct(NO2mm); 52 pReactionTable->SetReaction(reactionData); 53 //------------------------------------------------------------------ 54 // OH + NO2- -> NO2 + OH- 55 reactionData = new G4DNAMolecularReactionData(8e9 * (1e-3 * m3 / (mole * s)), OH, NO2m); 56 reactionData->AddProduct(NO2); 57 reactionData->AddProduct(OHm); 58 pReactionTable->SetReaction(reactionData); 59 //------------------------------------------------------------------ 60 // e_aq + NO3- -> NO3-- 61 reactionData = new G4DNAMolecularReactionData(9.7e9 * (1e-3 * m3 / (mole * s)), e_aq, NO3m); 62 reactionData->AddProduct(NO3mm); 63 pReactionTable->SetReaction(reactionData); 64 //------------------------------------------------------------------ 65 } 66 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 67