Geant4
10.00.p01
|
#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 |
Public Member Functions inherited from G4Run | |
G4Run () | |
virtual | ~G4Run () |
virtual void | RecordEvent (const G4Event *) |
virtual void | Merge (const G4Run *) |
G4int | GetRunID () const |
G4int | GetNumberOfEvent () const |
G4int | GetNumberOfEventToBeProcessed () const |
const G4HCtable * | GetHCtable () const |
const G4DCtable * | GetDCtable () const |
const G4String & | GetRandomNumberStatus () const |
void | SetRunID (G4int id) |
void | SetNumberOfEventToBeProcessed (G4int n_ev) |
void | SetHCtable (G4HCtable *HCtbl) |
void | SetDCtable (G4DCtable *DCtbl) |
void | SetRandomNumberStatus (G4String &st) |
void | StoreEvent (G4Event *evt) |
const std::vector< const G4Event * > * | GetEventVector () const |
Private Attributes | |
G4String | fVolumeNames [kDim] |
G4double | fEdep [kDim] |
G4double | fTrackLength [kDim] |
Additional Inherited Members | |
Protected Attributes inherited from G4Run | |
G4int | runID |
G4int | numberOfEvent |
G4int | numberOfEventToBeProcessed |
G4HCtable * | HCtable |
G4DCtable * | DCtable |
G4String | randomNumberStatus |
std::vector< const G4Event * > * | eventVector |
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 58 of file B4bRunData.hh.
B4bRunData::B4bRunData | ( | ) |
Definition at line 39 of file B4bRunData.cc.
References fEdep, fTrackLength, fVolumeNames, and kDim.
|
virtual |
Definition at line 52 of file B4bRunData.cc.
Definition at line 82 of file B4bRunData.hh.
References fEdep, and fTrackLength.
Referenced by B4bSteppingAction::UserSteppingAction().
void B4bRunData::FillPerEvent | ( | ) |
Definition at line 57 of file B4bRunData.cc.
References fEdep, fTrackLength, and kDim.
Referenced by B4bEventAction::EndOfEventAction().
Definition at line 91 of file B4bRunData.hh.
References fEdep.
Referenced by B4bEventAction::EndOfEventAction().
Definition at line 95 of file B4bRunData.hh.
References fTrackLength.
Referenced by B4bEventAction::EndOfEventAction().
Definition at line 87 of file B4bRunData.hh.
References fVolumeNames.
void B4bRunData::Reset | ( | ) |
Definition at line 79 of file B4bRunData.cc.
References fEdep, fTrackLength, and kDim.
Referenced by B4bEventAction::BeginOfEventAction().
Definition at line 76 of file B4bRunData.hh.
Referenced by Add(), B4bRunData(), FillPerEvent(), GetEdep(), and Reset().
Definition at line 77 of file B4bRunData.hh.
Referenced by Add(), B4bRunData(), FillPerEvent(), GetTrackLength(), and Reset().
Definition at line 75 of file B4bRunData.hh.
Referenced by B4bRunData(), and GetVolumeName().