Public Member Functions | Static Private Attributes | Friends

EventAction Class Reference

EventAction class based on G4UserEventAction. More...

#include <EventAction.h>

Inheritance diagram for EventAction:
Inheritance graph
[legend]
Collaboration diagram for EventAction:
Collaboration graph
[legend]

List of all members.

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_Dataevdata = new EV_Data()
 Pointer to EV data.
static GN_Datagndata = new GN_Data()
 Pointer to MC data.
static GT_Datagtdata = new GT_Data()
 Pointer to GT data.
static LM_Datalmdata = new LM_Data()
 Pointer to LM data.
static MW_Datamwdata = new MW_Data()
 Pointer to MW data.
static SM_Datasmdata = new SM_Data()
 Pointer to MW data.
static TF_Datatfdata = new TF_Data()
 Pointer to TF data.
static WC_Datawcdata = 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

Detailed Description

EventAction class based on G4UserEventAction.

Definition at line 40 of file EventAction.h.


Constructor & Destructor Documentation

EventAction::EventAction (  )

Constructor.

Definition at line 58 of file EventAction.cc.

EventAction::~EventAction (  )

Destructor.

Definition at line 62 of file EventAction.cc.


Member Function Documentation

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.

Here is the call graph for this function:

void EventAction::Print ( const G4Event *  event )

Print generated event information.

Definition at line 169 of file EventAction.cc.


Friends And Related Function Documentation

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.


Member Data Documentation

EV_Data * EventAction::evdata = new EV_Data() [static, private]

Pointer to EV data.

Definition at line 76 of file EventAction.h.

Referenced by EndOfEventAction().

GN_Data * EventAction::gndata = new GN_Data() [static, private]

Pointer to MC data.

Definition at line 75 of file EventAction.h.

Referenced by EndOfEventAction().

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().


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