#include <CCalStackingAction.hh>
Definition at line 40 of file CCalStackingAction.hh.
CCalStackingAction::~CCalStackingAction |
( |
| ) |
|
PRIMARIES ///
SECONDARIES ///
Reimplemented from G4UserStackingAction.
Definition at line 101 of file CCalStackingAction.cc.
114 <<
" from previous event. Should not happen" <<
G4endl;
115 G4cout <<
"returning classification= " << classification <<
G4endl;
117 return classification=
fKill;
127 return classification=
fKill;
134 if (parentID == 0 ) {
148 if (acceptSecondaries == 1) {
149 if (trackStartsInCalo(const_cast<G4Track *>(aTrack))!=0 )
168 G4cout <<
" returning classification= " << classification
171 return classification;
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
G4TrackStatus GetTrackStatus() const
const G4String & GetParticleName() const
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
static constexpr double eV
G4ClassificationOfNewTrack
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
static constexpr double MeV
void CCalStackingAction::NewStage |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 176 of file CCalStackingAction.cc.
179 G4cout <<
"In NewStage with stage = " << stage <<
G4endl;
184 acceptSecondaries = 0;
186 acceptSecondaries = 1;
G4int GetNUrgentTrack() const
G4GLOB_DLL std::ostream G4cout
G4StackManager * stackManager
void CCalStackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 49 of file CCalStackingAction.cc.
54 acceptSecondaries = 1;
void initialize(Config const *const theConfig)
Initialize the clustering model based on the Config object.
The documentation for this class was generated from the following files: