Geant4  10.00.p03
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 
49 #include <CLHEP/Units/SystemOfUnits.h>
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:
103 
110 
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()
void ConstructMyMesons()
void ConstructMyIons()
G4int OpVerbLevel
Definition: LBE.hh:102
virtual void ConstructParticle()
TLBE< G4VModularPhysicsList > LBE
Definition: LBE.hh:123
Definition: LBE.hh:74
G4int VerboseLevel
Definition: LBE.hh:101
void ConstructMyShortLiveds()
void ConstructMyLeptons()
G4double cutForPositron
Definition: LBE.hh:106
int G4int
Definition: G4Types.hh:78
G4double cutForAlpha
Definition: LBE.hh:108
virtual void ConstructHad()
virtual void SetCuts()
void ConstructMyBaryons()
void ConstructMyBosons()
G4double cutForProton
Definition: LBE.hh:107
Definition: LBE.hh:61
double G4double
Definition: G4Types.hh:76
virtual void ConstructProcess()
G4double cutForElectron
Definition: LBE.hh:105
virtual void ConstructOp()
G4double cutForGenericIon
Definition: LBE.hh:109
virtual void ConstructGeneral()
G4StoppingPhysics * stoppingPhysics
Definition: LBE.hh:111
virtual void AddTransportation()
G4double cutForGamma
Definition: LBE.hh:104