From 059b9f1f4065e37190151aad91286b67a5e38a88 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 26 Mar 2025 09:52:44 -0500 Subject: [PATCH] [backport] Update 2025 HMT shower thresholds for pp collision --- .../Eras/python/Era_Run3_2025_cff.py | 3 +- .../Eras/python/Modifier_run3_CSC_2025_cff.py | 4 + .../python/cscTriggerPrimitiveDigis_cfi.py | 8 +- .../python/params/showerParams.py | 82 +++++++++++++++++++ 4 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 Configuration/Eras/python/Modifier_run3_CSC_2025_cff.py diff --git a/Configuration/Eras/python/Era_Run3_2025_cff.py b/Configuration/Eras/python/Era_Run3_2025_cff.py index b2826d4d22204..16f6584b378ab 100644 --- a/Configuration/Eras/python/Era_Run3_2025_cff.py +++ b/Configuration/Eras/python/Era_Run3_2025_cff.py @@ -2,7 +2,8 @@ from Configuration.Eras.Era_Run3_2024_cff import Run3_2024 from Configuration.Eras.Modifier_run3_GEM_2025_cff import run3_GEM_2025 +from Configuration.Eras.Modifier_run3_CSC_2025_cff import run3_CSC_2025 from Configuration.Eras.Modifier_run3_SiPixel_2025_cff import run3_SiPixel_2025 from Configuration.Eras.Modifier_stage2L1Trigger_2025_cff import stage2L1Trigger_2025 -Run3_2025 = cms.ModifierChain(Run3_2024, run3_GEM_2025, run3_SiPixel_2025, stage2L1Trigger_2025) +Run3_2025 = cms.ModifierChain(Run3_2024, run3_GEM_2025, run3_SiPixel_2025, stage2L1Trigger_2025, run3_CSC_2025) diff --git a/Configuration/Eras/python/Modifier_run3_CSC_2025_cff.py b/Configuration/Eras/python/Modifier_run3_CSC_2025_cff.py new file mode 100644 index 0000000000000..cb805e0e4dc3c --- /dev/null +++ b/Configuration/Eras/python/Modifier_run3_CSC_2025_cff.py @@ -0,0 +1,4 @@ +import FWCore.ParameterSet.Config as cms + +run3_CSC_2025 = cms.Modifier() + diff --git a/L1Trigger/CSCTriggerPrimitives/python/cscTriggerPrimitiveDigis_cfi.py b/L1Trigger/CSCTriggerPrimitives/python/cscTriggerPrimitiveDigis_cfi.py index 472b64cabac3c..567727b49a54e 100644 --- a/L1Trigger/CSCTriggerPrimitives/python/cscTriggerPrimitiveDigis_cfi.py +++ b/L1Trigger/CSCTriggerPrimitives/python/cscTriggerPrimitiveDigis_cfi.py @@ -11,7 +11,7 @@ from L1Trigger.CSCTriggerPrimitives.params.tmbParams import tmbPSets from L1Trigger.CSCTriggerPrimitives.params.auxiliaryParams import auxPSets from L1Trigger.CSCTriggerPrimitives.params.gemcscParams import gemcscPSets -from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet +from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet,showerPSet_2025 cscTriggerPrimitiveDigis = cms.EDProducer( "CSCTriggerPrimitivesProducer", @@ -73,6 +73,12 @@ runME31Up = True, runME41Up = True) ) +## update shower thresholds for 2025 runs +from Configuration.Eras.Modifier_run3_CSC_2025_cff import run3_CSC_2025 +run3_CSC_2025.toModify( cscTriggerPrimitiveDigis, + showerParams = showerPSet_2025.clone() +) + ## GEM-CSC integrated local trigger in ME1/1 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM diff --git a/L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py b/L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py index 2b49a4426dc86..02320246c8ed2 100644 --- a/L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py +++ b/L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py @@ -94,3 +94,85 @@ minLayersCentralTBin = cms.uint32(5), ) ) + +showerPSet_2025 = cms.PSet( + ## what kind of shower triggers the logic? + ## 0: cathode-only (TMB/OTMB) + ## 1: anode-only (from ALCT board) + source = cms.vuint32( + # ME1/1 + 1, + # ME1/2 + 1, + # ME1/3 + 1, + # ME2/1 + 1, + # ME2/2 + 1, + # ME3/1 + 1, + # ME3/2 + 1, + # ME4/1 + 1, + # ME4/2 + 1 + ), + + ## settings for cathode showers (counting CSCComparatorDigi) + cathodeShower = cms.PSet( + ## 10000 means to disable cathode HMT for this chamber type + showerThresholds = cms.vuint32( + # ME1/1 + 10000, 10000, 10000, + # ME1/2 + 10000, 10000, 10000, + # ME1/3 + 10000, 10000, 10000, + # ME2/1 + 10000, 10000, 10000, + # ME2/2 + 10000, 10000, 10000, + # ME3/1 + 10000, 10000, 10000, + # ME3/2 + 10000, 10000, 10000, + # ME4/1 + 10000, 10000, 10000, + # ME4/2 + 10000, 10000, 10000 + ), + showerNumTBins = cms.uint32(3),# 3BX for cathode HMT + minLayersCentralTBin = cms.uint32(5), + ## peack check feature is not implemented in firmware + ## plan to upgrade in future + peakCheck = cms.bool(False), + ), + ## settings for anode showers (counting CSCWireDigi) + anodeShower = cms.PSet( + ## {loose, nominal, tight} thresholds for hit counters + showerThresholds = cms.vuint32( + # ME1/1 + 1000, 1000, 1000, + # ME1/2 + 1000, 1000, 1000, + # ME1/3 + 7, 14, 18, + # ME2/1 + 24, 76, 84, + # ME2/2 + 12, 34, 37, + # ME3/1 + 22, 67, 77, + # ME3/2 + 12, 21, 21, + # ME4/1 + 26, 80, 92, + # ME4/2 + 12, 23, 23 + ), + showerNumTBins = cms.uint32(1),# 1BX for anode HMT + minLayersCentralTBin = cms.uint32(5), + ) +)