Skip to content

Commit

Permalink
Formatted the code
Browse files Browse the repository at this point in the history
  • Loading branch information
casarsa committed Dec 6, 2019
1 parent 915730f commit 3a350ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SimFastTiming/FastTimingCommon/interface/MTDDigitizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ namespace mtd_digitizer {
size_t iEn = detIdIndexHitInfo.energyIndex();
size_t iSample = detIdIndexHitInfo.sampleIndex();

if ( iEn > PMTDSimAccumulator::Data::energyMask + 1 || iSample > PMTDSimAccumulator::Data::sampleMask )
throw cms::Exception("MTDDigitixer::loadSimHitAccumulator") << "Index out of range: iEn = " << iEn
<< " iSample = " << iSample << std::endl;
if (iEn > PMTDSimAccumulator::Data::energyMask + 1 || iSample > PMTDSimAccumulator::Data::sampleMask)
throw cms::Exception("MTDDigitixer::loadSimHitAccumulator")
<< "Index out of range: iEn = " << iEn << " iSample = " << iSample << std::endl;

float value;
if (iEn == 1 || iEn == 3) {
Expand Down

0 comments on commit 3a350ad

Please sign in to comment.