Geant4  10.03
RE02RunAction Class Reference

User run action class. More...

#include <RE02RunAction.hh>

+ Inheritance diagram for RE02RunAction:
+ Collaboration diagram for RE02RunAction:

Public Member Functions

 RE02RunAction ()
 
virtual ~RE02RunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void BeginOfRunAction (const G4Run *)
 
virtual void EndOfRunAction (const G4Run *)
 
G4int CopyNo (G4int ix, G4int iy, G4int iz)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

std::vector< G4StringfSDName
 
G4int fNx
 
G4int fNy
 
G4int fNz
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

User run action class.

Definition at line 69 of file RE02RunAction.hh.

Constructor & Destructor Documentation

RE02RunAction::RE02RunAction ( )

Definition at line 53 of file RE02RunAction.cc.

References fSDName.

RE02RunAction::~RE02RunAction ( )
virtual

Definition at line 64 of file RE02RunAction.cc.

References fSDName.

Member Function Documentation

void RE02RunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 81 of file RE02RunAction.cc.

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

+ Here is the call graph for this function:

G4int RE02RunAction::CopyNo ( G4int  ix,
G4int  iy,
G4int  iz 
)
inline

Definition at line 85 of file RE02RunAction.hh.

References fNx, and fNz.

Referenced by EndOfRunAction().

+ Here is the caller graph for this function:

void RE02RunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 88 of file RE02RunAction.cc.

References cm, CopyNo(), RE02Run::DumpAllScorer(), fNx, fNy, fNz, G4BestUnit, G4cout, G4endl, RE02Run::GetHitsMap(), G4VHitsCollection::GetName(), G4Run::GetNumberOfEvent(), RE02DetectorConstruction::GetNumberOfSegmentsInPhantom(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), G4UserRunAction::IsMaster(), and MeV.

+ Here is the call graph for this function:

G4Run * RE02RunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 71 of file RE02RunAction.cc.

References fSDName.

Member Data Documentation

G4int RE02RunAction::fNx
private

Definition at line 94 of file RE02RunAction.hh.

Referenced by CopyNo(), and EndOfRunAction().

G4int RE02RunAction::fNy
private

Definition at line 94 of file RE02RunAction.hh.

Referenced by EndOfRunAction().

G4int RE02RunAction::fNz
private

Definition at line 94 of file RE02RunAction.hh.

Referenced by CopyNo(), and EndOfRunAction().

std::vector<G4String> RE02RunAction::fSDName
private

Definition at line 91 of file RE02RunAction.hh.

Referenced by GenerateRun(), RE02RunAction(), and ~RE02RunAction().


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