56 G4Track * theTrack = theStep->GetTrack();
59 if(theTrack->GetTrackStatus()!=fAlive) {
return; }
62 if(theTrack->GetParentID()!=0) {
return; }
66 if((particleType==G4MuonPlus::MuonPlusDefinition())
67 ||(particleType==G4MuonMinus::MuonMinusDefinition()))
71 G4StepPoint * thePrePoint = theStep->GetPreStepPoint();
73 G4String thePrePVname = thePrePV->GetName();
74 if(thePrePVname.substr(0,4)==
"calo") {
return; }
75 G4StepPoint * thePostPoint = theStep->GetPostStepPoint();
77 G4String thePostPVname = thePostPV->GetName();
78 if(thePostPVname.substr(0,4)!=
"calo") {
return; }
81 theTrack->SetTrackStatus(fSuspend);