LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "UserActionManager.h"
Public Member Functions | |
virtual | ~UserActionManager () |
void | Close () |
G4int | GetSize () const |
UserAction * | GetAction (G4int i) const |
UserAction * | GetAction (std::string const &name) const |
G4int | GetIndex (std::string const &name) const |
void | PrintActionList (std::string const &opt) const |
virtual void | BeginOfRunAction (const G4Run *) |
virtual void | EndOfRunAction (const G4Run *) |
virtual void | BeginOfEventAction (const G4Event *) |
virtual void | EndOfEventAction (const G4Event *) |
virtual void | PreUserTrackingAction (const G4Track *) |
virtual void | PostUserTrackingAction (const G4Track *) |
virtual void | UserSteppingAction (const G4Step *) |
virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *) |
virtual void | NewStage () |
virtual void | PrepareNewEvent () |
virtual bool | DoesAnyActionProvideStacking () |
G4EventManager * | GetEventManager () const |
G4TrackingManager * | GetTrackingManager () const |
G4SteppingManager * | GetSteppingManager () const |
Static Public Member Functions | |
static UserActionManager * | Instance () |
static void | AddAndAdoptAction (UserAction *a) |
Protected Member Functions | |
UserActionManager () | |
Private Types | |
typedef std::vector< UserAction * > | fuserActions_t |
typedef fuserActions_t::const_iterator | fuserActions_ptr_t |
Static Private Attributes | |
static fuserActions_t | fuserActions |
Definition at line 60 of file UserActionManager.h.
Definition at line 112 of file UserActionManager.h.
|
private |
Definition at line 111 of file UserActionManager.h.
|
virtual |
|
protected |
Definition at line 30 of file UserActionManager.cxx.
|
inlinestatic |
Definition at line 82 of file UserActionManager.h.
References BeginOfEventAction(), BeginOfRunAction(), ClassifyNewTrack(), DoesAnyActionProvideStacking(), EndOfEventAction(), EndOfRunAction(), fuserActions, NewStage(), PostUserTrackingAction(), PrepareNewEvent(), PreUserTrackingAction(), and UserSteppingAction().
Referenced by larg4::LArG4::beginJob().
|
virtual |
Definition at line 122 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 106 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 163 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
void g4b::UserActionManager::Close | ( | ) |
Definition at line 53 of file UserActionManager.cxx.
References fuserActions.
Referenced by g4b::G4Helper::~G4Helper(), and ~UserActionManager().
|
virtual |
Definition at line 213 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction(), g4b::G4Helper::SetUserAction(), and g4b::G4Helper::~G4Helper().
|
virtual |
Definition at line 130 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 114 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
inline |
Definition at line 76 of file UserActionManager.h.
References fuserActions, GetIndex(), and PrintActionList().
Referenced by PrintActionList().
UserAction * g4b::UserActionManager::GetAction | ( | std::string const & | name | ) | const |
Definition at line 76 of file UserActionManager.cxx.
References fuserActions, and GetIndex().
|
inline |
Definition at line 106 of file UserActionManager.h.
G4int g4b::UserActionManager::GetIndex | ( | std::string const & | name | ) | const |
Definition at line 65 of file UserActionManager.cxx.
References fuserActions.
Referenced by GetAction().
|
inline |
Definition at line 75 of file UserActionManager.h.
References fuserActions.
Referenced by PrintActionList().
|
inline |
Definition at line 108 of file UserActionManager.h.
|
inline |
Definition at line 107 of file UserActionManager.h.
|
static |
Definition at line 36 of file UserActionManager.cxx.
References instance.
Referenced by larg4::LArG4::beginJob(), g4b::G4Helper::SetUserAction(), and g4b::G4Helper::~G4Helper().
|
virtual |
Definition at line 193 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 146 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 203 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
virtual |
Definition at line 138 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
void g4b::UserActionManager::PrintActionList | ( | std::string const & | opt | ) | const |
Definition at line 84 of file UserActionManager.cxx.
References GetAction(), g4b::UserAction::GetName(), GetSize(), g4b::UserAction::PrintConfig(), and g4b::UserAction::ProvidesStacking().
Referenced by GetAction().
|
virtual |
Definition at line 154 of file UserActionManager.cxx.
References fuserActions.
Referenced by AddAndAdoptAction().
|
staticprivate |
Definition at line 113 of file UserActionManager.h.
Referenced by AddAndAdoptAction(), BeginOfEventAction(), BeginOfRunAction(), ClassifyNewTrack(), Close(), DoesAnyActionProvideStacking(), EndOfEventAction(), EndOfRunAction(), GetAction(), GetIndex(), GetSize(), NewStage(), PostUserTrackingAction(), PrepareNewEvent(), PreUserTrackingAction(), and UserSteppingAction().