Skip to content

Commit

Permalink
Merge pull request #23221 from DryRun/CMSSW_10_2_0_pre1_fix_hcaldqm_2…
Browse files Browse the repository at this point in the history
…018relvals

HCALDQM: Fix crash in new 2018 relvals
  • Loading branch information
cmsbuild authored May 18, 2018
2 parents ddf0180 + f4636a8 commit 8d539d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DQM/HcalTasks/plugins/DigiTask.cc
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion DQM/HcalTasks/plugins/PedestalTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PedestalTask::PedestalTask(edm::ParameterSet const& ps):
_tokTrigger = consumes<HcalTBTriggerData>(_tagTrigger);
_tokuMN = consumes<HcalUMNioDigi>(_taguMN);

_vflags.resize(nPedestalFlag);
_vflags.resize(2);
_vflags[fMsn]=hcaldqm::flag::Flag("Msn");
_vflags[fBadM]=hcaldqm::flag::Flag("BadM");
//_vflags[fBadR]=hcaldqm::flag::Flag("BadR");
Expand Down

0 comments on commit 8d539d4

Please sign in to comment.