Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4UserEventAction Class Reference

#include <G4UserEventAction.hh>

Inherited by B1EventAction, B1EventAction, B1EventAction, B2EventAction, B2EventAction, B2EventAction, B3aEventAction, B4aEventAction, B4bEventAction, B4cEventAction, B4dEventAction, B5EventAction, CB_G4UserEventAction, CCalEndOfEventAction, CexmcEventAction, CML2EventAction, demo.MyEventAction, DicomEventAction, DMXEventAction, eRositaEventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, ExExChEventAction, ExG4EventAction01, ExG4EventAction01, ExG4EventAction01, ExGflashEventAction, ExN02EventAction, ExN04EventAction, ExN04EventAction, ExP01EventAction, F01EventAction, F02EventAction, F03EventAction, F04EventAction, FCALTBEventAction, G4BlineEventAction, G4HumanPhantomEventAction, G4MultiEventAction, GammaRayTelEventAction, H02EventAction, HadrontherapyEventAction, IORTEventAction, LXeEventAction, MCTruthEventAction, Par02EventAction, PurgMagEventAction, QEventAction, RE01EventAction, RE02EventAction, RE04EventAction, RE05EventAction, RMC01AdjointEventAction, RMC01EventAction, root_test.MyEventAction, run.MyEventAction, test.MyEventAction, test.MyEventAction, test.MyEventAction, UltraEventAction, WLSEventAction, and XrayFluoEventAction.

Collaboration diagram for G4UserEventAction:

Public Member Functions

 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 
virtual void BeginOfEventAction (const G4Event *anEvent)
 
virtual void EndOfEventAction (const G4Event *anEvent)
 

Protected Attributes

G4EventManagerfpEventManager
 

Detailed Description

Definition at line 51 of file G4UserEventAction.hh.

Constructor & Destructor Documentation

G4UserEventAction::G4UserEventAction ( )

Definition at line 36 of file G4UserEventAction.cc.

37 {
38  if(!(G4ParticleTable::GetParticleTable()->GetReadiness()))
39  {
40  G4String msg;
41  msg = " You are instantiating G4UserEventAction BEFORE your\n";
42  msg += "G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n";
43  msg += " Such an instantiation is prohibited by Geant4 version 8.0. To fix this problem,\n";
44  msg += "please make sure that your main() instantiates G4VUserPhysicsList AND\n";
45  msg += "set it to G4RunManager before instantiating other user action classes\n";
46  msg += "such as G4UserEventAction.";
47  G4Exception("G4UserEventAction::G4UserEventAction()",
48  "Event0032",FatalException,msg);
49  }
50 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
static G4ParticleTable * GetParticleTable()

Here is the call graph for this function:

G4UserEventAction::~G4UserEventAction ( )
virtual

Definition at line 52 of file G4UserEventAction.cc.

53 {;}

Member Function Documentation

void G4UserEventAction::BeginOfEventAction ( const G4Event anEvent)
virtual

Reimplemented in CexmcEventAction, G4MultiEventAction, G4BlineEventAction, XrayFluoEventAction, RMC01AdjointEventAction, UltraEventAction, DMXEventAction, EventAction, EventAction, EventAction, EventAction, GammaRayTelEventAction, EventAction, Par02EventAction, RMC01EventAction, DicomEventAction, EventAction, IORTEventAction, CML2EventAction, RE02EventAction, PurgMagEventAction, MCTruthEventAction, RE04EventAction, EventAction, EventAction, EventAction, EventAction, F03EventAction, ExG4EventAction01, EventAction, ExG4EventAction01, F01EventAction, F02EventAction, ExG4EventAction01, WLSEventAction, ExP01EventAction, FCALTBEventAction, EventAction, B4cEventAction, EventAction, EventAction, EventAction, LXeEventAction, EventAction, B3aEventAction, B4aEventAction, B4dEventAction, EventAction, EventAction, EventAction, EventAction, ExN02EventAction, EventAction, EventAction, F04EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, G4HumanPhantomEventAction, B4bEventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, QEventAction, B1EventAction, B5EventAction, B1EventAction, ExExChEventAction, RE01EventAction, eRositaEventAction, B2EventAction, B2EventAction, B2EventAction, B1EventAction, HadrontherapyEventAction, ExN04EventAction, RE05EventAction, CB_G4UserEventAction, ExN04EventAction, ExGflashEventAction, H02EventAction, EventAction, and EventAction.

Definition at line 55 of file G4UserEventAction.cc.

56 {;}

Here is the caller graph for this function:

void G4UserEventAction::EndOfEventAction ( const G4Event anEvent)
virtual

Reimplemented in CexmcEventAction, G4MultiEventAction, G4BlineEventAction, XrayFluoEventAction, RMC01AdjointEventAction, UltraEventAction, DMXEventAction, Par02EventAction, EventAction, EventAction, EventAction, EventAction, GammaRayTelEventAction, EventAction, RMC01EventAction, DicomEventAction, EventAction, IORTEventAction, CML2EventAction, RE02EventAction, PurgMagEventAction, MCTruthEventAction, RE04EventAction, EventAction, EventAction, EventAction, EventAction, F03EventAction, ExG4EventAction01, EventAction, ExG4EventAction01, F01EventAction, F02EventAction, ExG4EventAction01, WLSEventAction, ExP01EventAction, FCALTBEventAction, EventAction, B4cEventAction, EventAction, EventAction, EventAction, LXeEventAction, CB_G4UserEventAction, EventAction, B3aEventAction, B4aEventAction, B4dEventAction, EventAction, EventAction, EventAction, EventAction, ExN02EventAction, EventAction, EventAction, F04EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, CCalEndOfEventAction, G4HumanPhantomEventAction, B4bEventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, EventAction, QEventAction, B1EventAction, B5EventAction, B1EventAction, ExExChEventAction, RE01EventAction, eRositaEventAction, B2EventAction, B2EventAction, B2EventAction, B1EventAction, HadrontherapyEventAction, ExN04EventAction, RE05EventAction, ExN04EventAction, ExGflashEventAction, H02EventAction, EventAction, and EventAction.

Definition at line 58 of file G4UserEventAction.cc.

59 {;}

Here is the caller graph for this function:

virtual void G4UserEventAction::SetEventManager ( G4EventManager value)
inlinevirtual

Reimplemented in G4MultiEventAction.

Definition at line 56 of file G4UserEventAction.hh.

57  { fpEventManager = value; }
G4EventManager * fpEventManager
const XML_Char int const XML_Char * value
Definition: expat.h:331

Here is the caller graph for this function:

Member Data Documentation

G4EventManager* G4UserEventAction::fpEventManager
protected

Definition at line 63 of file G4UserEventAction.hh.


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