Geant4  10.00.p03
G4HumanPhantomEventAction Class Reference

#include <G4HumanPhantomEventAction.hh>

+ Inheritance diagram for G4HumanPhantomEventAction:
+ Collaboration diagram for G4HumanPhantomEventAction:

Public Member Functions

 G4HumanPhantomEventAction ()
 
 ~G4HumanPhantomEventAction ()
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Private Member Functions

void Fill (G4String bodypartName, G4double energyDeposit)
 
void totalEventEnergyDeposit ()
 

Private Attributes

G4int hitCollectionID
 
std::map< std::string, G4doubleenergyTotal
 
G4String bodypartName
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 42 of file G4HumanPhantomEventAction.hh.

Constructor & Destructor Documentation

G4HumanPhantomEventAction::G4HumanPhantomEventAction ( )

Definition at line 44 of file G4HumanPhantomEventAction.cc.

G4HumanPhantomEventAction::~G4HumanPhantomEventAction ( )

Definition at line 50 of file G4HumanPhantomEventAction.cc.

Member Function Documentation

void G4HumanPhantomEventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 54 of file G4HumanPhantomEventAction.cc.

References energyTotal, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and hitCollectionID.

+ Here is the call graph for this function:

void G4HumanPhantomEventAction::EndOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 106 of file G4HumanPhantomEventAction.cc.

References G4THitsCollection< T >::entries(), Fill(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), hitCollectionID, and totalEventEnergyDeposit().

+ Here is the call graph for this function:

void G4HumanPhantomEventAction::Fill ( G4String  bodypartName,
G4double  energyDeposit 
)
private

Definition at line 133 of file G4HumanPhantomEventAction.cc.

References energyTotal.

Referenced by EndOfEventAction().

+ Here is the caller graph for this function:

void G4HumanPhantomEventAction::totalEventEnergyDeposit ( )
private

Definition at line 140 of file G4HumanPhantomEventAction.cc.

References energyTotal, G4HumanPhantomRunAction::Fill(), G4String::first(), G4RunManager::GetRunManager(), and G4RunManager::GetUserRunAction().

Referenced by EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4HumanPhantomEventAction::bodypartName
private

Definition at line 58 of file G4HumanPhantomEventAction.hh.

std::map<std::string,G4double> G4HumanPhantomEventAction::energyTotal
private

Definition at line 57 of file G4HumanPhantomEventAction.hh.

Referenced by BeginOfEventAction(), Fill(), and totalEventEnergyDeposit().

G4int G4HumanPhantomEventAction::hitCollectionID
private

Definition at line 56 of file G4HumanPhantomEventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().


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