Skip to content

Commit

Permalink
Merge pull request #34033 from smuzaffar/12_0-code-checks-ALCA_DB
Browse files Browse the repository at this point in the history
[ALCA_DB] Apply code-checks/format with misc-definitions-in-headers
  • Loading branch information
cmsbuild committed Jun 15, 2021
2 parents 8f5529a + 04d86e6 commit 0398ed8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CondFormats/SiPixelObjects/src/SiPixelFrameConverter.cc
Expand Up @@ -25,12 +25,11 @@ PixelROC const* SiPixelFrameConverter::toRoc(int link, int roc) const {
CablingPathToDetUnit path = {
static_cast<unsigned int>(theFedId), static_cast<unsigned int>(link), static_cast<unsigned int>(roc)};
const PixelROC* rocp = (theFed) ? theTree->findItemInFed(path, theFed) : theMap->findItem(path);
if
UNLIKELY(!rocp) {
stringstream stm;
stm << "Map shows no fed=" << theFedId << ", link=" << link << ", roc=" << roc;
edm::LogWarning("SiPixelFrameConverter") << stm.str();
}
if UNLIKELY (!rocp) {
stringstream stm;
stm << "Map shows no fed=" << theFedId << ", link=" << link << ", roc=" << roc;
edm::LogWarning("SiPixelFrameConverter") << stm.str();
}
return rocp;
}

Expand Down

0 comments on commit 0398ed8

Please sign in to comment.