Geant4
9.6.p02
|
#include <B4bRunData.hh>
Public Member Functions | |
B4bRunData () | |
virtual | ~B4bRunData () |
void | Add (G4int id, G4double de, G4double dl) |
void | FillPerEvent () |
void | Reset () |
G4String | GetVolumeName (G4int id) const |
G4double | GetEdep (G4int id) const |
G4double | GetTrackLength (G4int id) const |
Static Public Member Functions | |
static B4bRunData * | GetInstance () |
Run data class
It defines data members to hold the energy deposit and track lengths of charged particles in Absober and Gap layers.
In order to reduce the number of data members a 2-dimensions array is introduced for each quantity:
The data are collected step by step in B4bSteppingAction, and the accumulated values are filled in histograms and entuple event by event in B4EventAction.
Definition at line 59 of file B4bRunData.hh.
B4bRunData::B4bRunData | ( | ) |
Definition at line 44 of file B4bRunData.cc.
|
virtual |
Definition at line 64 of file B4bRunData.cc.
void B4bRunData::FillPerEvent | ( | ) |
Definition at line 96 of file B4bRunData.hh.
|
inlinestatic |
Definition at line 100 of file B4bRunData.hh.
Definition at line 92 of file B4bRunData.hh.
void B4bRunData::Reset | ( | ) |