Skip to content

Commit 5046b36

Browse files
authored
Merge pull request #47701 from kakwok/HMT_thresholds2025_CMSSW_15_1_X
Update 2025 HMT shower thresholds for pp collision
2 parents 7f11a00 + 3cb297e commit 5046b36

File tree

4 files changed

+95
-2
lines changed

4 files changed

+95
-2
lines changed

Configuration/Eras/python/Era_Run3_2025_cff.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
from Configuration.Eras.Era_Run3_2024_cff import Run3_2024
44
from Configuration.Eras.Modifier_run3_GEM_2025_cff import run3_GEM_2025
5+
from Configuration.Eras.Modifier_run3_CSC_2025_cff import run3_CSC_2025
56
from Configuration.Eras.Modifier_stage2L1Trigger_2025_cff import stage2L1Trigger_2025
67
from Configuration.Eras.Modifier_run3_SiPixel_2025_cff import run3_SiPixel_2025
78

8-
Run3_2025 = cms.ModifierChain(Run3_2024, run3_GEM_2025, stage2L1Trigger_2025, run3_SiPixel_2025)
9+
Run3_2025 = cms.ModifierChain(Run3_2024, run3_GEM_2025, stage2L1Trigger_2025, run3_SiPixel_2025, run3_CSC_2025)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import FWCore.ParameterSet.Config as cms
2+
3+
run3_CSC_2025 = cms.Modifier()
4+

L1Trigger/CSCTriggerPrimitives/python/cscTriggerPrimitiveDigis_cfi.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from L1Trigger.CSCTriggerPrimitives.params.tmbParams import tmbPSets
1212
from L1Trigger.CSCTriggerPrimitives.params.auxiliaryParams import auxPSets
1313
from L1Trigger.CSCTriggerPrimitives.params.gemcscParams import gemcscPSets
14-
from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet
14+
from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet,showerPSet_2025
1515

1616
cscTriggerPrimitiveDigis = cms.EDProducer(
1717
"CSCTriggerPrimitivesProducer",
@@ -73,6 +73,12 @@
7373
runME31Up = True,
7474
runME41Up = True)
7575
)
76+
## update shower thresholds for 2025 runs
77+
from Configuration.Eras.Modifier_run3_CSC_2025_cff import run3_CSC_2025
78+
run3_CSC_2025.toModify( cscTriggerPrimitiveDigis,
79+
showerParams = showerPSet_2025.clone()
80+
)
81+
7682

7783
## GEM-CSC integrated local trigger in ME1/1
7884
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM

L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py

+82
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,85 @@
9494
minLayersCentralTBin = cms.uint32(5),
9595
)
9696
)
97+
98+
showerPSet_2025 = cms.PSet(
99+
## what kind of shower triggers the logic?
100+
## 0: cathode-only (TMB/OTMB)
101+
## 1: anode-only (from ALCT board)
102+
source = cms.vuint32(
103+
# ME1/1
104+
1,
105+
# ME1/2
106+
1,
107+
# ME1/3
108+
1,
109+
# ME2/1
110+
1,
111+
# ME2/2
112+
1,
113+
# ME3/1
114+
1,
115+
# ME3/2
116+
1,
117+
# ME4/1
118+
1,
119+
# ME4/2
120+
1
121+
),
122+
123+
## settings for cathode showers (counting CSCComparatorDigi)
124+
cathodeShower = cms.PSet(
125+
## 10000 means to disable cathode HMT for this chamber type
126+
showerThresholds = cms.vuint32(
127+
# ME1/1
128+
10000, 10000, 10000,
129+
# ME1/2
130+
10000, 10000, 10000,
131+
# ME1/3
132+
10000, 10000, 10000,
133+
# ME2/1
134+
10000, 10000, 10000,
135+
# ME2/2
136+
10000, 10000, 10000,
137+
# ME3/1
138+
10000, 10000, 10000,
139+
# ME3/2
140+
10000, 10000, 10000,
141+
# ME4/1
142+
10000, 10000, 10000,
143+
# ME4/2
144+
10000, 10000, 10000
145+
),
146+
showerNumTBins = cms.uint32(3),# 3BX for cathode HMT
147+
minLayersCentralTBin = cms.uint32(5),
148+
## peack check feature is not implemented in firmware
149+
## plan to upgrade in future
150+
peakCheck = cms.bool(False),
151+
),
152+
## settings for anode showers (counting CSCWireDigi)
153+
anodeShower = cms.PSet(
154+
## {loose, nominal, tight} thresholds for hit counters
155+
showerThresholds = cms.vuint32(
156+
# ME1/1
157+
1000, 1000, 1000,
158+
# ME1/2
159+
1000, 1000, 1000,
160+
# ME1/3
161+
7, 14, 18,
162+
# ME2/1
163+
24, 76, 84,
164+
# ME2/2
165+
12, 34, 37,
166+
# ME3/1
167+
22, 67, 77,
168+
# ME3/2
169+
12, 21, 21,
170+
# ME4/1
171+
26, 80, 92,
172+
# ME4/2
173+
12, 23, 23
174+
),
175+
showerNumTBins = cms.uint32(1),# 1BX for anode HMT
176+
minLayersCentralTBin = cms.uint32(5),
177+
)
178+
)

0 commit comments

Comments
 (0)