Commit 41757d6
Give the ITS and MFT digit file its usual shape when it is empty
This fixes the digit file of a timeframe without collisions carrying a label
branch of the wrong type.
- The MC label branch is declared as std::vector<char> and only becomes an
IOMCTruthContainerView when a fill remaps it.
- With no collision nothing is filled, the branch keeps the raw type, and a
reader binding IOMCTruthContainerView gets a class mismatch from
SetBranchAddress rather than an empty tree.
- The close callback now writes one empty entry in every branch, remapping
the label branch on the way, so the file has the same shape as an ordinary
timeframe that happens to contain nothing.
https://its.cern.ch/jira/browse/O2-7132
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 2fb004f commit 41757d6
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
76 | 102 | | |
77 | 103 | | |
78 | 104 | | |
| |||
0 commit comments