G4VPhysicsListCustomization.h
Go to the documentation of this file.
1 #ifndef _tls_G4VPhysicsListCustomization_h
2 #define _tls_G4VPhysicsListCustomization_h
3 
4 #include <utl/ErrorLogger.h>
5 #include <utl/AugerException.h>
6 
7 #include <G4VUserPhysicsList.hh>
8 
9 
10 class G4UImanager;
11 
12 
13 namespace tls {
14 
31  class G4VPhysicsListCustomization : public virtual G4VUserPhysicsList {
32 
33  public:
35 
36  public:
38 
39  virtual void SetCuts() = 0;
42  virtual void ConstructParticle() = 0;
44  virtual void ConstructProcess() = 0;
46 
47  //not implemented for now, all particles should be added in the GlobalPhysicsList, if needed they can be constructed with all processes disabled by default
48  //virtual void ConstructCustomParticle();
49 
51 
52  virtual void SetCustomCuts() = 0;
53 
54  virtual bool ActivateCustomProcesses() = 0;
55 
56  virtual bool InactivateCustomProcesses() = 0;
58 
59  protected:
60  G4UImanager* fUImanager = nullptr;
61 
62  };
63 
64 }
65 
66 
67 #endif
virtual bool InactivateCustomProcesses()=0
virtual bool ActivateCustomProcesses()=0
virtual void SetCuts()=0
Set the cuts. This method is never called.
virtual void ConstructProcess()=0
Construct processes.
virtual void ConstructParticle()=0
Construct particles.
Class to specify customization of the standard global PhysicsList that are handled by the Geant4Manag...

, generated on Tue Sep 26 2023.