EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4PhenixEventAction Class Reference

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4PhenixEventAction.h>

+ Inheritance diagram for PHG4PhenixEventAction:
+ Collaboration diagram for PHG4PhenixEventAction:

Public Member Functions

 PHG4PhenixEventAction (void)
 
 ~PHG4PhenixEventAction () override
 
void AddAction (PHG4EventAction *action)
 register an action. This is called in PHG4Reco::Init based on which actions are found on the tree
 
void BeginOfEventAction (const G4Event *) override
 
void EndOfEventAction (const G4Event *) override
 

Private Types

typedef std::list
< PHG4EventAction * > 
ActionList
 list of subsystem specific Event actions
 

Private Attributes

ActionList actions_
 
PHTimeServer::timer _timer
 module timer.
 

Detailed Description

Definition at line 16 of file PHG4PhenixEventAction.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4PhenixEventAction.h

Member Typedef Documentation

list of subsystem specific Event actions

Definition at line 35 of file PHG4PhenixEventAction.h.

View newest version in sPHENIX GitHub at line 35 of file PHG4PhenixEventAction.h

Constructor & Destructor Documentation

PHG4PhenixEventAction::PHG4PhenixEventAction ( void  )

Definition at line 10 of file PHG4PhenixEventAction.cc.

View newest version in sPHENIX GitHub at line 10 of file PHG4PhenixEventAction.cc

PHG4PhenixEventAction::~PHG4PhenixEventAction ( )
override

Definition at line 14 of file PHG4PhenixEventAction.cc.

View newest version in sPHENIX GitHub at line 14 of file PHG4PhenixEventAction.cc

References actions_.

Member Function Documentation

void PHG4PhenixEventAction::AddAction ( PHG4EventAction action)
inline

register an action. This is called in PHG4Reco::Init based on which actions are found on the tree

Definition at line 25 of file PHG4PhenixEventAction.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4PhenixEventAction.h

References actions_.

Referenced by PHG4Reco::InitRun().

+ Here is the caller graph for this function:

void PHG4PhenixEventAction::BeginOfEventAction ( const G4Event *  event)
override

Definition at line 24 of file PHG4PhenixEventAction.cc.

View newest version in sPHENIX GitHub at line 24 of file PHG4PhenixEventAction.cc

References _timer, actions_, PHTimeServer::timer::get(), PHTimer::restart(), and VERBOSE.

+ Here is the call graph for this function:

void PHG4PhenixEventAction::EndOfEventAction ( const G4Event *  event)
override

Definition at line 43 of file PHG4PhenixEventAction.cc.

View newest version in sPHENIX GitHub at line 43 of file PHG4PhenixEventAction.cc

References _timer, actions_, PHTimeServer::timer::get(), PHTimer::stop(), and VERBOSE.

+ Here is the call graph for this function:

Member Data Documentation

PHTimeServer::timer PHG4PhenixEventAction::_timer
private

module timer.

Definition at line 39 of file PHG4PhenixEventAction.h.

View newest version in sPHENIX GitHub at line 39 of file PHG4PhenixEventAction.h

Referenced by BeginOfEventAction(), and EndOfEventAction().

ActionList PHG4PhenixEventAction::actions_
private

Definition at line 36 of file PHG4PhenixEventAction.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4PhenixEventAction.h

Referenced by AddAction(), BeginOfEventAction(), EndOfEventAction(), and ~PHG4PhenixEventAction().


The documentation for this class was generated from the following files: