MdEdepSimulatorAG/PhysicsList.h
Go to the documentation of this file.
1 // Taken directly from G4 sources //
2 #ifndef _EdepSimulatorAG_PhysicsList_h_
3 #define _EdepSimulatorAG_PhysicsList_h_
4 
5 #include <G4VModularPhysicsList.hh>
6 #include <globals.hh>
7 
8 
9 class G4VPhysicsConstructor;
10 
12 namespace EdepSimulatorAG {
13 
14 class PhysicsList: public G4VModularPhysicsList {
15 public:
16  PhysicsList();
17  virtual ~PhysicsList();
18 
19  void ConstructParticle();
20 
21  void SetCuts();
22  void SetCutForGamma(G4double);
23  void SetCutForElectron(G4double);
24  void SetCutForPositron(G4double);
25  void SetCutForProton(G4double);
26 
27  void AddPhysicsList(const G4String& name);
28  void ConstructProcess();
29  void List();
30 
31 private:
32  void SetBuilderList0(G4bool flagHP = false);
33  void SetBuilderList1(G4bool flagHP = false);
34  void SetBuilderList2(G4bool addStopping = false);
35  void SetBuilderList3();
36  void SetBuilderList4();
37 
38  G4double cutForGamma;
39  G4double cutForElectron;
40  G4double cutForPositron;
41  G4double cutForProton;
42 
43  G4VPhysicsConstructor* emPhysicsList;
44  G4VPhysicsConstructor* particleList;
45  std::vector<G4VPhysicsConstructor*> hadronPhys;
46 
47  G4bool dump;
48 };
49 
50 }
51 
52 
53 #endif
void SetBuilderList2(G4bool addStopping=false)
std::vector< G4VPhysicsConstructor * > hadronPhys

, generated on Tue Sep 26 2023.