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

#include <eRositaRunAction.hh>

Inheritance diagram for eRositaRunAction:
Collaboration diagram for eRositaRunAction:

Public Member Functions

 eRositaRunAction ()
 
 ~eRositaRunAction ()
 
void BeginOfRunAction (const G4Run *)
 
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 41 of file eRositaRunAction.hh.

Constructor & Destructor Documentation

eRositaRunAction::eRositaRunAction ( )

Definition at line 36 of file eRositaRunAction.cc.

37 {}
eRositaRunAction::~eRositaRunAction ( )

Definition at line 40 of file eRositaRunAction.cc.

41 {}

Member Function Documentation

void eRositaRunAction::BeginOfRunAction ( const G4Run run)
virtual

Reimplemented from G4UserRunAction.

Definition at line 45 of file eRositaRunAction.cc.

46 {
47  timerRun.Start();
48 
49  G4cout << "--- Run " << run->GetRunID() << " start." << G4endl;
50 
52 }
static AnalysisManager * Instance()
G4GLOB_DLL std::ostream G4cout
G4int GetRunID() const
Definition: G4Run.hh:76
#define G4endl
Definition: G4ios.hh:61
void Start()

Here is the call graph for this function:

void eRositaRunAction::EndOfRunAction ( const G4Run run)
virtual

Reimplemented from G4UserRunAction.

Definition at line 56 of file eRositaRunAction.cc.

57 {
58 
60 
61  G4cout << "--- Run " << run->GetRunID()
62  << run -> GetRunID()
63  << " ends (Number of events = "
64  << run -> GetNumberOfEvent() << ")."
65  << G4endl;
66 
67  timerRun.Stop();
68  std::cout << " " << timerRun << std::endl;
69 }
static AnalysisManager * Instance()
static void Destroy()
G4GLOB_DLL std::ostream G4cout
G4int GetRunID() const
Definition: G4Run.hh:76
void Stop()
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:


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