This class just print out once a new run begins/ends with the run number and the number of events to be simulated. More...
#include <SToGS_BaseROOT.hh>
Public Member Functions | |
BaseROOTAction (G4String conffile="setup/SToGS_root_actions.conf") | |
virtual void | BeginOfEventAction (const G4Event *) |
virtual void | BeginOfRunAction (const G4Run *) |
virtual void | EndOfEventAction (const G4Event *) |
virtual void | EndOfRunAction (const G4Run *) |
virtual G4Run * | GenerateRun () |
virtual void | PostUserTrackingAction (const G4Track *) |
virtual void | PreUserTrackingAction (const G4Track *) |
virtual void | UserSteppingAction (const G4Step *) |
virtual | ~BaseROOTAction () |
Protected Member Functions | |
virtual void | CloseFile () |
Make sure ths file is closed properly. More... | |
virtual void | OpenFile (G4int run_id) |
Just check if there are collected hits in the collection. More... | |
Protected Attributes | |
G4String | fBaseName |
base for all the files More... | |
G4int | fMaxEvents |
max numer of event per files ... better to limit because of BaseROOT file could be uged ! More... | |
G4String | fOption |
G4String | fPathToData |
directory where to output data More... | |
G4int | fPrintModulo |
to print out status any fPrintModulo events More... | |
G4int | fRecordOption |
0 [default] means keep all, 1 only events which gives at least one hit in the full detector More... | |
TFile * | fRootFile |
the current root file More... | |
This class just print out once a new run begins/ends with the run number and the number of events to be simulated.
Definition at line 62 of file SToGS_BaseROOT.hh.
SToGS::BaseROOTAction::BaseROOTAction | ( | G4String | conffile = "setup/SToGS_root_actions.conf" | ) |
Definition at line 76 of file SToGS_BaseROOT.cc.
|
inlinevirtual |
Definition at line 89 of file SToGS_BaseROOT.hh.
|
virtual |
Reimplemented from SToGS::AllActions.
Reimplemented in SToGS::BaseROOTEventsUserAction, and ParisUserAction.
Definition at line 186 of file SToGS_BaseROOT.cc.
|
virtual |
Reimplemented from SToGS::AllActions.
Definition at line 172 of file SToGS_BaseROOT.cc.
|
protectedvirtual |
Make sure ths file is closed properly.
Reimplemented in SToGS::BaseROOTTreeAction.
Definition at line 160 of file SToGS_BaseROOT.cc.
|
virtual |
Reimplemented from SToGS::AllActions.
Definition at line 193 of file SToGS_BaseROOT.cc.
|
virtual |
Reimplemented from SToGS::AllActions.
Reimplemented in SToGS::BaseROOTEventsUserAction, and ParisUserAction.
Definition at line 179 of file SToGS_BaseROOT.cc.
|
inlinevirtualinherited |
Reimplemented in SToGS::AsciiAction, SToGS::BaseROOTEventsUserAction, ParisUserAction, and SToGS::PrintOutAction.
Definition at line 72 of file SToGS_UserActionInitialization.hh.
|
protectedvirtual |
Just check if there are collected hits in the collection.
Open the stream depending of the configuration
Reimplemented in SToGS::BaseROOTTreeAction.
Definition at line 142 of file SToGS_BaseROOT.cc.
|
inlinevirtual |
Reimplemented from SToGS::AllActions.
Reimplemented in SToGS::BaseROOTEventsUserAction, and ParisUserAction.
Definition at line 98 of file SToGS_BaseROOT.hh.
|
inlinevirtual |
Reimplemented from SToGS::AllActions.
Reimplemented in SToGS::BaseROOTEventsUserAction, and ParisUserAction.
Definition at line 96 of file SToGS_BaseROOT.hh.
|
inlinevirtualinherited |
Reimplemented in SToGS::PrintOutAction.
Definition at line 100 of file SToGS_UserActionInitialization.hh.
|
protected |
base for all the files
Definition at line 71 of file SToGS_BaseROOT.hh.
|
protected |
max numer of event per files ... better to limit because of BaseROOT file could be uged !
Definition at line 73 of file SToGS_BaseROOT.hh.
|
protectedinherited |
Definition at line 64 of file SToGS_UserActionInitialization.hh.
|
protected |
directory where to output data
Definition at line 69 of file SToGS_BaseROOT.hh.
|
protected |
to print out status any fPrintModulo events
Definition at line 77 of file SToGS_BaseROOT.hh.
|
protected |
0 [default] means keep all, 1 only events which gives at least one hit in the full detector
Definition at line 75 of file SToGS_BaseROOT.hh.
|
protected |
the current root file
Definition at line 66 of file SToGS_BaseROOT.hh.