Geant4  10.02.p02
G4HumanPhantomRunAction Class Reference

#include <G4HumanPhantomRunAction.hh>

+ Inheritance diagram for G4HumanPhantomRunAction:
+ Collaboration diagram for G4HumanPhantomRunAction:

Public Member Functions

 G4HumanPhantomRunAction (G4HumanPhantomAnalysisManager *analysis)
 
 ~G4HumanPhantomRunAction ()
 
void BeginOfRunAction (const G4Run *)
 
void EndOfRunAction (const G4Run *)
 
void Fill (G4String bodypartName, G4double energyDeposit)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Member Functions

void totalRunEnergyDeposit ()
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 38 of file G4HumanPhantomRunAction.hh.

Constructor & Destructor Documentation

G4HumanPhantomRunAction::G4HumanPhantomRunAction ( G4HumanPhantomAnalysisManager analysis)

Definition at line 48 of file G4HumanPhantomRunAction.cc.

G4HumanPhantomRunAction::~G4HumanPhantomRunAction ( )

Definition at line 52 of file G4HumanPhantomRunAction.cc.

Member Function Documentation

void G4HumanPhantomRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 56 of file G4HumanPhantomRunAction.cc.

References energyTotal, G4cout, G4endl, and G4Run::GetRunID().

+ Here is the call graph for this function:

void G4HumanPhantomRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 109 of file G4HumanPhantomRunAction.cc.

References G4cout, G4endl, G4Run::GetNumberOfEvent(), and totalRunEnergyDeposit().

+ Here is the call graph for this function:

void G4HumanPhantomRunAction::Fill ( G4String  bodypartName,
G4double  energyDeposit 
)

Definition at line 121 of file G4HumanPhantomRunAction.cc.

References energyTotal.

Referenced by G4HumanPhantomEventAction::totalEventEnergyDeposit().

+ Here is the caller graph for this function:

void G4HumanPhantomRunAction::totalRunEnergyDeposit ( )
private

Definition at line 128 of file G4HumanPhantomRunAction.cc.

References energyTotal, G4String::first(), G4cout, G4endl, and MeV.

Referenced by EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4HumanPhantomRunAction::bodypartName
private

Definition at line 51 of file G4HumanPhantomRunAction.hh.

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

Definition at line 50 of file G4HumanPhantomRunAction.hh.

Referenced by BeginOfRunAction(), Fill(), and totalRunEnergyDeposit().


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