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

Run action for the persistency example. More...

#include <ExP01RunAction.hh>

Inheritance diagram for ExP01RunAction:
Collaboration diagram for ExP01RunAction:

Public Member Functions

 ExP01RunAction ()
 
 ~ExP01RunAction ()
 
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

Run action for the persistency example.

Definition at line 47 of file ExP01RunAction.hh.

Constructor & Destructor Documentation

ExP01RunAction::ExP01RunAction ( )

Definition at line 41 of file ExP01RunAction.cc.

43 {}
ExP01RunAction::~ExP01RunAction ( )

Definition at line 47 of file ExP01RunAction.cc.

48 {}

Member Function Documentation

void ExP01RunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 52 of file ExP01RunAction.cc.

53 {
54  G4cout << "### Run " << aRun->GetRunID() << " start." << G4endl;
55 }
G4GLOB_DLL std::ostream G4cout
G4int GetRunID() const
Definition: G4Run.hh:76
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void ExP01RunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 59 of file ExP01RunAction.cc.

60 { }

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