This is the ActionInitialization class to handle PrintOut at different levels (run, events ...) from a unique AllAction event Class. More...
#include <SToGS_PrintOut.hh>
Public Member Functions | |
virtual void | Build () const |
virtual void | BuildForMaster () const |
provide default ... likely to be changed since RunManager may be different from Slave and Master More... | |
virtual G4UserEventAction * | GetEventAction () const |
virtual G4VUserPrimaryGeneratorAction * | GetGun () const |
depending on one string, select a given gun More... | |
virtual G4UserRunAction * | GetRunAction () const |
depending on one string, select a given gun More... | |
virtual G4UserSteppingAction * | GetSteppingAction () const |
virtual G4UserTrackingAction * | GetTrackingAction () const |
PrintOut (G4String option="run;event;track;step", G4String which_gene="GPS", G4String which_gene_opt="G4Macros/GPSPointLike.mac") | |
std::pair< G4String, G4String > | SetWhichGenerator (G4String which_gene, G4String option) |
once allocated the generator associated with a UserActionInititialization could be changed here before asking for one More... | |
virtual | ~PrintOut () |
Static Public Member Functions | |
static G4VSensitiveDetector * | GetCopClusterSD (G4String name="/SToGS/SD/CopCluster") |
to get a general SToGS Calorimeter. In Multi-threading mode, return a new instance otherwise a global one More... | |
static G4VSensitiveDetector * | GetTrackerSD (G4String name="/SToGS/SD/Tracker") |
to get a general SToGS tracker. In Multi-threading mode, return a new instance otherwise a global one More... | |
Protected Member Functions | |
void | BuildAndRegister (AllActions *) const |
add the passed class to the list of allocated ones. It is required for a proper destruction More... | |
virtual G4VUserPrimaryGeneratorAction * | GetGun (G4String which, G4String opt) const |
Find and get a gun in many possibilities. More... | |
void | Register (AllActions *) const |
Protected Attributes | |
std::vector< AllActions * > | fAllUserAction |
list of allocated AllActions to delete them More... | |
G4String | fUserActionOption |
action passed to the created user's actions if required More... | |
std::pair< G4String, G4String > | fWhichGenerator |
to keep what generator to be used. Defaut is "-","-", means the concrete implementation provides its own generator More... | |
This is the ActionInitialization class to handle PrintOut at different levels (run, events ...) from a unique AllAction event Class.
Definition at line 76 of file SToGS_PrintOut.hh.
|
inline |
Definition at line 79 of file SToGS_PrintOut.hh.
|
inlinevirtual |
Definition at line 82 of file SToGS_PrintOut.hh.
|
virtual |
Reimplemented from SToGS::AllInOneUserActionInitialization< PrintOutAction >.
Definition at line 216 of file SToGS_PrintOut.cc.
|
protectedinherited |
add the passed class to the list of allocated ones. It is required for a proper destruction
This call is thread locked
Definition at line 194 of file SToGS_UserActionInitialization.cc.
|
inlinevirtualinherited |
provide default ... likely to be changed since RunManager may be different from Slave and Master
Definition at line 266 of file SToGS_UserActionInitialization.hh.
|
staticinherited |
to get a general SToGS Calorimeter. In Multi-threading mode, return a new instance otherwise a global one
Definition at line 169 of file SToGS_UserActionInitialization.cc.
|
virtual |
Reimplemented from SToGS::AllInOneUserActionInitialization< PrintOutAction >.
Definition at line 197 of file SToGS_PrintOut.cc.
|
protectedvirtualinherited |
Find and get a gun in many possibilities.
Definition at line 123 of file SToGS_UserActionInitialization.cc.
|
virtualinherited |
depending on one string, select a given gun
Ex GPS: the gun is realized through the general GPS interface
Definition at line 136 of file SToGS_UserActionInitialization.cc.
|
virtual |
depending on one string, select a given gun
Reimplemented from SToGS::AllInOneUserActionInitialization< PrintOutAction >.
Definition at line 191 of file SToGS_PrintOut.cc.
|
virtual |
Reimplemented from SToGS::AllInOneUserActionInitialization< PrintOutAction >.
Definition at line 209 of file SToGS_PrintOut.cc.
|
staticinherited |
to get a general SToGS tracker. In Multi-threading mode, return a new instance otherwise a global one
Definition at line 144 of file SToGS_UserActionInitialization.cc.
|
virtual |
Reimplemented from SToGS::AllInOneUserActionInitialization< PrintOutAction >.
Definition at line 203 of file SToGS_PrintOut.cc.
|
protectedinherited |
Definition at line 215 of file SToGS_UserActionInitialization.cc.
|
inherited |
once allocated the generator associated with a UserActionInititialization could be changed here before asking for one
Definition at line 99 of file SToGS_UserActionInitialization.cc.
|
mutableprotectedinherited |
list of allocated AllActions to delete them
Definition at line 215 of file SToGS_UserActionInitialization.hh.
|
protectedinherited |
action passed to the created user's actions if required
Definition at line 219 of file SToGS_UserActionInitialization.hh.
|
protectedinherited |
to keep what generator to be used. Defaut is "-","-", means the concrete implementation provides its own generator
Definition at line 223 of file SToGS_UserActionInitialization.hh.