Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
exGPSPhysicsList.cc
Go to the documentation of this file.
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 // $Id: exGPSPhysicsList.cc 68020 2013-03-13 13:34:15Z gcosmo $
27 //
28 /// \file eventgenerator/exgps/src/exGPSPhysicsList.cc
29 /// \brief Implementation of the exGPSPhysicsList class
30 //
31 
32 #include "exGPSPhysicsList.hh"
33 
34 #include "G4ParticleDefinition.hh"
35 #include "G4ParticleWithCuts.hh"
36 #include "G4ProcessManager.hh"
37 #include "G4ProcessVector.hh"
38 #include "G4ParticleTypes.hh"
39 #include "G4ParticleTable.hh"
40 #include "G4Material.hh"
41 #include "G4ios.hh"
42 
43 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
44 
46 {
47  SetVerboseLevel(1);
48 }
49 
50 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
51 
53 {}
54 
55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
56 
58 {
59  // In this method, static member functions should be called
60  // for all particles which you want to use.
61  // This ensures that objects of these particle types will be
62  // created in the program.
63 
69 }
70 
71 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
72 
74 {
75  // pseudo-particles
78 
79  // gamma
81 
82  // optical photon
84 }
85 
86 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
87 
88 #include "G4LeptonConstructor.hh"
90 {
91  // Construct all leptons
92  G4LeptonConstructor pConstructor;
93  pConstructor.ConstructParticle();
94 }
95 
96 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
97 
98 #include "G4MesonConstructor.hh"
100 {
101  // Construct all mesons
102  G4MesonConstructor pConstructor;
103  pConstructor.ConstructParticle();
104 }
105 
106 
107 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
108 
109 #include "G4BaryonConstructor.hh"
111 {
112  // Construct all barions
113  G4BaryonConstructor pConstructor;
114  pConstructor.ConstructParticle();
115 }
116 
117 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
118 
120 {
126 }
127 
128 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
129 
131 {
133 }
134 
135 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
136 
138 {
139  // surppress error messages even in case e/gamma/proton do not exist
140  G4int temp = GetVerboseLevel();
141  SetVerboseLevel(0);
142  // " G4VUserPhysicsList::SetCutsWithDefault" method sets
143  // the default cut value for all particle types
145 
146  // Retrieve verbose level
147  SetVerboseLevel(temp);
148 }
149 
150 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
static G4Geantino * GeantinoDefinition()
Definition: G4Geantino.cc:82
static G4Triton * TritonDefinition()
Definition: G4Triton.cc:90
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:88
static G4He3 * He3Definition()
Definition: G4He3.cc:89
virtual ~exGPSPhysicsList()
static void ConstructParticle()
virtual void ConstructProcess()
static void ConstructParticle()
int G4int
Definition: G4Types.hh:78
virtual void SetCuts()
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int value)
virtual void ConstructParticle()
static void ConstructParticle()
Definition of the exGPSPhysicsList class.
static G4ChargedGeantino * ChargedGeantinoDefinition()
static G4OpticalPhoton * OpticalPhotonDefinition()
static G4Deuteron * DeuteronDefinition()
Definition: G4Deuteron.cc:89
static G4Alpha * AlphaDefinition()
Definition: G4Alpha.cc:84
static G4Gamma * GammaDefinition()
Definition: G4Gamma.cc:81