SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
StackingAction.cc
Go to the documentation of this file.
1 #include "StackingAction.hh"
2 
3 // Geant4
4 #include "G4Track.hh"
5 #include "G4DecayProducts.hh"
6 #include "G4ios.hh"
7 
8 namespace slic {
9 
11 }
12 
14 }
15 
16 G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack(const G4Track* aTrack) {
17  // FIXME: Need to determine how these are supposed to work together!
18  G4ClassificationOfNewTrack classification = m_pluginManager->stackingClassifyNewTrack(aTrack);
19  if (aTrack->GetTrackStatus() == fSuspend)
20  classification = fWaiting;
21 }
22 
25 }
26 
29 }
30 
31 }
G4ClassificationOfNewTrack stackingClassifyNewTrack(const G4Track *aTrack)
Return a track classification from the user plugins that have stacking actions. Activate the track cl...
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)