ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HumanPhantomRunAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/human_phantom/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 ()
 
virtual 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 39 of file G4HumanPhantomRunAction.hh.

View newest version in sPHENIX GitHub at line 39 of file G4HumanPhantomRunAction.hh

Constructor & Destructor Documentation

G4HumanPhantomRunAction::G4HumanPhantomRunAction ( G4HumanPhantomAnalysisManager analysis)

Definition at line 43 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 43 of file G4HumanPhantomRunAction.cc

G4HumanPhantomRunAction::~G4HumanPhantomRunAction ( )

Definition at line 47 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 47 of file G4HumanPhantomRunAction.cc

Member Function Documentation

void G4HumanPhantomRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 51 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 51 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 104 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 104 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 116 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 116 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 123 of file G4HumanPhantomRunAction.cc.

View newest version in sPHENIX GitHub at line 123 of file G4HumanPhantomRunAction.cc

References energyTotal, G4cout, G4endl, k, and MeV.

Referenced by EndOfRunAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4HumanPhantomRunAction::bodypartName
private

Definition at line 52 of file G4HumanPhantomRunAction.hh.

View newest version in sPHENIX GitHub at line 52 of file G4HumanPhantomRunAction.hh

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

Definition at line 51 of file G4HumanPhantomRunAction.hh.

View newest version in sPHENIX GitHub at line 51 of file G4HumanPhantomRunAction.hh

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


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