Geant4_10
LBE.hh
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 //
27 // --------------------------------------------------------------
28 //
29 // For information related to this code contact: Alex Howard
30 // e-mail: alexander.howard@cern.ch
31 // --------------------------------------------------------------
32 // Comments
33 //
34 // Underground Advanced
35 //
36 // This physics list is taken from the underground_physics example with small
37 // modifications. It is an example of a "flat" physics list with no dependence
38 // on builders. The physics covered would be suitable for a low background
39 // experiment including the neutron_hp package
40 //
41 //
42 //
43 // PhysicsList header
44 // --------------------------------------------------------------
45 
46 #ifndef TLBE_h
47 #define TLBE_h 1
48 
50 
51 #include "globals.hh"
52 #include "G4VUserPhysicsList.hh"
54 #include "G4VModularPhysicsList.hh"
55 
56 class G4StoppingPhysics; // This builder encapsulate stopping processes
57 
58 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
59 
60 template<class T>
61 class TLBE: public T
62 {
63 public:
64  TLBE();
65  ~TLBE();
66  // virtual ~TLBE();
67 
68 
69 public:
70  virtual void SetCuts();
71 
72 
73 private:
75 
76 protected:
77  // Construct particle and physics
78  virtual void ConstructParticle();
79  virtual void ConstructProcess();
80 
81  // these methods Construct physics processes and register them
82  virtual void ConstructGeneral();
83  virtual void ConstructEM();
84  virtual void ConstructHad();
85  virtual void ConstructOp();
86 
87 
88  /*
89  // these methods Construct all particles in each category
90  virtual void ConstructAllBosons();
91  virtual void ConstructAllLeptons();
92  virtual void ConstructAllMesons();
93  virtual void ConstructAllBaryons();
94  virtual void ConstructAllIons();
95  virtual void ConstructAllShortLiveds();
96  */
97 
98  virtual void AddTransportation();
99 
100 private:
101  G4int VerboseLevel;
102  G4int OpVerbLevel;
103 
104  G4double cutForGamma;
105  G4double cutForElectron;
106  G4double cutForPositron;
107  G4double cutForProton;
108  G4double cutForAlpha;
109  G4double cutForGenericIon;
110 
111  G4StoppingPhysics* stoppingPhysics;
112 
113  // these methods Construct particles
114  void ConstructMyBosons();
115  void ConstructMyLeptons();
116  void ConstructMyMesons();
117  void ConstructMyBaryons();
118  void ConstructMyIons();
119  void ConstructMyShortLiveds();
120 
121 };
122 #include "LBE.icc"
124 
125 #endif
virtual void ConstructEM()
virtual void ConstructParticle()
TLBE< G4VModularPhysicsList > LBE
Definition: LBE.hh:123
int G4int
Definition: G4Types.hh:78
virtual void ConstructHad()
virtual void SetCuts()
Definition: LBE.hh:61
double G4double
Definition: G4Types.hh:76
virtual void ConstructProcess()
virtual void ConstructOp()
virtual void ConstructGeneral()
virtual void AddTransportation()