Skip to content

Commit 4becb12

Browse files
committed
AOD: Fix aod-thinner for new-ish datamodel changes
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent ca156d9 commit 4becb12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Framework/AODMerger/src/aodThinner.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ int main(int argc, char* argv[])
214214
uint8_t tpcNClsFindable = 0;
215215
bool bTPClsFindable = false;
216216
uint8_t ITSClusterMap = 0;
217+
UInt_t ITSClusterSizes = 0;
217218
bool bITSClusterMap = false;
219+
bool bITSClusterSizes = false;
218220
uint8_t TRDPattern = 0;
219221
bool bTRDPattern = false;
220222
float_t TOFChi2 = 0;
@@ -231,6 +233,9 @@ int main(int argc, char* argv[])
231233
} else if (brName == "fITSClusterMap") {
232234
trackExtraTree->SetBranchAddress("fITSClusterMap", &ITSClusterMap);
233235
bITSClusterMap = true;
236+
} else if (brName == "fITSClusterSizes") {
237+
trackExtraTree->SetBranchAddress("fITSClusterSizes", &ITSClusterSizes);
238+
bITSClusterSizes = true;
234239
} else if (brName == "fTRDPattern") {
235240
trackExtraTree->SetBranchAddress("fTRDPattern", &TRDPattern);
236241
bTRDPattern = true;
@@ -256,6 +261,7 @@ int main(int argc, char* argv[])
256261
// Remove TPC only tracks, if (opt.) they are not assoc. to a V0
257262
if ((!bTPClsFindable || tpcNClsFindable > 0.) &&
258263
(!bITSClusterMap || ITSClusterMap == 0) &&
264+
(!bITSClusterSizes || ITSClusterSizes == 0) &&
259265
(!bTRDPattern || TRDPattern == 0) &&
260266
(!bTOFChi2 || TOFChi2 < -1.) &&
261267
(keepV0TPCs.find(i) == keepV0TPCs.end())) {

0 commit comments

Comments
 (0)