7 _timer(
PHTimeServer::get()->insert_new(
"PHG4PhenixEventAction" ) )
12 while (actions_.begin() != actions_.end())
14 delete actions_.back();
24 if (
VERBOSE ) std::cout <<
"PHG4PhenixEventAction::BeginOfEventAction" << std::endl;
27 for( ActionList::const_iterator iter = actions_.begin(); iter != actions_.end(); ++iter )
31 if (
VERBOSE ) std::cout <<
"PHG4PhenixEventAction::BeginOfEventAction - processing " << *iter << std::endl;
32 (*iter)->BeginOfEventAction( event );
42 if (
VERBOSE ) std::cout <<
"PHG4PhenixEventAction::EndOfEventAction" << std::endl;
45 for( ActionList::const_iterator iter = actions_.begin(); iter != actions_.end(); ++iter )
49 if (
VERBOSE ) std::cout <<
"PHG4PhenixEventAction::EndOfEventAction - processing " << *iter << std::endl;
50 (*iter)->EndOfEventAction( event );
void EndOfEventAction(const G4Event *)
virtual ~PHG4PhenixEventAction()
void BeginOfEventAction(const G4Event *)
PHG4PhenixEventAction(void)
PHTimer server for accessing external information.
void restart()
Restart timer.
void stop()
stops the counter