Skip to content

Commit

Permalink
Merge pull request cms-sw#38567 from tvami/Run3MCJECs
Browse files Browse the repository at this point in the history
Add Run-3 JECs to Run-3 MCs
  • Loading branch information
cmsbuild authored and nickh2000 committed Jul 20, 2022
1 parent b60cd8c commit a826c95
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions DQM/L1TMonitor/src/L1TStage2EMTF.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,15 @@ void L1TStage2EMTF::bookHistograms(DQMStore::IBooker& ibooker, const edm::Run&,
//Added 06-01-22 **
for (int ch = 0; ch < 36; ch++){
for (int lyr = 0; lyr < 2; lyr++){
gemBXVFATPerChamber[ch][hist][lyr] = ibooker.book2D("gemBXVFATPerChamber_" + std::to_string(ch) + "_" + std::to_string(hist) + "_" + std::to_string(lyr + 1), "GEM BX vs VFAT in Chamber " + std::to_string(ch+1) + " " + label + " Layer " + std::to_string(lyr + 1), 7, -3, 4, 48, 0, 48);
gemBXVFATPerChamber[ch][hist][lyr] = ibooker.book2D("gemBXVFATPerChamber_" + std::to_string(ch) + "_" + std::to_string(hist) + "_" + std::to_string(lyr + 1), "GEM BX vs VFAT in Chamber " + std::to_string(ch+1) + " " + label + " Layer " + std::to_string(lyr + 1), 7, -3, 4, 24, 0, 24);
gemBXVFATPerChamber[ch][hist][lyr]->setAxisTitle("BX", 1);
gemBXVFATPerChamber[ch][hist][lyr]->setAxisTitle("8*phi + eta, " + label, 2);
gemBXVFATPerChamber[ch][hist][lyr]->setAxisTitle("VFAT #", 2);

for (int bin = 1; bin <= 48; ++bin) {
for (int bin = 1; bin <= 24; ++bin) {
gemBXVFATPerChamber[ch][hist][lyr]->setBinLabel(bin, std::to_string(bin-1), 2);
}
for (int bx = 1; bx <= 6; ++bx) {
gemBXVFATPerChamber[ch][hist][lyr]->setBinLabel(bx, std::to_string(bx - 4), 1);
}
}
}
Expand Down

0 comments on commit a826c95

Please sign in to comment.