Repository navigation
Commit 0f0e233
TPC track reader: do not accumulate MC labels over entries
With one entry per call, TrackReader::accumulate swapped the tracks and
cluster references of the new entry in, but appended its MC labels to
mMCTruthOut, which is never cleared. From the second tree entry on, the
consumers therefore got the labels of the first entry for the tracks of
the current one (label i = label of track i of entry 0). Swap the labels
as well.
Only visible when a tpctracks.root holds more than one TF (e.g. merged
MC files); O2DPG writes one TF per file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 21d4ce4 commit 0f0e233
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments