Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:16:37

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 
0027 #include "GammaKnifeParticles.hh"
0028 #include "G4ParticleDefinition.hh"
0029 #include "G4ParticleTypes.hh"
0030 #include "G4ParticleTable.hh"
0031 #include "G4LeptonConstructor.hh"
0032 #include "G4BosonConstructor.hh"
0033 #include "G4MesonConstructor.hh"
0034 #include "G4BaryonConstructor.hh"
0035 #include "G4ShortLivedConstructor.hh"
0036 #include "G4IonConstructor.hh"
0037 #include "G4SystemOfUnits.hh"
0038 
0039 GammaKnifeParticles::GammaKnifeParticles(const G4String& name)
0040   :  G4VPhysicsConstructor(name)
0041 { }
0042 
0043 GammaKnifeParticles::~GammaKnifeParticles()
0044 {}
0045 
0046 void GammaKnifeParticles::ConstructParticle()
0047 {
0048   G4Gamma::GammaDefinition();
0049 
0050   // *******//  
0051   // leptons//
0052   // *******//
0053 
0054   G4Electron::ElectronDefinition();
0055   G4Positron::PositronDefinition();
0056   G4MuonPlus::MuonPlusDefinition();
0057   G4MuonMinus::MuonMinusDefinition();
0058   G4NeutrinoE::NeutrinoEDefinition();
0059   G4AntiNeutrinoE::AntiNeutrinoEDefinition();
0060   G4NeutrinoMu::NeutrinoMuDefinition();
0061   G4AntiNeutrinoMu::AntiNeutrinoMuDefinition();
0062 
0063   // ********//
0064   //  mesons //
0065   // ********//
0066   G4PionPlus::PionPlusDefinition();
0067   G4PionMinus::PionMinusDefinition();
0068   G4PionZero::PionZeroDefinition();
0069   G4KaonPlus::KaonPlusDefinition();
0070   G4KaonMinus::KaonMinusDefinition();
0071 
0072   // **********//
0073   //  barions  //
0074   // **********//
0075   G4Proton::ProtonDefinition();
0076   G4AntiProton::AntiProtonDefinition();
0077   G4Neutron::NeutronDefinition();
0078   G4AntiNeutron::AntiNeutronDefinition();
0079 
0080   // ******//
0081   //  ions //
0082   // ******//
0083   G4Deuteron::DeuteronDefinition();
0084   G4Triton::TritonDefinition();
0085   G4He3::He3Definition();
0086   G4Alpha::AlphaDefinition();
0087   G4GenericIon::GenericIonDefinition();
0088 
0089  G4LeptonConstructor lepton;
0090   lepton.ConstructParticle();
0091  
0092   G4BosonConstructor boson;
0093   boson.ConstructParticle();
0094 
0095   G4MesonConstructor meson;
0096   meson.ConstructParticle();
0097 
0098   G4BaryonConstructor baryon;
0099   baryon.ConstructParticle();
0100 
0101   G4ShortLivedConstructor shortLived;
0102   shortLived.ConstructParticle();
0103 
0104   G4IonConstructor ion;
0105   ion.ConstructParticle();
0106 
0107 }