forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshowerParams.py
178 lines (174 loc) · 4.34 KB
/
showerParams.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
import FWCore.ParameterSet.Config as cms
#Parameterset for the hadronic shower trigger for Run-3
showerPSet = cms.PSet(
## what kind of shower triggers the logic?
## 0: cathode-only (TMB/OTMB)
## 1: anode-only (from ALCT board)
## 2: cathode or anode showers
## loose -> 'loose anode or loose cathode'
## nominal -> 'nominal anode or nominal cathode'
## tight -> 'tight anode or tight cathode'
## 3: cathode and anode showers
## loose -> 'loose anode and loose cathode'
## nominal -> 'nominal anode and nominal cathode'
## tight -> 'tight anode and tight cathode'
source = cms.vuint32(
# ME1/1
3,
# ME1/2
1,
# ME1/3
1,
# ME2/1
3,
# ME2/2
1,
# ME3/1
3,
# ME3/2
1,
# ME4/1
3,
# ME4/2
1
),
## settings for cathode showers (counting CSCComparatorDigi)
cathodeShower = cms.PSet(
## {loose, nominal, tight} thresholds for hit counters
## loose ~ 0.75 kHz
## nominal ~ 0.5 kHz
## tight ~ 0.25 kHz
## 10000 means to disable cathode HMT for this chamber type
showerThresholds = cms.vuint32(
# ME1/1
100, 100, 100,
# ME1/2
10000, 10000, 10000,
# ME1/3
10000, 10000, 10000,
# ME2/1
14, 33, 35,
# ME2/2
10000, 10000, 10000,
# ME3/1
12, 31, 33,
# ME3/2
10000, 10000, 10000,
# ME4/1
14, 34, 36,
# 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
140, 140, 140,
# ME1/2
140, 140, 140,
# ME1/3
7, 14, 18,
# ME2/1
23, 56, 58,
# ME2/2
12, 28, 32,
# ME3/1
21, 55, 57,
# ME3/2
12, 26, 34,
# ME4/1
25, 62, 64,
# ME4/2
12, 27, 31
),
showerNumTBins = cms.uint32(1),# 1BX for anode HMT
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),
)
)