1 #ifndef _tls_Geant4Customization_h_
2 #define _tls_Geant4Customization_h_
4 #include <tls/G4VPhysicsListCustomization.h>
6 #include <G4VUserDetectorConstruction.hh>
7 #include <G4VUserPrimaryGeneratorAction.hh>
8 #include <G4UserStackingAction.hh>
9 #include <G4UserTrackingAction.hh>
10 #include <G4UserSteppingAction.hh>
11 #include <G4UserEventAction.hh>
12 #include <G4UserRunAction.hh>
13 #include <G4RunManager.hh>
15 #include <boost/shared_ptr.hpp>
42 G4VUserDetectorConstruction*
const construction =
nullptr,
43 G4VUserPhysicsList*
const physicsList =
nullptr,
44 G4VUserPrimaryGeneratorAction*
const primaryGenerator =
nullptr) :
void SetRunAction(G4UserRunAction *const action)
boost::shared_ptr< G4VUserPrimaryGeneratorAction > fPrimaryGenerator
boost::shared_ptr< G4UserSteppingAction > fSteppingAction
void SetPrimaryGenerator(G4VUserPrimaryGeneratorAction *const action)
void SetPhysicsList(G4VUserPhysicsList *const physicsList)
G4UserRunAction * GetRunAction()
void SetStackingAction(G4UserStackingAction *const action)
boost::shared_ptr< G4UserStackingAction > fStackingAction
void SetDetectorConstruction(G4VUserDetectorConstruction *const construction)
boost::shared_ptr< G4RunManager > fG4RunManager
G4UserEventAction * GetEventAction()
void SetRunManager(boost::shared_ptr< G4RunManager > action)
void SetEventAction(G4UserEventAction *const action)
std::string GetName() const
G4VUserPhysicsList * fPhysicsList
boost::shared_ptr< G4UserEventAction > fEventAction
Data structure to hold the different Geant4 global objects required to run a single module...
G4VUserDetectorConstruction * fDetectorConstruction
void SetTrackingAction(G4UserTrackingAction *const action)
G4UserTrackingAction * GetTrackingAction()
G4VUserPhysicsList * GetPhysicsList()
virtual ~Geant4Customization()=default
G4VUserPrimaryGeneratorAction * GetPrimaryGenerator()
G4VUserDetectorConstruction * GetDetectorConstruction()
G4VPhysicsListCustomization * GetPhysicsListCustomization()
Geant4Customization(const std::string &name, G4VUserDetectorConstruction *const construction=nullptr, G4VUserPhysicsList *const physicsList=nullptr, G4VUserPrimaryGeneratorAction *const primaryGenerator=nullptr)
G4UserSteppingAction * GetSteppingAction()
G4UserStackingAction * GetStackingAction()
void SetSteppingAction(G4UserSteppingAction *const action)
boost::shared_ptr< G4UserTrackingAction > fTrackingAction
boost::shared_ptr< G4UserRunAction > fRunAction
Class to specify customization of the standard global PhysicsList that are handled by the Geant4Manag...