EventAction Class Reference

#include <EventAction.hh>

List of all members.

Public Member Functions

 EventAction ()
virtual ~EventAction ()
void BeginOfEventAction (const G4Event *)
void EndOfEventAction (const G4Event *)

Private Attributes

RunActionrunAct
EventActionMessengereventMessenger

Detailed Description

Definition at line 48 of file EventAction.hh.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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 }  


Member Data Documentation

Definition at line 60 of file EventAction.hh.

Referenced by EventAction(), and ~EventAction().

Definition at line 58 of file EventAction.hh.

Referenced by EventAction().


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

Generated on 15 Jun 2016 for g4sim by  doxygen 1.6.1