Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
examples/extended/electromagnetic/TestEm9/include/PhysicsList.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 /// \file electromagnetic/TestEm9/include/PhysicsList.hh
27 /// \brief Definition of the PhysicsList class
28 //
29 // $Id: PhysicsList.hh 66241 2012-12-13 18:34:42Z gunter $
30 //
31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
32 //
33 //---------------------------------------------------------------------------
34 //
35 // ClassName: PhysicsList
36 //
37 // Author: V.Ivanchenko 14.10.2002
38 //
39 // Modified:
40 // 17.11.06 Use components from physics_lists subdirectory (V.Ivanchenko)
41 //
42 //----------------------------------------------------------------------------
43 //
44 
45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
47 
48 #ifndef PhysicsList_h
49 #define PhysicsList_h 1
50 
51 #include "G4VModularPhysicsList.hh"
52 #include "globals.hh"
53 
55 class StepMax;
57 class G4ProductionCuts;
58 
59 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
60 
62 {
63 public:
64  PhysicsList();
65  virtual ~PhysicsList();
66 
67  virtual void ConstructParticle();
68 
69  virtual void ConstructProcess();
70 
71  virtual void SetCuts();
72 
73  void AddPhysicsList(const G4String& name);
74  void AddStepMax();
75 
79 
80  void SetVertexCut(G4double val);
81  void SetMuonCut(G4double val);
82 
83 private:
84 
85  // hide assignment operator
86  PhysicsList & operator=(const PhysicsList &right);
87  PhysicsList(const PhysicsList&);
88 
89  G4double fCutForGamma;
90  G4double fCutForElectron;
91  G4double fCutForPositron;
92  G4double fCutForProton;
93  G4double fCutForVertexDetector;
94  G4double fCutForMuonDetector;
95 
96  G4VPhysicsConstructor* fEmPhysicsList;
97  G4VPhysicsConstructor* fDecayPhysicsList;
98 
99  std::vector<G4VPhysicsConstructor*> fHadronPhys;
100  G4String fEmName;
101 
102  StepMax* fStepMaxProcess;
103 
104  PhysicsListMessenger* fMessenger;
105  G4ProductionCuts* fVertexDetectorCuts;
106  G4ProductionCuts* fMuonDetectorCuts;
107 
108  G4bool fHelIsRegisted;
109  G4bool fBicIsRegisted;
110  G4bool fGnucIsRegisted;
111  G4bool fStopIsRegisted;
112 };
113 
114 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
115 
116 #endif
117 
const XML_Char * name
bool G4bool
Definition: G4Types.hh:79
double G4double
Definition: G4Types.hh:76