#include <G4AdjointStackingAction.hh>
Definition at line 66 of file G4AdjointStackingAction.hh.
Definition at line 44 of file G4AdjointStackingAction.cc.
45 : reclassification_stage (
false)
47 theFwdStackingAction =0;
48 theUserAdjointStackingAction =0;
49 theAdjointTrackingAction = anAction;
G4AdjointStackingAction::~G4AdjointStackingAction |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 57 of file G4AdjointStackingAction.cc.
63 if (!reclassification_stage) classification =
fWaiting;
66 if (theFwdStackingAction) classification = theFwdStackingAction->
ClassifyNewTrack(aTrack);
68 else classification =
fKill;
71 else if (theUserAdjointStackingAction) classification = theUserAdjointStackingAction->
ClassifyNewTrack(aTrack);
72 return classification;
const G4ParticleDefinition * GetParticleDefinition() const
const G4String & GetParticleType() const
size_t GetNbOfAdointTracksReachingTheExternalSurface()
G4bool contains(const std::string &) const
G4ClassificationOfNewTrack
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
void G4AdjointStackingAction::NewStage |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 76 of file G4AdjointStackingAction.cc.
77 { reclassification_stage =
true;
78 if (first_reclassification_stage){
79 if (theUserAdjointStackingAction) theUserAdjointStackingAction->
NewStage();
82 else if (theFwdStackingAction) theFwdStackingAction->
NewStage();
83 first_reclassification_stage =
false;
G4StackManager * stackManager
void G4AdjointStackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
void G4AdjointStackingAction::SetAdjointMode |
( |
G4bool |
aBool | ) |
|
|
inline |
void G4AdjointStackingAction::SetKillTracks |
( |
G4bool |
aBool | ) |
|
|
inline |
The documentation for this class was generated from the following files: