36 #include "G4StepPoint.hh" 37 #include "G4TrackStatus.hh" 50 G4Track * theTrack = theStep->GetTrack();
53 if(theTrack->GetTrackStatus()!=fAlive) {
return; }
56 if(theTrack->GetParentID()!=0) {
return; }
65 G4StepPoint * thePrePoint = theStep->GetPreStepPoint();
68 if(thePrePVname(0,4)==
"calo") {
return; }
69 G4StepPoint * thePostPoint = theStep->GetPostStepPoint();
72 if(thePostPVname(0,4)!=
"calo") {
return; }
75 theTrack->SetTrackStatus(fSuspend);
static G4MuonPlus * MuonPlusDefinition()
virtual void UserSteppingAction(const G4Step *)
Definition of the RE05SteppingAction class.
const G4String & GetName() const
static G4MuonMinus * MuonMinusDefinition()
virtual ~RE05SteppingAction()