43 theAdjointTrackingAction = anAction;
61 if (!reclassification_stage)
69 if (theFwdStackingAction)
76 classification =
fKill;
80 else if (theUserAdjointStackingAction)
84 return classification;
91 reclassification_stage =
true;
92 if (first_reclassification_stage)
94 if (theUserAdjointStackingAction)
96 theUserAdjointStackingAction->
NewStage();
100 else if (theFwdStackingAction) theFwdStackingAction->
NewStage();
102 first_reclassification_stage =
false;
110 reclassification_stage =
false;
111 first_reclassification_stage =
true;
112 if (theUserAdjointStackingAction)
G4ClassificationOfNewTrack
G4AdjointStackingAction(G4AdjointTrackingAction *anAction)
virtual void PrepareNewEvent()
virtual ~G4AdjointStackingAction()
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
std::size_t GetNbOfAdointTracksReachingTheExternalSurface()
const G4String & GetParticleType() const
G4bool contains(const std::string &) const
const G4ParticleDefinition * GetParticleDefinition() const
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
virtual void PrepareNewEvent()
G4StackManager * stackManager