Skip to content

Commit

Permalink
update code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-hui committed Nov 1, 2021
1 parent 2d021f1 commit 2f10d59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RecoLocalCalo/HcalRecProducers/src/HBHEPhase1Reconstructor.cc
Expand Up @@ -517,10 +517,10 @@ void HBHEPhase1Reconstructor::processData(const Collection& coll,
const int maxTS = std::min(nRead, static_cast<int>(HBHEChannelInfo::MAXSAMPLES));
const int soi = tsFromDB_ ? properties.paramTs->firstSample() : frame.presamples();
const bool badSOI = !(maxTS >= 3 && soi > 0 && soi < maxTS - 1);
if(badSOI){
edm::LogWarning("HBHEDigi") << " bad SOI/maxTS in cell " << cell
<< "\n expect maxTS >= 3 && soi > 0 && soi < maxTS - 1"
<< "\n got maxTS = " << maxTS << ", SOI = " << soi;
if (badSOI) {
edm::LogWarning("HBHEDigi") << " bad SOI/maxTS in cell " << cell
<< "\n expect maxTS >= 3 && soi > 0 && soi < maxTS - 1"
<< "\n got maxTS = " << maxTS << ", SOI = " << soi;
}

const RawChargeFromSample<DFrame> rcfs(sipmQTSShift_, sipmQNTStoSum_, cond, properties, cs, soi, frame, maxTS);
Expand Down

0 comments on commit 2f10d59

Please sign in to comment.