Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RMC01RunAction Class Reference

#include <RMC01RunAction.hh>

Inheritance diagram for RMC01RunAction:
Collaboration diagram for RMC01RunAction:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 60 of file RMC01RunAction.hh.

Constructor & Destructor Documentation

RMC01RunAction::RMC01RunAction ( )

Definition at line 47 of file RMC01RunAction.cc.

48  : G4UserRunAction(),
49  fAnalysisManager(0)
50 { fAnalysisManager = RMC01AnalysisManager::GetInstance();
51 }
static RMC01AnalysisManager * GetInstance()

Here is the call graph for this function:

RMC01RunAction::~RMC01RunAction ( )
virtual

Definition at line 55 of file RMC01RunAction.cc.

56 { if (fAnalysisManager) delete fAnalysisManager;
57 }

Member Function Documentation

void RMC01RunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 61 of file RMC01RunAction.cc.

62 {
63  G4cout << "### Run " << aRun->GetRunID() << " start." << G4endl;
64  fAnalysisManager->BeginOfRun(aRun);
65 }
G4GLOB_DLL std::ostream G4cout
G4int GetRunID() const
Definition: G4Run.hh:76
void BeginOfRun(const G4Run *)
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void RMC01RunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 69 of file RMC01RunAction.cc.

70 { fAnalysisManager->EndOfRun(aRun);
71 }
void EndOfRun(const G4Run *)

Here is the call graph for this function:


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