Skip to content

Commit feaae38

Browse files
authored
Update HcalTriggerPrimitiveAlgo.cc
Code style update
1 parent e51c251 commit feaae38

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,21 +296,19 @@ void HcalTriggerPrimitiveAlgo::addSignal(const IntegerCaloSamples& samples) {
296296

297297
assert((itr == theSumMap.end()) == (itr_sat == theSatMap.end()));
298298

299-
if (itr_sat == theSatMap.end()) {
299+
if (itr_sat == theSatMap.end()) {
300300
vector<bool> check_sat;
301301
for (int i = 0; i < samples.size(); ++i) {
302302
if (!(samples[i] < QIE11_LINEARIZATION_ET)) {
303303
check_sat.push_back(true);
304-
}
305-
else
304+
} else
306305
check_sat.push_back(false);
307306
}
308307
theSatMap.insert(std::make_pair(id, check_sat));
309-
310308
} else {
311309
for (int i = 0; i < samples.size(); ++i) {
312310
if (!(samples[i] < QIE11_LINEARIZATION_ET))
313-
(itr_sat->second)[i] = true;
311+
(itr_sat->second)[i] = true;
314312
}
315313
}
316314
}

0 commit comments

Comments
 (0)