Skip to content

Commit b95f2a5

Browse files
author
Kyungmin Park
committed
Fix ECAL DQM bug from MEformatter when no lumi
1 parent dc931b8 commit b95f2a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DQM/EcalCommon/plugins/EcalMEFormatter.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ void EcalMEFormatter::format_(DQMStore::IGetter &_igetter, bool _checkLumi) {
4343
if (_checkLumi && !mItr.second->getLumiFlag())
4444
continue;
4545
mItr.second->clear();
46+
47+
if (!checkElectronicsMap(false))
48+
return;
49+
4650
if (!mItr.second->retrieve(GetElectronicsMap(), _igetter, &failedPath)) {
4751
if (verbosity_ > 0)
4852
edm::LogWarning("EcalDQM") << "Could not find ME " << mItr.first << "@" << failedPath;

0 commit comments

Comments
 (0)