55 G4Track* theTrack = theStep->GetTrack();
58 if(theTrack->GetTrackStatus()!=fAlive) {
return; }
61 if(theTrack->GetParentID()!=0) {
return; }
65 if((particleType==G4MuonPlus::MuonPlusDefinition())
66 ||(particleType==G4MuonMinus::MuonMinusDefinition()))
70 G4StepPoint * thePrePoint = theStep->GetPreStepPoint();
72 G4String thePrePVname = thePrePV->GetName();
73 if(thePrePVname.substr(0,4)==
"calo") {
return; }
74 G4StepPoint * thePostPoint = theStep->GetPostStepPoint();
76 G4String thePostPVname = thePostPV->GetName();
77 if(thePostPVname.substr(0,4)!=
"calo") {
return; }
80 theTrack->SetTrackStatus(fSuspend);