Skip to content

Commit b538c37

Browse files
committed
Provide more info for Impossible timebin error
1 parent 5fb1888 commit b538c37

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Detectors/GlobalTracking/src/MatchTPCITS.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,8 +1335,9 @@ bool MatchTPCITS::refitTrackTPCITS(int iTPC, int& iITS)
13351335
float chi2Out = 0;
13361336
auto posStart = tracOut.getXYZGlo();
13371337
auto tImposed = timeC * mTPCTBinMUSInv;
1338-
if (std::abs(tImposed - mTPCTracksArray[tTPC.sourceID].getTime0()) > 550) { // RS FIXME: should be removed once TOF fixes https://github.com/AliceO2Group/AliceO2/pull/6540#issuecomment-880060760
1339-
LOG(error) << "Impossible imposed timebin " << tImposed << " for TPC track with timebin0 " << mTPCTracksArray[tTPC.sourceID].getTime0() << " TB";
1338+
if (std::abs(tImposed - mTPCTracksArray[tTPC.sourceID].getTime0()) > 550) {
1339+
LOGP(error, "Impossible imposed timebin {} for TPC track time0:{}, dBwd:{} dFwd:{} TB | ZShift:{}, TShift:{} | Trc: {}", tImposed, mTPCTracksArray[tTPC.sourceID].getTime0(),
1340+
mTPCTracksArray[tTPC.sourceID].getDeltaTBwd(), mTPCTracksArray[tTPC.sourceID].getDeltaTFwd(), trfit.getZ() - tTPC.getZ(), deltaT, mTPCTracksArray[tTPC.sourceID].asString());
13401341
mMatchedTracks.pop_back(); // destroy failed track
13411342
return false;
13421343
}

0 commit comments

Comments
 (0)