27 #ifndef SToGS_BaseROOTEventsActions_h
28 #define SToGS_BaseROOTEventsActions_h 1
92 BaseROOTEvents(G4String conf =
"setup/SToGS_tree_actions.conf", G4String which_gene =
"GPS",
93 G4String which_gene_opt =
"G4Macros/GPSPointLike.mac"):
a G4 user's action manage by a single AllAction class
SBROpticalEvent * fOpticalEventEnd
end of optical photons
BaseROOTEvents(G4String conf="setup/SToGS_tree_actions.conf", G4String which_gene="GPS", G4String which_gene_opt="G4Macros/GPSPointLike.mac")
virtual void PreUserTrackingAction(const G4Track *)
virtual G4Run * GenerateRun()
virtual void RecordEvent(const G4Event *evt)
virtual ~BaseROOTEventsUserAction()
BaseROOTEventsRun(TTree *tree)
virtual ~BaseROOTEventsRun()
BaseROOTEventsUserAction(G4String conffile="setup/SToGS_Tree_actions.conf")
virtual void EndOfRunAction(const G4Run *)
The BaseROOTEvents is use to init G4 kernel with the actions defined in BaseROOTEventsUserAction.
SBROpticalEvent * fOpticalEventBeg
emitted optical photons
G4int fisOptical
true if one has also photons from scintillations
virtual void BeginOfEventAction(const G4Event *)
The BaseROOTEventsUserAction Stores in a ROOT Tree BaseROOTEvents [SBREvent, SBRPEvent etc ...
virtual void PostUserTrackingAction(const G4Track *)
virtual ~BaseROOTEvents()