#include <EventAction.hh>
Public Member Functions | |
EventAction () | |
virtual | ~EventAction () |
void | BeginOfEventAction (const G4Event *) |
void | EndOfEventAction (const G4Event *) |
Private Attributes | |
RunAction * | runAct |
EventActionMessenger * | eventMessenger |
Definition at line 48 of file EventAction.hh.
EventAction::EventAction | ( | ) |
Definition at line 59 of file EventAction.cc.
References eventMessenger, and runAct.
00060 { 00061 runAct = (RunAction*)G4RunManager::GetRunManager()->GetUserRunAction(); 00062 eventMessenger = new EventActionMessenger(this); 00063 }
EventAction::~EventAction | ( | ) | [virtual] |
Definition at line 67 of file EventAction.cc.
References eventMessenger.
00068 { 00069 delete eventMessenger; 00070 }
void EventAction::BeginOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 74 of file EventAction.cc.
References MyAnalysisSvc::BeginOfEventAction(), and MyAnalysisSvc::GetMyAnalysisSvc().
00075 { 00076 //deal with analysis 00077 MyAnalysisSvc::GetMyAnalysisSvc()->BeginOfEventAction(); 00078 }
void EventAction::EndOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 82 of file EventAction.cc.
References MyAnalysisSvc::EndOfEventAction(), and MyAnalysisSvc::GetMyAnalysisSvc().
00083 { 00084 //deal with analysis 00085 MyAnalysisSvc::GetMyAnalysisSvc()->EndOfEventAction(evt); 00086 }
EventActionMessenger* EventAction::eventMessenger [private] |
Definition at line 60 of file EventAction.hh.
Referenced by EventAction(), and ~EventAction().
RunAction* EventAction::runAct [private] |
Definition at line 58 of file EventAction.hh.
Referenced by EventAction().