Skip to content

Commit

Permalink
Fix 2018 relvals crash
Browse files Browse the repository at this point in the history
  • Loading branch information
DryRun committed May 16, 2018
1 parent b9bab82 commit dcae4b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DQM/HcalTasks/plugins/DigiTask.cc
Expand Up @@ -811,7 +811,9 @@ DigiTask::DigiTask(edm::ParameterSet const& ps):
if (did.depth() == 10) {
_ledSignalPresent = false;
for (int i=0; i<digi.samples(); i++) {
_meLEDMon->Fill(bx, digi[i].adc());
if (_ptype == fOnline) {
_meLEDMon->Fill(bx, digi[i].adc());
}
if (digi[i].adc() > _thresh_led) {
_ledSignalPresent = true;
}
Expand Down

0 comments on commit dcae4b6

Please sign in to comment.