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 // Based on the work of M. Terrissol and M. C. Bordage 27 // 28 // Users are requested to cite the following papers: 29 // - M. Terrissol, A. Baudre, Radiat. Prot. Dosim. 31 (1990) 175-177 30 // - M.C. Bordage, J. Bordes, S. Edel, M. Terrissol, X. Franceries, 31 // M. Bardies, N. Lampe, S. Incerti, Phys. Med. 32 (2016) 1833-1840 32 // 33 // Authors of this class: 34 // M.C. Bordage, M. Terrissol, S. Edel, J. Bordes, S. Incerti 35 // 36 // 15.01.2014: creation 37 // 38 39 #include "G4EmDNAPhysics_option6.hh" 40 #include "G4EmDNABuilder.hh" 41 #include "G4SystemOfUnits.hh" 42 43 // ions 44 #include "G4Alpha.hh" 45 #include "G4DNAGenericIonsManager.hh" 46 47 // utilities 48 #include "G4EmParameters.hh" 49 #include "G4PhysicsListHelper.hh" 50 #include "G4BuilderType.hh" 51 #include "G4EmBuilder.hh" 52 53 // factory 54 #include "G4PhysicsConstructorFactory.hh" 55 // 56 G4_DECLARE_PHYSCONSTR_FACTORY(G4EmDNAPhysics_option6); 57 58 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 59 60 G4EmDNAPhysics_option6::G4EmDNAPhysics_option6(G4int ver, const G4String& nam) 61 : G4EmDNAPhysics(ver, nam) 62 { 63 G4EmParameters* param = G4EmParameters::Instance(); 64 param->SetDNAFast(true); 65 } 66 67 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 68 69 void G4EmDNAPhysics_option6::ConstructProcess() 70 { 71 // parameters 72 G4EmParameters* param = G4EmParameters::Instance(); 73 const G4double emaxDNA = 1.*CLHEP::MeV; 74 const G4double emaxIonDNA = 300.*CLHEP::MeV; 75 const G4double emaxLightIonDNA = 400.*CLHEP::MeV; 76 const G4double eminBorn = 500.*CLHEP::keV; 77 const G4bool fast = param->DNAFast(); 78 const G4bool st = param->DNAStationary(); 79 if(verboseLevel > 1) { 80 G4cout << "### " << GetPhysicsName() 81 << " Construct Processes EmaxDNA(MeV)= " 82 << emaxDNA/CLHEP::MeV << "; useMSC: " << fast 83 << "; stationary: " << st << G4endl; 84 } 85 G4DNAGenericIonsManager* genericIonsManager 86 = G4DNAGenericIonsManager::Instance(); 87 88 // standard physics 89 G4EmDNABuilder::ConstructStandardEmPhysics(emaxDNA, emaxIonDNA, 90 emaxIonDNA, emaxIonDNA, 91 dnaUrban, fast); 92 93 // DNA physics 94 G4EmDNABuilder::ConstructDNAElectronPhysics(emaxDNA, 6, fast, st); 95 G4EmDNABuilder::ConstructDNAProtonPhysics(eminBorn, emaxIonDNA, 6, fast, st); 96 G4EmDNABuilder::ConstructDNAIonPhysics(emaxIonDNA, st); 97 98 G4ParticleDefinition* part = genericIonsManager->GetIon("hydrogen"); 99 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 6, emaxIonDNA, fast, st); 100 101 part = G4Alpha::Alpha(); 102 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 2, 6, emaxLightIonDNA, fast, st); 103 104 part = genericIonsManager->GetIon("alpha+"); 105 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 1, 6, emaxLightIonDNA, fast, st); 106 107 part = genericIonsManager->GetIon("helium"); 108 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 6, emaxLightIonDNA, fast, st); 109 } 110 111 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 112