Skip to content
Snippets Groups Projects
Commit 12992a1f authored by Will Leight's avatar Will Leight
Browse files

Add track counting for cases other than MS tracks

Missed this in the previous edits.
parent 71396335
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,10 @@ bool MuonTrackPerformanceAlg::handleTracks() {
else ATH_MSG_WARNING("no track particle of type "<<m_trackType<<" for muon with author "<<muon->author()<<" and pT "<<muon->pt());
continue;
}
if(tp->track()) allTracks->push_back(new Trk::Track(*tp->track()));
if(tp->track()){
m_ntracks++;
allTracks->push_back(new Trk::Track(*tp->track()));
}
else ATH_MSG_WARNING("no track for this trackParticle, skipping");
}
ATH_MSG_DEBUG("got "<<allTracks->size()<<" tracks");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment