1 import FWCore.ParameterSet.Config
as cms
10 Modifies cscTriggerPrimitiveDigis for Run 2
12 object.debugParameters =
True
13 object.checkBadChambers =
False
14 object.commonParam.isSLHC =
True
15 object.commonParam.smartME1aME1b =
True
16 object.commonParam.gangedME1a =
False
17 object.alctParam07.alctNarrowMaskForR1 =
True
18 object.alctParam07.alctGhostCancellationBxDepth = cms.int32(1)
19 object.alctParam07.alctGhostCancellationSideQuality = cms.bool(
True)
20 object.alctParam07.alctPretrigDeadtime = cms.uint32(4)
21 object.clctParam07.clctPidThreshPretrig = 4
22 object.clctParam07.clctMinSeparation = 5
23 object.tmbParam.matchTrigWindowSize = 3
28 Modifies cscTriggerPrimitiveDigis for Run 2 + GEMs
30 object.GEMPadDigiProducer =
"simMuonGEMPadDigis"
31 object.commonParam.runME11ILT = cms.bool(
False)
32 object.clctSLHC.clctNplanesHitPattern = 3
33 object.clctSLHC.clctPidThreshPretrig = 2
36 me11tmbSLHCGEM = cms.PSet(
37 mpcBlockMe1a = cms.uint32(0),
38 alctTrigEnable = cms.uint32(0),
39 clctTrigEnable = cms.uint32(0),
40 matchTrigEnable = cms.uint32(1),
41 matchTrigWindowSize = cms.uint32(3),
42 tmbL1aWindowSize = cms.uint32(7),
43 verbosity = cms.int32(0),
44 tmbEarlyTbins = cms.int32(4),
45 tmbReadoutEarliest2 = cms.bool(
False),
46 tmbDropUsedAlcts = cms.bool(
False),
47 clctToAlct = cms.bool(
False),
48 tmbDropUsedClcts = cms.bool(
False),
49 matchEarliestAlctME11Only = cms.bool(
False),
50 matchEarliestClctME11Only = cms.bool(
False),
51 tmbCrossBxAlgorithm = cms.uint32(2),
52 maxME11LCTs = cms.uint32(2),
55 debugLUTs = cms.bool(
False),
56 debugMatching = cms.bool(
False),
57 debugGEMDphi = cms.bool(
False),
60 useOldLCTDataFormat = cms.bool(
True),
63 maxDeltaBXInCoPad = cms.int32(1),
64 maxDeltaPadInCoPad = cms.int32(1),
67 maxDeltaBXPadEven = cms.int32(1),
68 maxDeltaBXPadOdd = cms.int32(1),
69 maxDeltaPadPadEven = cms.int32(2),
70 maxDeltaPadPadOdd = cms.int32(3),
73 maxDeltaBXCoPadEven = cms.int32(0),
74 maxDeltaBXCoPadOdd = cms.int32(0),
75 maxDeltaPadCoPadEven = cms.int32(2),
76 maxDeltaPadCoPadOdd = cms.int32(3),
79 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
80 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
81 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
82 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
83 buildLCTfromALCTandGEM_ME1a = cms.bool(
True),
84 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
85 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
86 buildLCTfromCLCTandGEM_ME1b = cms.bool(
False),
87 doLCTGhostBustingWithGEMs = cms.bool(
False),
88 correctLCTtimingWithGEM = cms.bool(
False),
89 promoteALCTGEMpattern = cms.bool(
True),
90 promoteALCTGEMquality = cms.bool(
True),
91 promoteCLCTGEMquality_ME1a = cms.bool(
True),
92 promoteCLCTGEMquality_ME1b = cms.bool(
True),
95 doGemMatching = cms.bool(
True),
96 gemMatchDeltaEta = cms.double(0.08),
97 gemMatchDeltaBX = cms.int32(1),
98 gemMatchDeltaPhiOdd = cms.double(1),
99 gemMatchDeltaPhiEven = cms.double(1),
100 gemMatchMinEta = cms.double(1.55),
101 gemMatchMaxEta = cms.double(2.15),
102 gemClearNomatchLCTs = cms.bool(
False),
105 firstTwoLCTsInChamber = cms.bool(
True),
108 object.me11tmbSLHCGEM = me11tmbSLHCGEM
112 Modifies cscTriggerPrimitiveDigis for Run 4 + GEMs
114 object.commonParam.runME21ILT = cms.bool(
False)
115 object.clctSLHCME21 = object.clctSLHC.clone()
116 object.alctSLHCME21 = object.alctSLHC.clone()
117 object.alctSLHCME21.alctNplanesHitPattern = 3
118 object.alctSLHCME21.clctNplanesHitPattern = 3
119 object.alctSLHCME21.clctPidThreshPretrig = 2
122 me21tmbSLHCGEM = cms.PSet(
123 mpcBlockMe1a = cms.uint32(0),
124 alctTrigEnable = cms.uint32(0),
125 clctTrigEnable = cms.uint32(0),
126 matchTrigEnable = cms.uint32(1),
127 matchTrigWindowSize = cms.uint32(3),
128 tmbL1aWindowSize = cms.uint32(7),
129 verbosity = cms.int32(0),
130 tmbEarlyTbins = cms.int32(4),
131 tmbReadoutEarliest2 = cms.bool(
False),
132 tmbDropUsedAlcts = cms.bool(
False),
133 clctToAlct = cms.bool(
False),
134 tmbDropUsedClcts = cms.bool(
False),
135 matchEarliestAlctME21Only = cms.bool(
False),
136 matchEarliestClctME21Only = cms.bool(
False),
137 tmbCrossBxAlgorithm = cms.uint32(2),
138 maxME21LCTs = cms.uint32(2),
141 debugLUTs = cms.bool(
False),
142 debugMatching = cms.bool(
False),
143 debugGEMDphi = cms.bool(
False),
146 useOldLCTDataFormat = cms.bool(
True),
149 maxDeltaBXInCoPad = cms.int32(1),
150 maxDeltaPadInCoPad = cms.int32(2),
153 maxDeltaBXPad = cms.int32(1),
154 maxDeltaPadPadOdd = cms.int32(4),
155 maxDeltaPadPadEven = cms.int32(3),
156 maxDeltaWg = cms.int32(2),
159 maxDeltaBXCoPad = cms.int32(1),
160 maxDeltaPadCoPad = cms.int32(2),
163 dropLowQualityALCTsNoGEMs = cms.bool(
False),
164 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
165 buildLCTfromALCTandGEM = cms.bool(
True),
166 buildLCTfromCLCTandGEM = cms.bool(
False),
167 doLCTGhostBustingWithGEMs = cms.bool(
False),
168 correctLCTtimingWithGEM = cms.bool(
False),
169 promoteALCTGEMpattern = cms.bool(
True),
170 promoteALCTGEMquality = cms.bool(
True),
171 promoteCLCTGEMquality = cms.bool(
True),
174 doGemMatching = cms.bool(
True),
175 gemMatchDeltaEta = cms.double(0.08),
176 gemMatchDeltaBX = cms.int32(1),
177 gemMatchDeltaPhiOdd = cms.double(1),
178 gemMatchDeltaPhiEven = cms.double(1),
179 gemMatchMinEta = cms.double(1.5),
180 gemMatchMaxEta = cms.double(2.45),
181 gemClearNomatchLCTs = cms.bool(
False),
183 firstTwoLCTsInChamber = cms.bool(
True),
186 object.me21tmbSLHCGEM = me21tmbSLHCGEM
190 Modifies cscTriggerPrimitiveDigis for Run 4 + RPCs
192 object.RPCDigiProducer =
"simMuonRPCDigis"
193 object.commonParam.runME3141ILT = cms.bool(
False)
194 object.clctSLHCME3141 = object.clctSLHC.clone()
195 object.alctSLHCME3141 = object.alctSLHC.clone()
196 object.alctSLHCME3141.alctNplanesHitPattern = 3
197 object.alctSLHCME3141.clctNplanesHitPattern = 3
198 object.alctSLHCME3141.clctPidThreshPretrig = 2
201 me3141tmbSLHCRPC = cms.PSet(
202 mpcBlockMe1a = cms.uint32(0),
203 alctTrigEnable = cms.uint32(0),
204 clctTrigEnable = cms.uint32(0),
205 matchTrigEnable = cms.uint32(1),
206 matchTrigWindowSize = cms.uint32(3),
207 tmbL1aWindowSize = cms.uint32(7),
208 verbosity = cms.int32(0),
209 tmbEarlyTbins = cms.int32(4),
210 tmbReadoutEarliest2 = cms.bool(
False),
211 tmbDropUsedAlcts = cms.bool(
False),
212 clctToAlct = cms.bool(
False),
213 tmbDropUsedClcts = cms.bool(
False),
214 matchEarliestClctME3141Only = cms.bool(
False),
215 tmbCrossBxAlgorithm = cms.uint32(2),
216 maxME3141LCTs = cms.uint32(2),
219 debugLUTs = cms.bool(
False),
220 debugMatching = cms.bool(
False),
223 useOldLCTDataFormatC = cms.bool(
True),
226 maxDeltaBXRPC = cms.int32(0),
227 maxDeltaStripRPCOdd = cms.int32(6),
228 maxDeltaStripRPCEven = cms.int32(4),
229 maxDeltaWg = cms.int32(2),
232 dropLowQualityCLCTsNoRPCs = cms.bool(
True),
233 buildLCTfromALCTandRPC = cms.bool(
True),
234 buildLCTfromCLCTandRPC = cms.bool(
False),
235 buildLCTfromLowQstubandRPC = cms.bool(
True),
236 promoteCLCTRPCquality = cms.bool(
True),
237 promoteALCTRPCpattern = cms.bool(
True),
238 promoteALCTRPCquality = cms.bool(
True),
241 doRpcMatching = cms.bool(
True),
242 rpcMatchDeltaEta = cms.double(0.08),
243 rpcMatchDeltaBX = cms.int32(1),
244 rpcMatchDeltaPhiOdd = cms.double(1),
245 rpcMatchDeltaPhiEven = cms.double(1),
246 rpcMatchMinEta = cms.double(1.5),
247 rpcClearNomatchLCTs = cms.bool(
False),
250 object.me3141tmbSLHCRPC = me3141tmbSLHCRPC
255 cscTriggerPrimitiveDigis = cms.EDProducer(
"CSCTriggerPrimitivesProducer",
260 debugParameters = cms.bool(
False),
263 CSCComparatorDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCComparatorDigi"),
264 CSCWireDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCWireDigi"),
265 GEMPadDigiProducer = cms.InputTag(
""),
266 RPCDigiProducer = cms.InputTag(
""),
269 checkBadChambers = cms.bool(
True),
272 commonParam = cms.PSet(
273 isTMB07 = cms.bool(
True),
274 isMTCC = cms.bool(
False),
278 isSLHC = cms.bool(
False),
290 smartME1aME1b = cms.bool(
False),
291 gangedME1a = cms.bool(
True),
294 disableME1a = cms.bool(
False),
295 disableME42 = cms.bool(
False),
298 runME11ILT = cms.bool(
False),
299 runME21ILT = cms.bool(
False),
300 runME3141ILT = cms.bool(
False),
304 alctParamOldMC = cms.PSet(
305 alctFifoTbins = cms.uint32(16),
306 alctFifoPretrig = cms.uint32(10),
307 alctDriftDelay = cms.uint32(3),
308 alctNplanesHitPretrig = cms.uint32(2),
309 alctNplanesHitPattern = cms.uint32(4),
310 alctNplanesHitAccelPretrig = cms.uint32(2),
311 alctNplanesHitAccelPattern = cms.uint32(4),
312 alctTrigMode = cms.uint32(3),
313 alctAccelMode = cms.uint32(1),
314 alctL1aWindowWidth = cms.uint32(5),
315 verbosity = cms.int32(0)
319 alctParamMTCC = cms.PSet(
320 alctFifoTbins = cms.uint32(16),
321 alctFifoPretrig = cms.uint32(10),
322 alctDriftDelay = cms.uint32(3),
323 alctNplanesHitPretrig = cms.uint32(2),
324 alctNplanesHitPattern = cms.uint32(4),
325 alctNplanesHitAccelPretrig = cms.uint32(2),
326 alctNplanesHitAccelPattern = cms.uint32(4),
327 alctTrigMode = cms.uint32(2),
328 alctAccelMode = cms.uint32(0),
329 alctL1aWindowWidth = cms.uint32(3),
330 verbosity = cms.int32(0)
334 alctParam07 = cms.PSet(
335 alctFifoTbins = cms.uint32(16),
336 alctFifoPretrig = cms.uint32(10),
337 alctDriftDelay = cms.uint32(2),
338 alctNplanesHitPretrig = cms.uint32(3),
339 alctNplanesHitPattern = cms.uint32(4),
340 alctNplanesHitAccelPretrig = cms.uint32(3),
341 alctNplanesHitAccelPattern = cms.uint32(4),
342 alctTrigMode = cms.uint32(2),
343 alctAccelMode = cms.uint32(0),
344 alctL1aWindowWidth = cms.uint32(7),
345 verbosity = cms.int32(0),
348 alctEarlyTbins = cms.int32(4),
351 alctNarrowMaskForR1 = cms.bool(
False),
354 alctHitPersist = cms.uint32(6),
358 alctGhostCancellationBxDepth = cms.int32(4),
363 alctGhostCancellationSideQuality = cms.bool(
False),
366 alctPretrigDeadtime = cms.uint32(4),
372 alctUseCorrectedBx = cms.bool(
False)
377 alctFifoTbins = cms.uint32(16),
378 alctFifoPretrig = cms.uint32(10),
379 alctDriftDelay = cms.uint32(2),
380 alctNplanesHitPretrig = cms.uint32(3),
381 alctNplanesHitPattern = cms.uint32(4),
382 alctNplanesHitAccelPretrig = cms.uint32(3),
383 alctNplanesHitAccelPattern = cms.uint32(4),
384 alctTrigMode = cms.uint32(2),
385 alctAccelMode = cms.uint32(0),
386 alctL1aWindowWidth = cms.uint32(7),
387 verbosity = cms.int32(0),
390 alctEarlyTbins = cms.int32(4),
393 alctNarrowMaskForR1 = cms.bool(
True),
396 alctHitPersist = cms.uint32(6),
400 alctGhostCancellationBxDepth = cms.int32(1),
405 alctGhostCancellationSideQuality = cms.bool(
True),
408 alctPretrigDeadtime = cms.uint32(0),
414 alctUseCorrectedBx = cms.bool(
True)
418 clctParamOldMC = cms.PSet(
419 clctFifoTbins = cms.uint32(12),
420 clctFifoPretrig = cms.uint32(7),
421 clctHitPersist = cms.uint32(6),
422 clctDriftDelay = cms.uint32(2),
423 clctNplanesHitPretrig = cms.uint32(2),
424 clctNplanesHitPattern = cms.uint32(4),
425 clctPidThreshPretrig = cms.uint32(2),
426 clctMinSeparation = cms.uint32(10),
428 verbosity = cms.int32(0)
432 clctParamMTCC = cms.PSet(
433 clctFifoTbins = cms.uint32(12),
434 clctFifoPretrig = cms.uint32(7),
435 clctHitPersist = cms.uint32(6),
436 clctDriftDelay = cms.uint32(2),
437 clctNplanesHitPretrig = cms.uint32(4),
438 clctNplanesHitPattern = cms.uint32(1),
439 clctPidThreshPretrig = cms.uint32(2),
440 clctMinSeparation = cms.uint32(10),
442 verbosity = cms.int32(0)
446 clctParam07 = cms.PSet(
447 clctFifoTbins = cms.uint32(12),
448 clctFifoPretrig = cms.uint32(7),
449 clctHitPersist = cms.uint32(4),
450 clctDriftDelay = cms.uint32(2),
451 clctNplanesHitPretrig = cms.uint32(3),
452 clctNplanesHitPattern = cms.uint32(4),
453 clctPidThreshPretrig = cms.uint32(2),
454 clctMinSeparation = cms.uint32(10),
456 verbosity = cms.int32(0),
459 clctStartBxShift = cms.int32(0)
464 clctFifoTbins = cms.uint32(12),
465 clctFifoPretrig = cms.uint32(7),
466 clctHitPersist = cms.uint32(4),
467 clctDriftDelay = cms.uint32(2),
468 clctNplanesHitPretrig = cms.uint32(3),
469 clctNplanesHitPattern = cms.uint32(4),
471 clctPidThreshPretrig = cms.uint32(4),
473 clctMinSeparation = cms.uint32(5),
475 verbosity = cms.int32(0),
478 clctStartBxShift = cms.int32(0),
481 useDeadTimeZoning = cms.bool(
True),
484 clctStateMachineZone = cms.uint32(8),
489 useDynamicStateMachineZone = cms.bool(
True),
494 clctPretriggerTriggerZone = cms.uint32(5),
499 clctUseCorrectedBx = cms.bool(
True)
503 mpcBlockMe1a = cms.uint32(0),
504 alctTrigEnable = cms.uint32(0),
505 clctTrigEnable = cms.uint32(0),
506 matchTrigEnable = cms.uint32(1),
507 matchTrigWindowSize = cms.uint32(7),
508 tmbL1aWindowSize = cms.uint32(7),
510 verbosity = cms.int32(0),
513 tmbEarlyTbins = cms.int32(4),
518 tmbReadoutEarliest2 = cms.bool(
True),
523 tmbDropUsedAlcts = cms.bool(
True)
528 mpcBlockMe1a = cms.uint32(0),
529 alctTrigEnable = cms.uint32(0),
530 clctTrigEnable = cms.uint32(0),
531 matchTrigEnable = cms.uint32(1),
533 matchTrigWindowSize = cms.uint32(3),
534 tmbL1aWindowSize = cms.uint32(7),
536 verbosity = cms.int32(0),
539 tmbEarlyTbins = cms.int32(4),
544 tmbReadoutEarliest2 = cms.bool(
False),
549 tmbDropUsedAlcts = cms.bool(
False),
556 clctToAlct = cms.bool(
False),
560 tmbDropUsedClcts = cms.bool(
False),
564 matchEarliestAlctME11Only = cms.bool(
False),
568 matchEarliestClctME11Only = cms.bool(
False),
575 tmbCrossBxAlgorithm = cms.uint32(1),
579 maxME11LCTs = cms.uint32(2)
584 mpcMaxStubs = cms.uint32(3)
591 from Configuration.StandardSequences.Eras
import eras
592 eras.run2_common.toModify( cscTriggerPrimitiveDigis, _modifyCscTriggerPrimitiveDigisForRun2 )
def _modifyCscTriggerPrimitiveDigisForRun2
def _modifyCscTriggerPrimitiveDigisForRun4RPC
def _modifyCscTriggerPrimitiveDigisForRun2GE11
def _modifyCscTriggerPrimitiveDigisForRun4GE21