#include <RE01StackingAction.hh>
Definition at line 41 of file RE01StackingAction.hh.
RE01StackingAction::RE01StackingAction |
( |
| ) |
|
RE01StackingAction::~RE01StackingAction |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 59 of file RE01StackingAction.cc.
85 return classification;
G4int GetParentID() const
G4TrackStatus GetTrackStatus() const
G4VUserTrackInformation * GetUserInformation() const
void SetUserInformation(G4VUserTrackInformation *aValue) const
G4ClassificationOfNewTrack
void RE01StackingAction::NewStage |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 105 of file RE01StackingAction.cc.
112 G4cout <<
"Tracks in tracking region have been processed. -- Stage 0 over."
130 G4int n_hitByATrack = 0;
131 for(
int i=0;i<n_hit;i++)
133 G4double edepByATrack = (*CHC)[i]->GetEdepByATrack();
136 totE += edepByATrack;
138 { (*CHC)[i]->GetTrackInformation()->Print(); }
140 G4cout <<
"Cell[" << (*CHC)[i]->GetZ() <<
","
141 << (*CHC)[i]->GetPhi() <<
"] "
142 << edepByATrack/
GeV <<
" [GeV]" <<
G4endl;
143 (*CHC)[i]->ClearEdepByATrack();
149 "### Total energy deposition in calorimeter by a source track in "
150 << n_hitByATrack <<
" cells : " << totE /
GeV <<
" (GeV)"
G4int GetNUrgentTrack() const
G4GLOB_DLL std::ostream G4cout
void TransferOneStackedTrack(G4ClassificationOfNewTrack origin, G4ClassificationOfNewTrack destination)
void TransferStackedTracks(G4ClassificationOfNewTrack origin, G4ClassificationOfNewTrack destination)
static constexpr double GeV
G4StackManager * stackManager
void RE01StackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: