Skip to content

Commit

Permalink
code format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igv4321 committed Feb 13, 2020
1 parent b4ecb12 commit 12f899b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RecoLocalCalo/HcalRecProducers/src/HBHEPhase1Reconstructor.cc
Expand Up @@ -479,8 +479,7 @@ void HBHEPhase1Reconstructor::processData(const Collection& coll,
//
int nTSToCopy = maxTS;
int tsShift = 0;
if (maxTS > 8 && use8ts_)
{
if (maxTS > 8 && use8ts_) {
const int soiWanted = 3;

// We need to chop off the excess time slices
Expand All @@ -493,8 +492,7 @@ void HBHEPhase1Reconstructor::processData(const Collection& coll,
// accessing time slices out of bounds
if (tsShift < 0)
tsShift = 0;
else
{
else {
const int nExcessTS = nRead - nTSToCopy;
if (tsShift > nExcessTS)
tsShift = nExcessTS;
Expand Down

0 comments on commit 12f899b

Please sign in to comment.