#include "ArtG4RunManager.hh"
Definition at line 36 of file ArtG4RunManager.hh.
artg4tk::ArtG4RunManager::ArtG4RunManager |
( |
| ) |
|
artg4tk::ArtG4RunManager::~ArtG4RunManager |
( |
| ) |
|
|
virtual |
void artg4tk::ArtG4RunManager::BeamOnBeginRun |
( |
unsigned int |
runNumber, |
|
|
const char * |
macroFile = 0 , |
|
|
G4int |
n_select = -1 |
|
) |
| |
|
virtual |
void artg4tk::ArtG4RunManager::BeamOnDoOneEvent |
( |
int |
eventNumber | ) |
|
|
virtual |
Definition at line 79 of file ArtG4RunManager.cc.
References msg_, n_select_, nProcessed_, realElapsed_, systemElapsed_, and userElapsed_.
85 currentEvent = GenerateEvent(eventNumber);
86 eventManager->ProcessOneEvent(currentEvent);
87 AnalyzeEvent(currentEvent);
91 G4UImanager::GetUIpointer()->ApplyCommand(
msg_);
101 if (verboseLevel > 0) {
103 G4int oldPrecision = G4cout.precision(3);
104 std::ios::fmtflags oldFlags = G4cout.flags();
105 G4cout.setf(std::ios::fixed, std::ios::floatfield);
107 G4cout <<
"TimeEvent> " << eventNumber <<
" " 108 << G4RunManager::GetRunManager()->GetCurrentRun()->GetRunID() <<
" " 109 << timer->GetRealElapsed() <<
" " 110 << timer->GetUserElapsed() + timer->GetSystemElapsed() <<
" " 113 G4cout.setf(oldFlags);
114 G4cout.precision(oldPrecision);
void artg4tk::ArtG4RunManager::BeamOnEndEvent |
( |
| ) |
|
|
virtual |
void artg4tk::ArtG4RunManager::BeamOnEndRun |
( |
| ) |
|
|
virtual |
Definition at line 130 of file ArtG4RunManager.cc.
References nProcessed_, realElapsed_, systemElapsed_, and userElapsed_.
134 if (verboseLevel > 0) {
136 G4cout <<
"G4Run terminated." << G4endl;
137 G4cout <<
"G4Run Summary" << G4endl;
139 G4cout <<
" G4Run Aborted after " <<
nProcessed_ <<
" events processed." << G4endl;
141 G4cout <<
" Number of events processed : " <<
nProcessed_ << G4endl;
146 G4int oldPrecision = G4cout.precision(3);
147 std::ios::fmtflags oldFlags = G4cout.flags();
148 G4cout.setf(std::ios::fixed, std::ios::floatfield);
150 G4cout <<
"TimeReport> Time report complete in ";
152 G4cout <<
" seconds" << G4endl;
154 G4cout.setf(oldFlags);
155 G4cout.precision(oldPrecision);
G4Event const* artg4tk::ArtG4RunManager::getCurrentEvent |
( |
| ) |
const |
|
inline |
G4Timer const* artg4tk::ArtG4RunManager::getG4Timer |
( |
| ) |
const |
|
inline |
G4double artg4tk::ArtG4RunManager::realElapsedTime |
( |
| ) |
const |
|
inline |
G4double artg4tk::ArtG4RunManager::systemElapsedTime |
( |
| ) |
const |
|
inline |
G4double artg4tk::ArtG4RunManager::userElapsedTime |
( |
| ) |
const |
|
inline |
char const* artg4tk::ArtG4RunManager::macroFile_ |
|
private |
G4int artg4tk::ArtG4RunManager::n_select_ |
|
private |
G4int artg4tk::ArtG4RunManager::nProcessed_ |
|
private |
G4Event* artg4tk::ArtG4RunManager::previousEvent_ |
|
private |
G4double artg4tk::ArtG4RunManager::realElapsed_ |
|
private |
G4double artg4tk::ArtG4RunManager::systemElapsed_ |
|
private |
G4double artg4tk::ArtG4RunManager::userElapsed_ |
|
private |
The documentation for this class was generated from the following files: