From c39b5fe8adc6e5b57e0e54c5a5d616680ae58a22 Mon Sep 17 00:00:00 2001
From: Will Buttinger <will.buttinger@cern.ch>
Date: Tue, 19 Nov 2024 13:00:13 +0100
Subject: [PATCH] Update EfexMonitorAlgorithm.cxx - fix bug in bin indexing for
 location-vs-lb tob counts of eEM (eTAU was correct already)

---
 .../TrigT1/TrigT1CaloMonitoring/src/EfexMonitorAlgorithm.cxx    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Trigger/TrigT1/TrigT1CaloMonitoring/src/EfexMonitorAlgorithm.cxx b/Trigger/TrigT1/TrigT1CaloMonitoring/src/EfexMonitorAlgorithm.cxx
index 364370c3b538..f91bac5ce126 100644
--- a/Trigger/TrigT1/TrigT1CaloMonitoring/src/EfexMonitorAlgorithm.cxx
+++ b/Trigger/TrigT1/TrigT1CaloMonitoring/src/EfexMonitorAlgorithm.cxx
@@ -150,7 +150,7 @@ StatusCode EfexMonitorAlgorithm::fillEMHistograms(const std::string& groupName,
       fill(groupName, TOBWstot_threshold);
       int iPhi = efexEmRoI->iPhi();
       if (iPhi>31) iPhi -= 64;
-      binNumber = (iPhi+32)*50 + 25 + efexEmRoI->iEta();
+      binNumber = (iPhi+32)*50 + 26 + efexEmRoI->iEta();
       fill(groupName,binNumber,lbn);
     }
   }
-- 
GitLab