You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// write the track global index in the map for skimming (to make sure we have it just once)
688
691
if (fTrackIndexMap.find(track.globalIndex()) == fTrackIndexMap.end()) {
689
692
// NOTE: The collision ID that is written in the table is the one found in the first association for this track.
690
693
// However, in data analysis one should loop over associations, so this one should not be used.
691
694
// In the case of Run2-like analysis, there will be no associations, so this ID will be the one originally assigned in the AO2Ds (updated for the skims)
// Protection against crash, where the original collision IDs of tracks were removed by pp-filter or zorro selection and hence the track is now orphaned
705
+
if (fCollIndexMap.find(track.collisionId()) == fCollIndexMap.end()) {
706
+
continue;
707
+
}
708
+
uint32_t reducedEventIdx = fCollIndexMap[track.collisionId()]; // This gives the original iD of the track
693
709
// NOTE: trackBarrelInfo stores the index of the collision as in AO2D (for use in some cases where the analysis on skims is done
694
710
// in workflows where the original AO2Ds are also present)
0 commit comments