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

#include <geant4/tree/geant4-10.6-release/examples/advanced/gammaknife/include/GammaKnifeRunAction.hh>

+ Inheritance diagram for GammaKnifeRunAction:
+ Collaboration diagram for GammaKnifeRunAction:

Public Member Functions

 GammaKnifeRunAction (G4bool isOnMaster)
 
 ~GammaKnifeRunAction ()
 
void BeginOfRunAction (const G4Run *)
 
void EndOfRunAction (const G4Run *)
 
void SelectEnergy (G4int)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

G4Timertimer
 
G4double sum_real
 
G4double sum_user
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 46 of file GammaKnifeRunAction.hh.

View newest version in sPHENIX GitHub at line 46 of file GammaKnifeRunAction.hh

Constructor & Destructor Documentation

GammaKnifeRunAction::GammaKnifeRunAction ( G4bool  isOnMaster)

Definition at line 44 of file GammaKnifeRunAction.cc.

View newest version in sPHENIX GitHub at line 44 of file GammaKnifeRunAction.cc

References sum_real, sum_user, and timer.

GammaKnifeRunAction::~GammaKnifeRunAction ( )

Definition at line 53 of file GammaKnifeRunAction.cc.

View newest version in sPHENIX GitHub at line 53 of file GammaKnifeRunAction.cc

References timer.

Member Function Documentation

void GammaKnifeRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 60 of file GammaKnifeRunAction.cc.

View newest version in sPHENIX GitHub at line 60 of file GammaKnifeRunAction.cc

References G4cout, G4endl, G4RunManager::GetRunManager(), G4RunManager::SetRandomNumberStore(), G4Timer::Start(), and timer.

+ Here is the call graph for this function:

void GammaKnifeRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 70 of file GammaKnifeRunAction.cc.

View newest version in sPHENIX GitHub at line 70 of file GammaKnifeRunAction.cc

References G4cout, G4endl, G4Timer::Stop(), sum_real, sum_user, and timer.

+ Here is the call graph for this function:

void GammaKnifeRunAction::SelectEnergy ( G4int  )

Member Data Documentation

G4double GammaKnifeRunAction::sum_real
private

Definition at line 60 of file GammaKnifeRunAction.hh.

View newest version in sPHENIX GitHub at line 60 of file GammaKnifeRunAction.hh

Referenced by EndOfRunAction(), and GammaKnifeRunAction().

G4double GammaKnifeRunAction::sum_user
private

Definition at line 61 of file GammaKnifeRunAction.hh.

View newest version in sPHENIX GitHub at line 61 of file GammaKnifeRunAction.hh

Referenced by EndOfRunAction(), and GammaKnifeRunAction().

G4Timer* GammaKnifeRunAction::timer
private

Definition at line 59 of file GammaKnifeRunAction.hh.

View newest version in sPHENIX GitHub at line 59 of file GammaKnifeRunAction.hh

Referenced by BeginOfRunAction(), EndOfRunAction(), GammaKnifeRunAction(), and ~GammaKnifeRunAction().


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