EventAction class based on G4UserEventAction. More...
#include <EventAction.h>


Public Member Functions | |
| EventAction () | |
| Constructor.   | |
| ~EventAction () | |
| Destructor.   | |
| void | BeginOfEventAction (const G4Event *event) | 
| Routine to perform various actions at the start of an event.   | |
| void | EndOfEventAction (const G4Event *event) | 
| Routine to perform various actions at the end of an event.   | |
| void | Print (const G4Event *event) | 
| Print generated event information.   | |
Static Private Attributes | |
| static EV_Data * | evdata = new EV_Data() | 
| Pointer to EV data.   | |
| static GN_Data * | gndata = new GN_Data() | 
| Pointer to MC data.   | |
| static GT_Data * | gtdata = new GT_Data() | 
| Pointer to GT data.   | |
| static LM_Data * | lmdata = new LM_Data() | 
| Pointer to LM data.   | |
| static MW_Data * | mwdata = new MW_Data() | 
| Pointer to MW data.   | |
| static SM_Data * | smdata = new SM_Data() | 
| Pointer to MW data.   | |
| static TF_Data * | tfdata = new TF_Data() | 
| Pointer to TF data.   | |
| static WC_Data * | wcdata = new WC_Data() | 
| Pointer to WC data.   | |
Friends | |
| class | GT_SD | 
| class | LM_SD | 
| class | MW_SD | 
| class | SM_SD | 
| class | TF_SD | 
| class | WC_SD | 
EventAction class based on G4UserEventAction.
Definition at line 40 of file EventAction.h.
| EventAction::EventAction | ( | ) | 
Constructor.
Definition at line 58 of file EventAction.cc.
| EventAction::~EventAction | ( | ) | 
Destructor.
Definition at line 62 of file EventAction.cc.
| void EventAction::BeginOfEventAction | ( | const G4Event * | event ) | 
Routine to perform various actions at the start of an event.
Definition at line 66 of file EventAction.cc.
| void EventAction::EndOfEventAction | ( | const G4Event * | event ) | 
Routine to perform various actions at the end of an event.
Definition at line 91 of file EventAction.cc.
References evdata, gndata, gtdata, GN_Data::id, lmdata, mwdata, EV_Data::nEV, GN_Data::nGN, GN_Data::px, GN_Data::py, GN_Data::pz, GN_Data::q, GN_Data::Reset(), EV_Data::Reset(), smdata, tfdata, GN_Data::tr, RunAction::Tree, wcdata, GN_Data::x, GN_Data::y, and GN_Data::z.

| void EventAction::Print | ( | const G4Event * | event ) | 
Print generated event information.
Definition at line 169 of file EventAction.cc.
friend class GT_SD [friend] | 
        
Definition at line 68 of file EventAction.h.
friend class LM_SD [friend] | 
        
Definition at line 71 of file EventAction.h.
friend class MW_SD [friend] | 
        
Definition at line 72 of file EventAction.h.
friend class SM_SD [friend] | 
        
Definition at line 73 of file EventAction.h.
friend class TF_SD [friend] | 
        
Definition at line 70 of file EventAction.h.
friend class WC_SD [friend] | 
        
Definition at line 69 of file EventAction.h.
EV_Data * EventAction::evdata = new EV_Data() [static, private] | 
        
GN_Data * EventAction::gndata = new GN_Data() [static, private] | 
        
GT_Data * EventAction::gtdata = new GT_Data() [static, private] | 
        
Pointer to GT data.
Definition at line 77 of file EventAction.h.
Referenced by GT_SD::EndOfEvent(), and EndOfEventAction().
LM_Data * EventAction::lmdata = new LM_Data() [static, private] | 
        
Pointer to LM data.
Definition at line 80 of file EventAction.h.
Referenced by LM_SD::EndOfEvent(), and EndOfEventAction().
MW_Data * EventAction::mwdata = new MW_Data() [static, private] | 
        
Pointer to MW data.
Definition at line 81 of file EventAction.h.
Referenced by MW_SD::EndOfEvent(), and EndOfEventAction().
SM_Data * EventAction::smdata = new SM_Data() [static, private] | 
        
Pointer to MW data.
Definition at line 82 of file EventAction.h.
Referenced by SM_SD::EndOfEvent(), and EndOfEventAction().
TF_Data * EventAction::tfdata = new TF_Data() [static, private] | 
        
Pointer to TF data.
Definition at line 79 of file EventAction.h.
Referenced by TF_SD::EndOfEvent(), and EndOfEventAction().
WC_Data * EventAction::wcdata = new WC_Data() [static, private] | 
        
Pointer to WC data.
Definition at line 78 of file EventAction.h.
Referenced by WC_SD::EndOfEvent(), and EndOfEventAction().
 1.7.2