Skip to content
Snippets Groups Projects
Commit dd4527e7 authored by Scott Snyder's avatar Scott Snyder Committed by Edward Moyse
Browse files

LArCalibDataQuality: Fix cppcheck warnings.

LArCalibDataQuality: Fix cppcheck warnings.

Work around a cppcheck false positive.
parent a20b1e2e
No related branches found
No related tags found
No related merge requests found
......@@ -282,17 +282,17 @@ void LArCalibValidationAlg<CONDITIONSCONTAINER, REFCONTAINER>::findFailedPattern
//Fill channel status fer FEB
const HWIdentifier febId=m_onlineHelper->feb_Id(chid);
if (isGood)
statiPerFEB[febId].first++;
++statiPerFEB[febId].first;
else
statiPerFEB[febId].second++;
++statiPerFEB[febId].second;
//Fill channel status per calibLine
const std::vector<HWIdentifier>& calibIdvec=clCont->calibSlotLine(chid);
for (const HWIdentifier& hwid : calibIdvec) {
if (isGood)
statiPerCalibLine[hwid].first++;
++statiPerCalibLine[hwid].first;
else
statiPerCalibLine[hwid].second++;
++statiPerCalibLine[hwid].second;
}
}//end loop over identifiers of suspicious channels
//Check fraction of failed channels per FEBs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment