Skip to content

Commit

Permalink
Adjust packet counter of fake RDH with SOX
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Sep 16, 2023
1 parent 9c944fa commit 08a3464
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Detectors/Raw/src/RawDumpSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ void RawDump::run(ProcessingContext& pc)
o2::raw::RDHUtils::setTriggerOrbit(lInfo.rdhSOX, mFirstIR.orbit);
o2::raw::RDHUtils::setOffsetToNext(lInfo.rdhSOX, sizeof(o2::header::RDHAny));
o2::raw::RDHUtils::setMemorySize(lInfo.rdhSOX, sizeof(o2::header::RDHAny));
o2::raw::RDHUtils::setPacketCounter(lInfo.rdhSOX, o2::raw::RDHUtils::getPacketCounter(lInfo.rdhSOX) - 1);
trig = isRORC(lInfo.detID) ? o2::trigger::SOT : (o2::trigger::SOC | o2::trigger::ORBIT | o2::trigger::HB | o2::trigger::TF);
o2::raw::RDHUtils::setTriggerType(lInfo.rdhSOX, trig);
o2::raw::RDHUtils::setStop(lInfo.rdhSOX, 0x1);
Expand Down

0 comments on commit 08a3464

Please sign in to comment.