Skip to content
Snippets Groups Projects
Commit a4ac15a3 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: get track from step from handler in SD action

parent f3e2beab
Branches
Tags v1.3.2
No related merge requests found
......@@ -95,7 +95,7 @@ namespace dd4hep {
++m_userData.nPhotons;
if ((h.trkPdgID() == -22) || (h.trkPdgID() == 22)) {
h.track->SetTrackStatus(fStopAndKill);
h.step->GetTrack()->SetTrackStatus(fStopAndKill);
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment