Skip to content

Commit 25a8b56

Browse files
committed
clang
1 parent f0a2139 commit 25a8b56

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Detectors/CTP/reconstruction/src/RawDataDecoder.cxx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ int RawDataDecoder::checkReadoutConsistentncy(o2::pmr::vector<CTPDigit>& digits,
603603
LOG(debug) << "Checking readout";
604604
int ret = 0;
605605
static int nerror = 0;
606-
int32_t magicBC = o2::constants::lhc::LHCMaxBunches - o2::ctp::TriggerOffsetsParam::Instance().LM_L0 - o2::ctp::TriggerOffsetsParam::Instance().L0_L1_classes - 1;
606+
int32_t magicBC = o2::constants::lhc::LHCMaxBunches - o2::ctp::TriggerOffsetsParam::Instance().LM_L0 - o2::ctp::TriggerOffsetsParam::Instance().L0_L1_classes - 1;
607607
for (auto const& digit : digits) {
608608
// if class mask => inps
609609
for (int i = 0; i < digit.CTPClassMask.size(); i++) {
@@ -625,10 +625,9 @@ int RawDataDecoder::checkReadoutConsistentncy(o2::pmr::vector<CTPDigit>& digits,
625625
uint64_t clsinpmask = cls->descriptor->getInputsMask();
626626
uint64_t diginpmask = digit.CTPInputMask.to_ullong();
627627
if (!((clsinpmask & diginpmask) == clsinpmask)) {
628-
if(!((digit.intRecord.bc == magicBC) && (clsinpmask & L1MASKInputs.to_ullong())))
629-
{
628+
if (!((digit.intRecord.bc == magicBC) && (clsinpmask & L1MASKInputs.to_ullong()))) {
630629
if (nerror < mErrorMax) {
631-
LOG(error) << "Cls=>Inps: CTP class:" << cls->name << " inpmask:" << clsinpmask << " not compatible with inputs mask:" << diginpmask << " " << digit.intRecord ;
630+
LOG(error) << "Cls=>Inps: CTP class:" << cls->name << " inpmask:" << clsinpmask << " not compatible with inputs mask:" << diginpmask << " " << digit.intRecord;
632631
nerror++;
633632
}
634633
mClassErrorsA[i]++;

0 commit comments

Comments
 (0)