36 #ifndef G4BASE_UserActionManager_H 37 #define G4BASE_UserActionManager_H 41 #include "Geant4/G4UserRunAction.hh" 42 #include "Geant4/G4UserEventAction.hh" 43 #include "Geant4/G4UserTrackingAction.hh" 44 #include "Geant4/G4UserSteppingAction.hh" 45 #include "Geant4/G4UserStackingAction.hh" 47 #include "Geant4/G4Run.hh" 48 #include "Geant4/G4Event.hh" 49 #include "Geant4/G4Track.hh" 50 #include "Geant4/G4Step.hh" 52 #include "Geant4/G4EventManager.hh" 53 #include "Geant4/G4TrackingManager.hh" 54 #include "Geant4/G4SteppingManager.hh" 61 ,
public G4UserEventAction
62 ,
public G4UserTrackingAction
63 ,
public G4UserSteppingAction
64 ,
public G4UserStackingAction {
78 G4int
GetIndex(std::string
const& name)
const;
124 #endif // G4BASE_UserActionManager_H virtual void PrepareNewEvent()
UserAction * GetAction(G4int i) const
virtual bool DoesAnyActionProvideStacking()
virtual void UserSteppingAction(const G4Step *)
G4EventManager * GetEventManager() const
virtual void BeginOfEventAction(const G4Event *)
virtual void EndOfEventAction(const G4Event *)
G4int GetIndex(std::string const &name) const
static void AddAndAdoptAction(UserAction *a)
G4TrackingManager * GetTrackingManager() const
virtual void BeginOfRunAction(const G4Run *)
fuserActions_t::const_iterator fuserActions_ptr_t
basic interface to Geant4 for ART-based software
std::vector< UserAction * > fuserActions_t
void PrintActionList(std::string const &opt) const
static UserActionManager * Instance()
virtual void EndOfRunAction(const G4Run *)
static fuserActions_t fuserActions
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *)
virtual void PostUserTrackingAction(const G4Track *)
G4SteppingManager * GetSteppingManager() const
virtual void PreUserTrackingAction(const G4Track *)
virtual ~UserActionManager()