Geant4
10.02.p02
|
#include <GammaRayTelRunAction.hh>
Public Member Functions | |
GammaRayTelRunAction () | |
~GammaRayTelRunAction () | |
void | BeginOfRunAction (const G4Run *) |
void | EndOfRunAction (const G4Run *) |
std::ofstream * | GetOutputFile () |
Public Member Functions inherited from G4UserRunAction | |
G4UserRunAction () | |
virtual | ~G4UserRunAction () |
virtual G4Run * | GenerateRun () |
void | SetMaster (G4bool val=true) |
G4bool | IsMaster () const |
Private Member Functions | |
void | OpenFile () |
Private Attributes | |
std::ofstream * | outFile |
G4String | fileName |
G4int | fRunID |
Additional Inherited Members | |
Protected Attributes inherited from G4UserRunAction | |
G4bool | isMaster |
Definition at line 51 of file GammaRayTelRunAction.hh.
GammaRayTelRunAction::GammaRayTelRunAction | ( | ) |
Definition at line 55 of file GammaRayTelRunAction.cc.
GammaRayTelRunAction::~GammaRayTelRunAction | ( | ) |
Definition at line 62 of file GammaRayTelRunAction.cc.
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 67 of file GammaRayTelRunAction.cc.
References G4UImanager::ApplyCommand(), GammaRayTelAnalysis::BeginOfRun(), fRunID, G4cout, G4endl, G4VVisManager::GetConcreteInstance(), GammaRayTelAnalysis::getInstance(), G4Run::GetRunID(), G4UImanager::GetUIpointer(), and G4UserRunAction::IsMaster().
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 92 of file GammaRayTelRunAction.cc.
References GammaRayTelAnalysis::EndOfRun(), fileName, G4cout, G4endl, GammaRayTelAnalysis::getInstance(), G4Run::GetRunID(), and outFile.
std::ofstream * GammaRayTelRunAction::GetOutputFile | ( | ) |
Definition at line 115 of file GammaRayTelRunAction.cc.
References OpenFile(), and outFile.
Referenced by GammaRayTelEventAction::EndOfEventAction().
|
private |
Definition at line 123 of file GammaRayTelRunAction.cc.
References fileName, fRunID, G4cout, G4endl, G4Threading::G4GetThreadId(), name, and outFile.
Referenced by GetOutputFile().
|
private |
Definition at line 65 of file GammaRayTelRunAction.hh.
Referenced by EndOfRunAction(), and OpenFile().
|
private |
Definition at line 68 of file GammaRayTelRunAction.hh.
Referenced by BeginOfRunAction(), and OpenFile().
|
private |
Definition at line 64 of file GammaRayTelRunAction.hh.
Referenced by EndOfRunAction(), GetOutputFile(), and OpenFile().