Geant4  10.03
HadrontherapyEventAction Class Reference

#include <HadrontherapyEventAction.hh>

+ Inheritance diagram for HadrontherapyEventAction:
+ Collaboration diagram for HadrontherapyEventAction:

Public Member Functions

 HadrontherapyEventAction ()
 
 ~HadrontherapyEventAction ()
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
void SetPrintModulo (G4int val)
 
void SetDrawFlag (G4String val)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

G4String drawFlag
 
G4int hitsCollectionID
 
G4int printModulo
 
HadrontherapyEventActionMessengerpointerEventMessenger
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 38 of file HadrontherapyEventAction.hh.

Constructor & Destructor Documentation

HadrontherapyEventAction::HadrontherapyEventAction ( )

Definition at line 45 of file HadrontherapyEventAction.cc.

References hitsCollectionID, and pointerEventMessenger.

HadrontherapyEventAction::~HadrontherapyEventAction ( )

Definition at line 53 of file HadrontherapyEventAction.cc.

References pointerEventMessenger.

Member Function Documentation

void HadrontherapyEventAction::BeginOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 59 of file HadrontherapyEventAction.cc.

References G4cout, G4endl, G4Event::GetEventID(), G4SDManager::GetSDMpointer(), hitsCollectionID, and printModulo.

+ Here is the call graph for this function:

void HadrontherapyEventAction::EndOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 73 of file HadrontherapyEventAction.cc.

References HadrontherapyMatrix::GetInstance(), hitsCollectionID, and MeV.

+ Here is the call graph for this function:

void HadrontherapyEventAction::SetDrawFlag ( G4String  val)
inline

Definition at line 53 of file HadrontherapyEventAction.hh.

References drawFlag.

Referenced by HadrontherapyEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void HadrontherapyEventAction::SetPrintModulo ( G4int  val)
inline

Definition at line 48 of file HadrontherapyEventAction.hh.

References printModulo.

Referenced by HadrontherapyEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4String HadrontherapyEventAction::drawFlag
private

Definition at line 56 of file HadrontherapyEventAction.hh.

Referenced by SetDrawFlag().

G4int HadrontherapyEventAction::hitsCollectionID
private
HadrontherapyEventActionMessenger* HadrontherapyEventAction::pointerEventMessenger
private
G4int HadrontherapyEventAction::printModulo
private

Definition at line 62 of file HadrontherapyEventAction.hh.

Referenced by BeginOfEventAction(), and SetPrintModulo().


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