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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 ]

Diff markup

Differences between /particles/hadrons/ions/src/G4IonConstructor.cc (Version 11.3.0) and /particles/hadrons/ions/src/G4IonConstructor.cc (Version 2.0)


                                                   >>   1 // This code implementation is the intellectual property of
                                                   >>   2 // the GEANT4 collaboration.
  1 //                                                  3 //
  2 // ******************************************* <<   4 // By copying, distributing or modifying the Program (or any work
  3 // * License and Disclaimer                    <<   5 // based on the Program) you indicate your acceptance of this statement,
  4 // *                                           <<   6 // and all its terms.
  5 // * The  Geant4 software  is  copyright of th << 
  6 // * the Geant4 Collaboration.  It is provided << 
  7 // * conditions of the Geant4 Software License << 
  8 // * LICENSE and available at  http://cern.ch/ << 
  9 // * include a list of copyright holders.      << 
 10 // *                                           << 
 11 // * Neither the authors of this software syst << 
 12 // * institutes,nor the agencies providing fin << 
 13 // * work  make  any representation or  warran << 
 14 // * regarding  this  software system or assum << 
 15 // * use.  Please see the license in the file  << 
 16 // * for the full disclaimer and the limitatio << 
 17 // *                                           << 
 18 // * This  code  implementation is the result  << 
 19 // * technical work of the GEANT4 collaboratio << 
 20 // * By using,  copying,  modifying or  distri << 
 21 // * any work based  on the software)  you  ag << 
 22 // * use  in  resulting  scientific  publicati << 
 23 // * acceptance of all terms of the Geant4 Sof << 
 24 // ******************************************* << 
 25 //                                                  7 //
                                                   >>   8 // $Id: G4IonConstructor.cc,v 1.2 1999/12/15 14:51:02 gunter Exp $
                                                   >>   9 // GEANT4 tag $Name: geant4-02-00 $
                                                   >>  10 //
                                                   >>  11 // 
 26 // -------------------------------------------     12 // --------------------------------------------------------------
 27 //  GEANT 4 class implementation file          <<  13 //  GEANT 4 class implementation file 
 28 //                                                 14 //
 29                                                    15 
 30 #include "G4IonConstructor.hh"                     16 #include "G4IonConstructor.hh"
                                                   >>  17 
                                                   >>  18 #include "G4ParticleDefinition.hh"
                                                   >>  19 #include "G4ParticleTable.hh"
 31 // Nuclei                                          20 // Nuclei
 32 #include "G4Alpha.hh"                              21 #include "G4Alpha.hh"
 33 #include "G4Deuteron.hh"                           22 #include "G4Deuteron.hh"
 34 #include "G4GenericIon.hh"                     << 
 35 #include "G4He3.hh"                            << 
 36 #include "G4Triton.hh"                             23 #include "G4Triton.hh"
 37 // AntiNuclei                                  <<  24 #include "G4He3.hh"
 38 #include "G4AntiAlpha.hh"                      <<  25 #include "G4GenericIon.hh"
 39 #include "G4AntiDeuteron.hh"                   <<  26 
 40 #include "G4AntiHe3.hh"                        <<  27 G4IonConstructor::G4IonConstructor()
 41 #include "G4AntiTriton.hh"                     <<  28 {
 42 // Hyper-nuclei                                <<  29 }
 43 #include "G4DoubleHyperDoubleNeutron.hh"       <<  30 
 44 #include "G4DoubleHyperH4.hh"                  <<  31 G4IonConstructor::~G4IonConstructor()
 45 #include "G4HyperAlpha.hh"                     <<  32 {
 46 #include "G4HyperH4.hh"                        <<  33 }
 47 #include "G4HyperHe5.hh"                       <<  34 
 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                                                    35 
 57 void G4IonConstructor::ConstructParticle()         36 void G4IonConstructor::ConstructParticle()
 58 {                                                  37 {
 59   ConstructLightIons();                            38   ConstructLightIons();
 60   ConstructHyperNuclei();                      << 
 61 }                                                  39 }
 62                                                    40 
 63 void G4IonConstructor::ConstructLightIons()        41 void G4IonConstructor::ConstructLightIons()
 64 {                                                  42 {
 65   //  nuclei                                       43   //  nuclei
 66   G4Alpha::AlphaDefinition();                      44   G4Alpha::AlphaDefinition();
 67   G4Deuteron::DeuteronDefinition();                45   G4Deuteron::DeuteronDefinition();
 68   G4Triton::TritonDefinition();                    46   G4Triton::TritonDefinition();
 69   G4He3::He3Definition();                          47   G4He3::He3Definition();
 70   //  anti_nuclei                              << 
 71   G4AntiAlpha::AntiAlphaDefinition();          << 
 72   G4AntiDeuteron::AntiDeuteronDefinition();    << 
 73   G4AntiTriton::AntiTritonDefinition();        << 
 74   G4AntiHe3::AntiHe3Definition();              << 
 75   //  generic ion                                  48   //  generic ion
 76   G4GenericIon::GenericIonDefinition();            49   G4GenericIon::GenericIonDefinition();
 77 }                                                  50 }
 78                                                    51 
 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                                                    52