Skip to content

Commit

Permalink
Log TrackRefs size before failing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel authored and sawenzel committed Nov 26, 2024
1 parent 80827ee commit 73f5254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/checkStack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ int main(int argc, char** argv)
if (havereferences) {
for (auto& trackID : trackidsinTPC) {
auto trackrefs = mcreader.getTrackRefs(eventID, trackID);
assert(trackrefs.size() > 0);
LOG(debug) << " Track " << trackID << " has " << trackrefs.size() << " TrackRefs";
assert(trackrefs.size() > 0);
for (auto& ref : trackrefs) {
assert(ref.getTrackID() == trackID);
}
Expand Down

0 comments on commit 73f5254

Please sign in to comment.