Run action class.
More...
#include <B3aRunAction.hh>
Run action class.
Definition at line 40 of file B3aRunAction.hh.
B3aRunAction::B3aRunAction |
( |
| ) |
|
Definition at line 42 of file B3aRunAction.cc.
static G4AccumulableManager * Instance()
static constexpr double microgray
G4bool RegisterAccumulable(G4Accumulable< T > &accumulable)
static constexpr double gray
static constexpr double milligray
B3aRunAction::~B3aRunAction |
( |
| ) |
|
|
virtual |
void B3aRunAction::BeginOfRunAction |
( |
const G4Run * |
run | ) |
|
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 72 of file B3aRunAction.cc.
78 accumulableManager->
Reset();
void SetRandomNumberStore(G4bool flag)
static G4AccumulableManager * Instance()
G4GLOB_DLL std::ostream G4cout
static G4RunManager * GetRunManager()
void B3aRunAction::CountEvent |
( |
| ) |
|
|
inline |
void B3aRunAction::EndOfRunAction |
( |
const G4Run * |
run | ) |
|
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 86 of file B3aRunAction.cc.
89 if (nofEvents == 0)
return;
93 accumulableManager->
Merge();
115 <<
"--------------------End of Global Run-----------------------"
117 <<
" The run was " << nofEvents <<
" events ";
123 <<
"--------------------End of Local Run------------------------"
125 <<
" The run was " << nofEvents <<
" "<< partName;
128 <<
"; Nb of 'good' e+ annihilations: " << fGoodEvents.
GetValue() <<
G4endl
131 <<
"------------------------------------------------------------" <<
G4endl
const G4VUserPrimaryGeneratorAction * GetUserPrimaryGeneratorAction() const
const G4ParticleGun * GetParticleGun() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
const G4String & GetParticleName() const
static G4AccumulableManager * Instance()
G4GLOB_DLL std::ostream G4cout
G4int GetNumberOfEvent() const
static G4RunManager * GetRunManager()
G4ParticleDefinition * GetParticleDefinition() const
The documentation for this class was generated from the following files: