Skip to content

Commit 70b8f83

Browse files
authored
Fix timestamp generation in Zorro (AliceO2Group#8068)
1 parent d64b25b commit 70b8f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventFiltering/Zorro.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ std::bitset<128> Zorro::fetch(uint64_t bcGlobalId, uint64_t tolerance)
145145
{
146146
mLastResult.reset();
147147
if (bcGlobalId < mBCranges.front().getMin().toLong() - tolerance || bcGlobalId > mBCranges.back().getMax().toLong() + tolerance) {
148-
setupHelpers(mOrbitResetTimestamp + int64_t(bcGlobalId * o2::constants::lhc::LHCBunchSpacingNS * 1e-3) / 1000);
148+
setupHelpers((mOrbitResetTimestamp + int64_t(bcGlobalId * o2::constants::lhc::LHCBunchSpacingNS * 1e-3)) / 1000);
149149
}
150150

151151
o2::dataformats::IRFrame bcFrame{InteractionRecord::long2IR(bcGlobalId) - tolerance, InteractionRecord::long2IR(bcGlobalId) + tolerance};

0 commit comments

Comments
 (0)