Skip to content

Commit

Permalink
For the backport of #35690 and #35733
Browse files Browse the repository at this point in the history
  • Loading branch information
quark2 committed Oct 20, 2021
1 parent d7de0f6 commit 5cf0ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DQM/GEM/plugins/GEMDAQStatusSource.cc
Expand Up @@ -38,7 +38,7 @@ void GEMDAQStatusSource::SetLabelAMC13Status(MonitorElement *h2Status) {
h2Status->setBinLabel(unBinPos++, "S-link error", 2);
h2Status->setBinLabel(unBinPos++, "Wrong FED ID", 2);

h2Status->setBinLabel(1, "GE11-N", 1);
h2Status->setBinLabel(1, "GE11-M", 1);
h2Status->setBinLabel(2, "GE11-P", 1);
}

Expand Down Expand Up @@ -107,8 +107,8 @@ void GEMDAQStatusSource::bookHistograms(DQMStore::IBooker &ibooker, edm::Run con

h2AMC13Status_ =
ibooker.book2D("amc13_status", "AMC13 Status;AMC13;", 2, 0.5, 2.5, nBitAMC13_, 0.5, nBitAMC13_ + 0.5);
h2AMCStatusNeg_ = ibooker.book2D("amc_status_GE11-N",
"AMC Status GE11-N;AMC slot;",
h2AMCStatusNeg_ = ibooker.book2D("amc_status_GE11-M",
"AMC Status GE11-M;AMC slot;",
nAMCSlots_,
-0.5,
nAMCSlots_ - 0.5,
Expand Down
2 changes: 1 addition & 1 deletion DQM/GEM/plugins/GEMDigiSource.cc
Expand Up @@ -102,7 +102,7 @@ int GEMDigiSource::ProcessWithMEMap3WithChamber(BookingHelper& bh, ME4IdsKey key
int nNumVFATPerEta = stationInfo.nMaxVFAT_ / stationInfo.nNumEtaPartitions_;
int nNumCh = stationInfo.nNumDigi_;

mapDigiOccPerCh_.SetBinConfX(nNumCh * nNumVFATPerEta);
mapDigiOccPerCh_.SetBinConfX(nNumCh * nNumVFATPerEta, -0.5);
mapDigiOccPerCh_.SetBinConfY(stationInfo.nNumEtaPartitions_);
mapDigiOccPerCh_.bookND(bh, key);
mapDigiOccPerCh_.SetLabelForIEta(key, 2);
Expand Down

0 comments on commit 5cf0ebf

Please sign in to comment.