Skip to content

Commit

Permalink
Fixed bug in plot that stores LHC status.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaymudholkar committed Oct 16, 2020
1 parent ed129d8 commit 5a3a782
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DQM/EcalMonitorTasks/src/TrigPrimTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ namespace ecaldqm {

towerReadouts_.clear();

if (ByLumiResetSwitch) {
MEs_.at("EtSummaryByLumi").reset();
MEs_.at("TTFlags4ByLumi").reset();
MEs_.at("LHCStatusByLumi").reset(-1);
}

if (!lhcStatusSet) {
// Update LHC status once each LS
MESet& meLHCStatusByLumi(static_cast<MESet&>(MEs_.at("LHCStatusByLumi")));
Expand All @@ -72,12 +78,6 @@ namespace ecaldqm {
}
}

if (ByLumiResetSwitch) {
MEs_.at("EtSummaryByLumi").reset();
MEs_.at("TTFlags4ByLumi").reset();
MEs_.at("LHCStatusByLumi").reset(-1);
}

realTps_ = nullptr;

// HLTCaloBit_ = false;
Expand Down

0 comments on commit 5a3a782

Please sign in to comment.