From f1c65a0641fbad0e8ed8585c48516ffde2064c76 Mon Sep 17 00:00:00 2001
From: Marino Missiroli <m.missiroli@cern.ch>
Date: Fri, 16 Aug 2024 11:22:12 +0200
Subject: [PATCH] rename modifier run3_2024_L1T to stage2L1Trigger_2024

---
 Configuration/Eras/python/Era_Run3_2024_cff.py            | 4 ++--
 ...24_L1T_cff.py => Modifier_stage2L1Trigger_2024_cff.py} | 2 +-
 DQM/L1TMonitor/python/L1TStage2uGTTiming_cfi.py           | 4 ++--
 DQM/L1TMonitor/python/L1TdeStage2EMTF_cff.py              | 4 ++--
 L1Trigger/L1TMuonBarrel/python/simKBmtfDigis_cfi.py       | 8 ++++----
 5 files changed, 11 insertions(+), 11 deletions(-)
 rename Configuration/Eras/python/{Modifier_run3_2024_L1T_cff.py => Modifier_stage2L1Trigger_2024_cff.py} (52%)

diff --git a/Configuration/Eras/python/Era_Run3_2024_cff.py b/Configuration/Eras/python/Era_Run3_2024_cff.py
index 0942fc2cad206..ef55fc7c4ebce 100644
--- a/Configuration/Eras/python/Era_Run3_2024_cff.py
+++ b/Configuration/Eras/python/Era_Run3_2024_cff.py
@@ -1,7 +1,7 @@
 import FWCore.ParameterSet.Config as cms
 
 from Configuration.Eras.Era_Run3_cff import Run3
-from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
+from Configuration.Eras.Modifier_stage2L1Trigger_2024_cff import stage2L1Trigger_2024
 from Configuration.Eras.Modifier_run3_scouting_nanoAOD_post2023_cff import run3_scouting_nanoAOD_post2023
 
-Run3_2024 = cms.ModifierChain(Run3, run3_2024_L1T, run3_scouting_nanoAOD_post2023)
+Run3_2024 = cms.ModifierChain(Run3, stage2L1Trigger_2024, run3_scouting_nanoAOD_post2023)
diff --git a/Configuration/Eras/python/Modifier_run3_2024_L1T_cff.py b/Configuration/Eras/python/Modifier_stage2L1Trigger_2024_cff.py
similarity index 52%
rename from Configuration/Eras/python/Modifier_run3_2024_L1T_cff.py
rename to Configuration/Eras/python/Modifier_stage2L1Trigger_2024_cff.py
index 7a981a35023ac..e8140b6718e9e 100644
--- a/Configuration/Eras/python/Modifier_run3_2024_L1T_cff.py
+++ b/Configuration/Eras/python/Modifier_stage2L1Trigger_2024_cff.py
@@ -1,3 +1,3 @@
 import FWCore.ParameterSet.Config as cms
 
-run3_2024_L1T = cms.Modifier()
+stage2L1Trigger_2024 = cms.Modifier()
diff --git a/DQM/L1TMonitor/python/L1TStage2uGTTiming_cfi.py b/DQM/L1TMonitor/python/L1TStage2uGTTiming_cfi.py
index b9fe28c31fec7..f3d76de4717ec 100644
--- a/DQM/L1TMonitor/python/L1TStage2uGTTiming_cfi.py
+++ b/DQM/L1TMonitor/python/L1TStage2uGTTiming_cfi.py
@@ -58,8 +58,8 @@
     useAlgoDecision = cms.untracked.string("initial")
 )
 
-from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
-run3_2024_L1T.toModify(l1tStage2uGTTiming,
+from Configuration.Eras.Modifier_stage2L1Trigger_2024_cff import stage2L1Trigger_2024
+stage2L1Trigger_2024.toModify(l1tStage2uGTTiming,
     unprescaledAlgoShortList = unprescaledAlgoList_2024,
     prescaledAlgoShortList = prescaledAlgoList_2024
 )
diff --git a/DQM/L1TMonitor/python/L1TdeStage2EMTF_cff.py b/DQM/L1TMonitor/python/L1TdeStage2EMTF_cff.py
index afd8ba6c21fe9..668a8be3f34f2 100644
--- a/DQM/L1TMonitor/python/L1TdeStage2EMTF_cff.py
+++ b/DQM/L1TMonitor/python/L1TdeStage2EMTF_cff.py
@@ -2,7 +2,7 @@
 
 from DQM.L1TMonitor.L1TdeStage2EMTF_cfi import *
 from DQM.L1TMonitor.L1TdeStage2RegionalShower_cfi import *
-from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
+from Configuration.Eras.Modifier_stage2L1Trigger_2024_cff import stage2L1Trigger_2024
 
 # List of bins to ignore
 ignoreBinsDeStage2Emtf = [1]
@@ -24,7 +24,7 @@
     hasDisplacementInfo = cms.untracked.bool(False),
 )
 
-run3_2024_L1T.toModify(
+stage2L1Trigger_2024.toModify(
     l1tdeStage2EmtfComp,
     hasDisplacementInfo = cms.untracked.bool(True) # Linden Burack 7/26/2024
 )
diff --git a/L1Trigger/L1TMuonBarrel/python/simKBmtfDigis_cfi.py b/L1Trigger/L1TMuonBarrel/python/simKBmtfDigis_cfi.py
index 42d79cefae658..85d543aa26ff4 100644
--- a/L1Trigger/L1TMuonBarrel/python/simKBmtfDigis_cfi.py
+++ b/L1Trigger/L1TMuonBarrel/python/simKBmtfDigis_cfi.py
@@ -1,5 +1,5 @@
 import FWCore.ParameterSet.Config as cms
-from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
+from Configuration.Eras.Modifier_stage2L1Trigger_2024_cff import stage2L1Trigger_2024
 
 bmtfKalmanTrackingSettings = cms.PSet(
     verbose = cms.bool(False),  # 
@@ -51,12 +51,12 @@
 
     useNewQualityCalculation = cms.bool(False),
 )
-run3_2024_L1T.toModify(
+
+stage2L1Trigger_2024.toModify(
     bmtfKalmanTrackingSettings,
-    useNewQualityCalculation = cms.bool(True),
+    useNewQualityCalculation = True,
 )
 
-
 simKBmtfDigis = cms.EDProducer("L1TMuonBarrelKalmanTrackProducer",
     src = cms.InputTag("simKBmtfStubs"),
     bx = cms.vint32(-2,-1,0,1,2),