Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the delay of the CPPF DAQ data for backport to 12_4_X #38979

Merged
merged 2 commits into from
Aug 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
corrected bx with cppfDaqDelay
mileva committed Aug 8, 2022
commit d545cc09142e480fc5ff1db49c33fd34d8d91ae0
3 changes: 2 additions & 1 deletion EventFilter/RPCRawToDigi/plugins/RPCCPPFUnpacker.cc
Original file line number Diff line number Diff line change
@@ -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;
}