Skip to content

Commit 2583973

Browse files
committed
fix unused
1 parent e8d3795 commit 2583973

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,15 +1151,21 @@ struct OnTheFlyTracker {
11511151
}
11521152

11531153
int nCand = 0;
1154-
bool kinkFitter = true;
1154+
bool kinkFitterOK = true;
11551155
try {
11561156
nCand = fitter.process(trackedCasc, trackedBach);
11571157
} catch (...) {
1158-
kinkFitter = false;
1158+
kinkFitterOK = false;
11591159
}
11601160

11611161
if (nCand == 0) {
1162-
kinkFitter = false;
1162+
kinkFitterOK = false;
1163+
}
1164+
1165+
if (kinkFitterOK) {
1166+
if (cascadeDecaySettings.doXiQA) {
1167+
getHist(TH1, histPath + "hXiBuilding")->Fill(6.0f);
1168+
}
11631169
}
11641170

11651171
std::array<float, 3> kinkVtx = {-999, -999, -999};

0 commit comments

Comments
 (0)