Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // >> 26 // >> 27 // $Id: G4IonConstructor.cc,v 1.4 2006/06/29 19:18:02 gunter Exp $ >> 28 // GEANT4 tag $Name: geant4-09-02-patch-03 $ >> 29 // >> 30 // 26 // ------------------------------------------- 31 // -------------------------------------------------------------- 27 // GEANT 4 class implementation file << 32 // GEANT 4 class implementation file 28 // 33 // 29 34 30 #include "G4IonConstructor.hh" 35 #include "G4IonConstructor.hh" >> 36 >> 37 #include "G4ParticleDefinition.hh" >> 38 #include "G4ParticleTable.hh" 31 // Nuclei 39 // Nuclei 32 #include "G4Alpha.hh" 40 #include "G4Alpha.hh" 33 #include "G4Deuteron.hh" 41 #include "G4Deuteron.hh" 34 #include "G4GenericIon.hh" << 35 #include "G4He3.hh" << 36 #include "G4Triton.hh" 42 #include "G4Triton.hh" 37 // AntiNuclei << 43 #include "G4He3.hh" 38 #include "G4AntiAlpha.hh" << 44 #include "G4GenericIon.hh" 39 #include "G4AntiDeuteron.hh" << 45 40 #include "G4AntiHe3.hh" << 46 G4IonConstructor::G4IonConstructor() 41 #include "G4AntiTriton.hh" << 47 { 42 // Hyper-nuclei << 48 } 43 #include "G4DoubleHyperDoubleNeutron.hh" << 49 44 #include "G4DoubleHyperH4.hh" << 50 G4IonConstructor::~G4IonConstructor() 45 #include "G4HyperAlpha.hh" << 51 { 46 #include "G4HyperH4.hh" << 52 } 47 #include "G4HyperHe5.hh" << 53 48 #include "G4HyperTriton.hh" << 49 // Anti-hyper-nuclei << 50 #include "G4AntiDoubleHyperDoubleNeutron.hh" << 51 #include "G4AntiDoubleHyperH4.hh" << 52 #include "G4AntiHyperAlpha.hh" << 53 #include "G4AntiHyperH4.hh" << 54 #include "G4AntiHyperHe5.hh" << 55 #include "G4AntiHyperTriton.hh" << 56 54 57 void G4IonConstructor::ConstructParticle() 55 void G4IonConstructor::ConstructParticle() 58 { 56 { 59 ConstructLightIons(); 57 ConstructLightIons(); 60 ConstructHyperNuclei(); << 61 } 58 } 62 59 63 void G4IonConstructor::ConstructLightIons() 60 void G4IonConstructor::ConstructLightIons() 64 { 61 { 65 // nuclei 62 // nuclei 66 G4Alpha::AlphaDefinition(); 63 G4Alpha::AlphaDefinition(); 67 G4Deuteron::DeuteronDefinition(); 64 G4Deuteron::DeuteronDefinition(); 68 G4Triton::TritonDefinition(); 65 G4Triton::TritonDefinition(); 69 G4He3::He3Definition(); 66 G4He3::He3Definition(); 70 // anti_nuclei << 71 G4AntiAlpha::AntiAlphaDefinition(); << 72 G4AntiDeuteron::AntiDeuteronDefinition(); << 73 G4AntiTriton::AntiTritonDefinition(); << 74 G4AntiHe3::AntiHe3Definition(); << 75 // generic ion 67 // generic ion 76 G4GenericIon::GenericIonDefinition(); 68 G4GenericIon::GenericIonDefinition(); 77 } 69 } 78 70 79 void G4IonConstructor::ConstructHyperNuclei() << 80 { << 81 G4DoubleHyperDoubleNeutron::DoubleHyperDoubl << 82 G4DoubleHyperH4::DoubleHyperH4(); << 83 G4HyperAlpha::HyperAlpha(); << 84 G4HyperH4::HyperH4(); << 85 G4HyperHe5::HyperHe5(); << 86 G4HyperTriton::HyperTriton(); << 87 << 88 G4AntiDoubleHyperDoubleNeutron::AntiDoubleHy << 89 G4AntiDoubleHyperH4::AntiDoubleHyperH4(); << 90 G4AntiHyperAlpha::AntiHyperAlpha(); << 91 G4AntiHyperH4::AntiHyperH4(); << 92 G4AntiHyperHe5::AntiHyperHe5(); << 93 G4AntiHyperTriton::AntiHyperTriton(); << 94 } << 95 71