From 2b4ddce1b58f36ed6d8d77b6c9789df9cebcccb0 Mon Sep 17 00:00:00 2001 From: Sven Dildick Date: Wed, 1 Dec 2021 16:17:50 -0600 Subject: [PATCH] Flip the two endcaps on the y-axis --- DQM/L1TMonitor/src/L1TStage2Shower.cc | 2 +- DQM/L1TMonitor/src/L1TdeCSCTPG.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DQM/L1TMonitor/src/L1TStage2Shower.cc b/DQM/L1TMonitor/src/L1TStage2Shower.cc index 94fc93e959377..83fd9cf6bcab4 100644 --- a/DQM/L1TMonitor/src/L1TStage2Shower.cc +++ b/DQM/L1TMonitor/src/L1TStage2Shower.cc @@ -97,7 +97,7 @@ void L1TStage2Shower::analyze(const edm::Event& e, const edm::EventSetup& c) { int ring = detId.ring(); int chamber = detId.chamber(); int sr = histIndexCSC.at({station, ring}); - if (endcap == -1) + if (endcap == 1) sr = 17 - sr; float evt_wgt = (station > 1 && ring == 1) ? 0.5 : 1.0; diff --git a/DQM/L1TMonitor/src/L1TdeCSCTPG.cc b/DQM/L1TMonitor/src/L1TdeCSCTPG.cc index 58309babacb6c..99ef0b8c80bee 100644 --- a/DQM/L1TMonitor/src/L1TdeCSCTPG.cc +++ b/DQM/L1TMonitor/src/L1TdeCSCTPG.cc @@ -475,7 +475,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) { int chamber = detid.chamber(); int sr = histIndexCSC.at({stat, ring}); - if (endc == 2) + if (endc == 1) sr = 17 - sr; // ALCT analysis