Skip to content

Commit a7f6ee5

Browse files
committed
Fix EMCal Digitization
1 parent e7d491f commit a7f6ee5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Detectors/EMCAL/simulation/src/Digitizer.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ void Digitizer::process(const std::vector<LabeledDigit>& labeledSDigits)
142142
label.setAmplitudeFraction(0);
143143
}
144144
if (iLabel == 0) {
145+
++iLabel;
145146
continue;
146147
}
147148
d.addLabel(label);
148-
iLabel++;
149+
++iLabel;
149150
}
150151
listofLabeledDigit.push_back(d);
151152
}
@@ -269,4 +270,4 @@ void Digitizer::setEventTime(o2::InteractionTimeRecord record, bool trigger)
269270
} else {
270271
mIsBeforeFirstRO = false;
271272
}
272-
}
273+
}

0 commit comments

Comments
 (0)