Skip to content

Commit

Permalink
corrected bx with cppfDaqDelay
Browse files Browse the repository at this point in the history
  • Loading branch information
Dilson de Jesus Damiao committed Aug 8, 2022
1 parent b900afa commit 70f4195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EventFilter/RPCRawToDigi/plugins/RPCCPPFUnpacker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ void RPCCPPFUnpacker::processRXRecord(RPCAMCLink link,
return;
}

if ((bx - cppfDaq_Delay) < bx_min || (bx - cppfDaq_Delay) > bx_max) {
auto bx_corrected = bx - cppfDaq_Delay;
if (bx_corrected < bx_min || bx_corrected > bx_max) {
return;
}

Expand Down

0 comments on commit 70f4195

Please sign in to comment.