1 import FWCore.ParameterSet.Config
as cms
6 cscTriggerPrimitiveDigis = cms.EDProducer(
"CSCTriggerPrimitivesProducer",
11 debugParameters = cms.bool(
False),
14 CSCComparatorDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCComparatorDigi"),
15 CSCWireDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCWireDigi"),
18 checkBadChambers = cms.bool(
True),
21 savePreTriggers = cms.bool(
False),
24 commonParam = cms.PSet(
26 isSLHC = cms.bool(
False),
29 verbosity = cms.int32(0),
32 enableAlctSLHC = cms.bool(
False),
38 gangedME1a = cms.bool(
True),
41 disableME1a = cms.bool(
False),
42 disableME42 = cms.bool(
False),
45 alctClctOffset = cms.uint32(1),
47 runME11Up = cms.bool(
False),
48 runME21Up = cms.bool(
False),
49 runME31Up = cms.bool(
False),
50 runME41Up = cms.bool(
False),
54 alctParam07 = cms.PSet(
55 alctFifoTbins = cms.uint32(16),
56 alctFifoPretrig = cms.uint32(10),
57 alctDriftDelay = cms.uint32(2),
58 alctNplanesHitPretrig = cms.uint32(3),
59 alctNplanesHitPattern = cms.uint32(4),
60 alctNplanesHitAccelPretrig = cms.uint32(3),
61 alctNplanesHitAccelPattern = cms.uint32(4),
62 alctTrigMode = cms.uint32(2),
63 alctAccelMode = cms.uint32(0),
64 alctL1aWindowWidth = cms.uint32(7),
65 verbosity = cms.int32(0),
68 alctEarlyTbins = cms.int32(4),
71 alctNarrowMaskForR1 = cms.bool(
False),
74 alctHitPersist = cms.uint32(6),
78 alctGhostCancellationBxDepth = cms.int32(4),
83 alctGhostCancellationSideQuality = cms.bool(
False),
86 alctPretrigDeadtime = cms.uint32(4),
92 alctUseCorrectedBx = cms.bool(
False)
97 alctFifoTbins = cms.uint32(16),
98 alctFifoPretrig = cms.uint32(10),
99 alctDriftDelay = cms.uint32(2),
100 alctNplanesHitPretrig = cms.uint32(3),
101 alctNplanesHitPattern = cms.uint32(4),
102 alctNplanesHitAccelPretrig = cms.uint32(3),
103 alctNplanesHitAccelPattern = cms.uint32(4),
104 alctTrigMode = cms.uint32(2),
105 alctAccelMode = cms.uint32(0),
106 alctL1aWindowWidth = cms.uint32(7),
107 verbosity = cms.int32(0),
110 alctEarlyTbins = cms.int32(4),
113 alctNarrowMaskForR1 = cms.bool(
True),
116 alctHitPersist = cms.uint32(6),
120 alctGhostCancellationBxDepth = cms.int32(1),
125 alctGhostCancellationSideQuality = cms.bool(
True),
128 alctPretrigDeadtime = cms.uint32(0),
134 alctUseCorrectedBx = cms.bool(
True),
138 clctParam07 = cms.PSet(
139 clctFifoTbins = cms.uint32(12),
140 clctFifoPretrig = cms.uint32(7),
141 clctHitPersist = cms.uint32(4),
142 clctDriftDelay = cms.uint32(2),
143 clctNplanesHitPretrig = cms.uint32(3),
144 clctNplanesHitPattern = cms.uint32(4),
145 clctPidThreshPretrig = cms.uint32(2),
146 clctMinSeparation = cms.uint32(10),
148 verbosity = cms.int32(0),
151 clctStartBxShift = cms.int32(0)
156 clctFifoTbins = cms.uint32(12),
157 clctFifoPretrig = cms.uint32(7),
158 clctHitPersist = cms.uint32(4),
159 clctDriftDelay = cms.uint32(2),
160 clctNplanesHitPretrig = cms.uint32(3),
161 clctNplanesHitPattern = cms.uint32(4),
163 clctPidThreshPretrig = cms.uint32(2),
165 clctMinSeparation = cms.uint32(5),
167 verbosity = cms.int32(0),
170 clctStartBxShift = cms.int32(0),
173 useDeadTimeZoning = cms.bool(
True),
176 clctStateMachineZone = cms.uint32(4),
181 useDynamicStateMachineZone = cms.bool(
False),
187 clctPretriggerTriggerZone = cms.uint32(224),
193 clctUseCorrectedBx = cms.bool(
False)
197 mpcBlockMe1a = cms.uint32(0),
198 alctTrigEnable = cms.uint32(0),
199 clctTrigEnable = cms.uint32(0),
200 matchTrigEnable = cms.uint32(1),
201 matchTrigWindowSize = cms.uint32(7),
202 tmbL1aWindowSize = cms.uint32(7),
204 verbosity = cms.int32(0),
207 tmbEarlyTbins = cms.int32(4),
212 tmbReadoutEarliest2 = cms.bool(
True),
216 tmbDropUsedAlcts = cms.bool(
True),
220 tmbDropUsedClcts = cms.bool(
False),
227 clctToAlct = cms.bool(
False),
232 mpcBlockMe1a = cms.uint32(0),
233 alctTrigEnable = cms.uint32(0),
234 clctTrigEnable = cms.uint32(0),
235 matchTrigEnable = cms.uint32(1),
237 matchTrigWindowSize = cms.uint32(3),
238 tmbL1aWindowSize = cms.uint32(7),
240 verbosity = cms.int32(0),
243 tmbEarlyTbins = cms.int32(4),
248 tmbReadoutEarliest2 = cms.bool(
False),
253 tmbDropUsedAlcts = cms.bool(
False),
260 clctToAlct = cms.bool(
False),
264 tmbDropUsedClcts = cms.bool(
False),
268 matchEarliestAlctOnly = cms.bool(
False),
272 matchEarliestClctOnly = cms.bool(
False),
279 tmbCrossBxAlgorithm = cms.uint32(1),
283 maxLCTs = cms.uint32(2),
288 ignoreAlctCrossClct = cms.bool(
True),
291 debugLUTs = cms.bool(
False),
292 debugMatching = cms.bool(
False),
298 sortStubs = cms.bool(
False),
299 dropInvalidStubs = cms.bool(
False),
300 dropLowQualityStubs = cms.bool(
False),
306 copadParamGE11 = cms.PSet(
307 verbosity = cms.uint32(0),
308 maxDeltaPad = cms.uint32(2),
309 maxDeltaRoll = cms.uint32(1),
310 maxDeltaBX = cms.uint32(0)
313 copadParamGE21 = cms.PSet(
314 verbosity = cms.uint32(0),
315 maxDeltaPad = cms.uint32(2),
316 maxDeltaRoll = cms.uint32(1),
317 maxDeltaBX = cms.uint32(0)
321 me11tmbSLHCGEM = cms.PSet(
322 mpcBlockMe1a = cms.uint32(0),
323 alctTrigEnable = cms.uint32(0),
324 clctTrigEnable = cms.uint32(0),
325 matchTrigEnable = cms.uint32(1),
326 matchTrigWindowSize = cms.uint32(3),
327 tmbL1aWindowSize = cms.uint32(7),
328 verbosity = cms.int32(0),
329 tmbEarlyTbins = cms.int32(4),
330 tmbReadoutEarliest2 = cms.bool(
False),
331 tmbDropUsedAlcts = cms.bool(
False),
332 clctToAlct = cms.bool(
False),
333 tmbDropUsedClcts = cms.bool(
False),
334 matchEarliestAlctOnly = cms.bool(
False),
335 matchEarliestClctOnly = cms.bool(
False),
336 tmbCrossBxAlgorithm = cms.uint32(2),
337 maxLCTs = cms.uint32(2),
340 debugLUTs = cms.bool(
False),
341 debugMatching = cms.bool(
False),
344 useOldLCTDataFormat = cms.bool(
True),
347 maxDeltaBXPad = cms.int32(1),
348 maxDeltaBXCoPad = cms.int32(1),
349 maxDeltaPadL1Even = cms.int32(12),
350 maxDeltaPadL1Odd = cms.int32(24),
351 maxDeltaPadL2Even = cms.int32(12),
352 maxDeltaPadL2Odd = cms.int32(24),
355 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
356 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
357 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
358 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
359 buildLCTfromALCTandGEM_ME1a = cms.bool(
False),
360 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
361 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
362 buildLCTfromCLCTandGEM_ME1b = cms.bool(
True),
363 doLCTGhostBustingWithGEMs = cms.bool(
False),
364 promoteALCTGEMpattern = cms.bool(
True),
365 promoteALCTGEMquality = cms.bool(
True),
366 promoteCLCTGEMquality_ME1a = cms.bool(
True),
367 promoteCLCTGEMquality_ME1b = cms.bool(
True),
371 me21tmbSLHCGEM = cms.PSet(
372 mpcBlockMe1a = cms.uint32(0),
373 alctTrigEnable = cms.uint32(0),
374 clctTrigEnable = cms.uint32(0),
375 matchTrigEnable = cms.uint32(1),
376 matchTrigWindowSize = cms.uint32(3),
377 tmbL1aWindowSize = cms.uint32(7),
378 verbosity = cms.int32(0),
379 tmbEarlyTbins = cms.int32(4),
380 tmbReadoutEarliest2 = cms.bool(
False),
381 tmbDropUsedAlcts = cms.bool(
False),
382 clctToAlct = cms.bool(
False),
383 tmbDropUsedClcts = cms.bool(
False),
384 matchEarliestAlctOnly = cms.bool(
False),
385 matchEarliestClctOnly = cms.bool(
False),
386 tmbCrossBxAlgorithm = cms.uint32(2),
387 maxLCTs = cms.uint32(2),
390 debugLUTs = cms.bool(
False),
391 debugMatching = cms.bool(
False),
394 useOldLCTDataFormat = cms.bool(
True),
397 maxDeltaBXPad = cms.int32(1),
398 maxDeltaBXCoPad = cms.int32(1),
399 maxDeltaPadL1Even = cms.int32(12),
400 maxDeltaPadL1Odd = cms.int32(24),
401 maxDeltaPadL2Even = cms.int32(12),
402 maxDeltaPadL2Odd = cms.int32(24),
405 dropLowQualityALCTsNoGEMs = cms.bool(
True),
406 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
407 buildLCTfromALCTandGEM = cms.bool(
True),
408 buildLCTfromCLCTandGEM = cms.bool(
True),
409 doLCTGhostBustingWithGEMs = cms.bool(
False),
410 promoteALCTGEMpattern = cms.bool(
True),
411 promoteALCTGEMquality = cms.bool(
True),
412 promoteCLCTGEMquality = cms.bool(
True),
416 meX1tmbSLHC = cms.PSet(
417 mpcBlockMe1a = cms.uint32(0),
418 alctTrigEnable = cms.uint32(0),
419 clctTrigEnable = cms.uint32(0),
420 matchTrigEnable = cms.uint32(1),
421 matchTrigWindowSize = cms.uint32(3),
422 tmbL1aWindowSize = cms.uint32(7),
423 verbosity = cms.int32(0),
424 tmbEarlyTbins = cms.int32(4),
425 tmbReadoutEarliest2 = cms.bool(
False),
426 tmbDropUsedAlcts = cms.bool(
False),
427 clctToAlct = cms.bool(
False),
428 tmbDropUsedClcts = cms.bool(
False),
429 matchEarliestAlctOnly = cms.bool(
False),
430 matchEarliestClctOnly = cms.bool(
False),
431 tmbCrossBxAlgorithm = cms.uint32(2),
432 maxLCTs = cms.uint32(2),
435 debugLUTs = cms.bool(
False),
436 debugMatching = cms.bool(
False),
440 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
441 run2_common.toModify( cscTriggerPrimitiveDigis,
442 debugParameters =
True,
443 checkBadChambers =
False,
444 commonParam = dict(gangedME1a =
False),
448 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
449 run3_GEM.toModify( cscTriggerPrimitiveDigis,
450 GEMPadDigiProducer = cms.InputTag(
"simMuonGEMPadDigis"),
451 GEMPadDigiClusterProducer = cms.InputTag(
"simMuonGEMPadDigiClusters"),
452 commonParam = dict(isSLHC =
True,
453 runME11Up = cms.bool(
True),
454 runME11ILT = cms.bool(
True),
455 useClusters = cms.bool(
True),
456 enableAlctSLHC = cms.bool(
True)),
457 clctSLHC = dict(clctNplanesHitPattern = 3),
458 me11tmbSLHCGEM = me11tmbSLHCGEM,
459 copadParamGE11 = copadParamGE11
463 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
464 phase2_muon.toModify( cscTriggerPrimitiveDigis,
465 commonParam = dict(runME21Up = cms.bool(
True),
466 runME21ILT = cms.bool(
True),
467 runME31Up = cms.bool(
True),
468 runME41Up = cms.bool(
True)),
469 tmbSLHC = dict(ignoreAlctCrossClct = cms.bool(
False)),
470 clctSLHC = dict(useDynamicStateMachineZone = cms.bool(
True)),
471 alctSLHCME21 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 3),
472 clctSLHCME21 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 3),
473 me21tmbSLHCGEM = me21tmbSLHCGEM,
474 alctSLHCME3141 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 4),
475 clctSLHCME3141 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 4),
476 meX1tmbSLHC = meX1tmbSLHC,
477 copadParamGE11 = copadParamGE11,
478 copadParamGE21 = copadParamGE21