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 commonParam = cms.PSet(
23 isSLHC = cms.bool(
False),
26 verbosity = cms.int32(0),
29 enableAlctSLHC = cms.bool(
False),
35 gangedME1a = cms.bool(
True),
38 disableME1a = cms.bool(
False),
39 disableME42 = cms.bool(
False),
42 alctClctOffset = cms.uint32(1),
44 runME11Up = cms.bool(
False),
45 runME21Up = cms.bool(
False),
46 runME31Up = cms.bool(
False),
47 runME41Up = cms.bool(
False),
51 alctParam07 = cms.PSet(
52 alctFifoTbins = cms.uint32(16),
53 alctFifoPretrig = cms.uint32(10),
54 alctDriftDelay = cms.uint32(2),
55 alctNplanesHitPretrig = cms.uint32(3),
56 alctNplanesHitPattern = cms.uint32(4),
57 alctNplanesHitAccelPretrig = cms.uint32(3),
58 alctNplanesHitAccelPattern = cms.uint32(4),
59 alctTrigMode = cms.uint32(2),
60 alctAccelMode = cms.uint32(0),
61 alctL1aWindowWidth = cms.uint32(7),
62 verbosity = cms.int32(0),
65 alctEarlyTbins = cms.int32(4),
68 alctNarrowMaskForR1 = cms.bool(
False),
71 alctHitPersist = cms.uint32(6),
75 alctGhostCancellationBxDepth = cms.int32(4),
80 alctGhostCancellationSideQuality = cms.bool(
False),
83 alctPretrigDeadtime = cms.uint32(4),
89 alctUseCorrectedBx = cms.bool(
False)
94 alctFifoTbins = cms.uint32(16),
95 alctFifoPretrig = cms.uint32(10),
96 alctDriftDelay = cms.uint32(2),
97 alctNplanesHitPretrig = cms.uint32(3),
98 alctNplanesHitPattern = cms.uint32(4),
99 alctNplanesHitAccelPretrig = cms.uint32(3),
100 alctNplanesHitAccelPattern = cms.uint32(4),
101 alctTrigMode = cms.uint32(2),
102 alctAccelMode = cms.uint32(0),
103 alctL1aWindowWidth = cms.uint32(7),
104 verbosity = cms.int32(0),
107 alctEarlyTbins = cms.int32(4),
110 alctNarrowMaskForR1 = cms.bool(
True),
113 alctHitPersist = cms.uint32(6),
117 alctGhostCancellationBxDepth = cms.int32(1),
122 alctGhostCancellationSideQuality = cms.bool(
True),
125 alctPretrigDeadtime = cms.uint32(0),
131 alctUseCorrectedBx = cms.bool(
True),
135 clctParam07 = cms.PSet(
136 clctFifoTbins = cms.uint32(12),
137 clctFifoPretrig = cms.uint32(7),
138 clctHitPersist = cms.uint32(4),
139 clctDriftDelay = cms.uint32(2),
140 clctNplanesHitPretrig = cms.uint32(3),
141 clctNplanesHitPattern = cms.uint32(4),
142 clctPidThreshPretrig = cms.uint32(2),
143 clctMinSeparation = cms.uint32(10),
145 verbosity = cms.int32(0),
148 clctStartBxShift = cms.int32(0)
153 clctFifoTbins = cms.uint32(12),
154 clctFifoPretrig = cms.uint32(7),
155 clctHitPersist = cms.uint32(4),
156 clctDriftDelay = cms.uint32(2),
157 clctNplanesHitPretrig = cms.uint32(3),
158 clctNplanesHitPattern = cms.uint32(4),
160 clctPidThreshPretrig = cms.uint32(2),
162 clctMinSeparation = cms.uint32(5),
164 verbosity = cms.int32(0),
167 clctStartBxShift = cms.int32(0),
170 useDeadTimeZoning = cms.bool(
True),
173 clctStateMachineZone = cms.uint32(4),
178 useDynamicStateMachineZone = cms.bool(
False),
184 clctPretriggerTriggerZone = cms.uint32(224),
190 clctUseCorrectedBx = cms.bool(
False)
194 mpcBlockMe1a = cms.uint32(0),
195 alctTrigEnable = cms.uint32(0),
196 clctTrigEnable = cms.uint32(0),
197 matchTrigEnable = cms.uint32(1),
198 matchTrigWindowSize = cms.uint32(7),
199 tmbL1aWindowSize = cms.uint32(7),
201 verbosity = cms.int32(0),
204 tmbEarlyTbins = cms.int32(4),
209 tmbReadoutEarliest2 = cms.bool(
True),
213 tmbDropUsedAlcts = cms.bool(
True),
217 tmbDropUsedClcts = cms.bool(
False),
224 clctToAlct = cms.bool(
False),
229 mpcBlockMe1a = cms.uint32(0),
230 alctTrigEnable = cms.uint32(0),
231 clctTrigEnable = cms.uint32(0),
232 matchTrigEnable = cms.uint32(1),
234 matchTrigWindowSize = cms.uint32(3),
235 tmbL1aWindowSize = cms.uint32(7),
237 verbosity = cms.int32(0),
240 tmbEarlyTbins = cms.int32(4),
245 tmbReadoutEarliest2 = cms.bool(
False),
250 tmbDropUsedAlcts = cms.bool(
False),
257 clctToAlct = cms.bool(
False),
261 tmbDropUsedClcts = cms.bool(
False),
265 matchEarliestAlctOnly = cms.bool(
False),
269 matchEarliestClctOnly = cms.bool(
False),
276 tmbCrossBxAlgorithm = cms.uint32(1),
280 maxLCTs = cms.uint32(2),
285 ignoreAlctCrossClct = cms.bool(
True),
288 debugLUTs = cms.bool(
False),
289 debugMatching = cms.bool(
False),
295 sortStubs = cms.bool(
False),
296 dropInvalidStubs = cms.bool(
False),
297 dropLowQualityStubs = cms.bool(
False),
303 copadParamGE11 = cms.PSet(
304 verbosity = cms.uint32(0),
305 maxDeltaPad = cms.uint32(2),
306 maxDeltaRoll = cms.uint32(1),
307 maxDeltaBX = cms.uint32(1)
310 copadParamGE21 = cms.PSet(
311 verbosity = cms.uint32(0),
312 maxDeltaPad = cms.uint32(2),
313 maxDeltaRoll = cms.uint32(1),
314 maxDeltaBX = cms.uint32(1)
318 me11tmbSLHCGEM = cms.PSet(
319 mpcBlockMe1a = cms.uint32(0),
320 alctTrigEnable = cms.uint32(0),
321 clctTrigEnable = cms.uint32(0),
322 matchTrigEnable = cms.uint32(1),
323 matchTrigWindowSize = cms.uint32(3),
324 tmbL1aWindowSize = cms.uint32(7),
325 verbosity = cms.int32(0),
326 tmbEarlyTbins = cms.int32(4),
327 tmbReadoutEarliest2 = cms.bool(
False),
328 tmbDropUsedAlcts = cms.bool(
False),
329 clctToAlct = cms.bool(
False),
330 tmbDropUsedClcts = cms.bool(
False),
331 matchEarliestAlctOnly = cms.bool(
False),
332 matchEarliestClctOnly = cms.bool(
False),
333 tmbCrossBxAlgorithm = cms.uint32(2),
334 maxLCTs = cms.uint32(2),
337 debugLUTs = cms.bool(
False),
338 debugMatching = cms.bool(
False),
341 useOldLCTDataFormat = cms.bool(
True),
344 maxDeltaBXPad = cms.int32(1),
345 maxDeltaBXCoPad = cms.int32(1),
346 maxDeltaPadL1Even = cms.int32(12),
347 maxDeltaPadL1Odd = cms.int32(24),
348 maxDeltaPadL2Even = cms.int32(12),
349 maxDeltaPadL2Odd = cms.int32(24),
352 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
353 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
354 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
355 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
356 buildLCTfromALCTandGEM_ME1a = cms.bool(
True),
357 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
358 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
359 buildLCTfromCLCTandGEM_ME1b = cms.bool(
False),
360 doLCTGhostBustingWithGEMs = cms.bool(
False),
361 promoteALCTGEMpattern = cms.bool(
True),
362 promoteALCTGEMquality = cms.bool(
True),
363 promoteCLCTGEMquality_ME1a = cms.bool(
True),
364 promoteCLCTGEMquality_ME1b = cms.bool(
True),
368 me21tmbSLHCGEM = cms.PSet(
369 mpcBlockMe1a = cms.uint32(0),
370 alctTrigEnable = cms.uint32(0),
371 clctTrigEnable = cms.uint32(0),
372 matchTrigEnable = cms.uint32(1),
373 matchTrigWindowSize = cms.uint32(3),
374 tmbL1aWindowSize = cms.uint32(7),
375 verbosity = cms.int32(0),
376 tmbEarlyTbins = cms.int32(4),
377 tmbReadoutEarliest2 = cms.bool(
False),
378 tmbDropUsedAlcts = cms.bool(
False),
379 clctToAlct = cms.bool(
False),
380 tmbDropUsedClcts = cms.bool(
False),
381 matchEarliestAlctOnly = cms.bool(
False),
382 matchEarliestClctOnly = cms.bool(
False),
383 tmbCrossBxAlgorithm = cms.uint32(2),
384 maxLCTs = cms.uint32(2),
387 debugLUTs = cms.bool(
False),
388 debugMatching = cms.bool(
False),
391 useOldLCTDataFormat = cms.bool(
True),
394 maxDeltaBXPad = cms.int32(1),
395 maxDeltaBXCoPad = cms.int32(1),
396 maxDeltaPadL1Even = cms.int32(6),
397 maxDeltaPadL1Odd = cms.int32(12),
398 maxDeltaPadL2Even = cms.int32(6),
399 maxDeltaPadL2Odd = cms.int32(12),
402 dropLowQualityALCTsNoGEMs = cms.bool(
False),
403 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
404 buildLCTfromALCTandGEM = cms.bool(
True),
405 buildLCTfromCLCTandGEM = cms.bool(
False),
406 doLCTGhostBustingWithGEMs = cms.bool(
False),
407 promoteALCTGEMpattern = cms.bool(
True),
408 promoteALCTGEMquality = cms.bool(
True),
409 promoteCLCTGEMquality = cms.bool(
True),
413 meX1tmbSLHC = cms.PSet(
414 mpcBlockMe1a = cms.uint32(0),
415 alctTrigEnable = cms.uint32(0),
416 clctTrigEnable = cms.uint32(0),
417 matchTrigEnable = cms.uint32(1),
418 matchTrigWindowSize = cms.uint32(3),
419 tmbL1aWindowSize = cms.uint32(7),
420 verbosity = cms.int32(0),
421 tmbEarlyTbins = cms.int32(4),
422 tmbReadoutEarliest2 = cms.bool(
False),
423 tmbDropUsedAlcts = cms.bool(
False),
424 clctToAlct = cms.bool(
False),
425 tmbDropUsedClcts = cms.bool(
False),
426 matchEarliestAlctOnly = cms.bool(
False),
427 matchEarliestClctOnly = cms.bool(
False),
428 tmbCrossBxAlgorithm = cms.uint32(2),
429 maxLCTs = cms.uint32(2),
432 debugLUTs = cms.bool(
False),
433 debugMatching = cms.bool(
False),
437 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
438 run2_common.toModify( cscTriggerPrimitiveDigis,
439 debugParameters =
True,
440 checkBadChambers =
False,
441 commonParam =
dict(gangedME1a =
False),
445 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
446 run3_GEM.toModify( cscTriggerPrimitiveDigis,
447 GEMPadDigiProducer = cms.InputTag(
"simMuonGEMPadDigis"),
448 GEMPadDigiClusterProducer = cms.InputTag(
"simMuonGEMPadDigiClusters"),
449 commonParam =
dict(isSLHC =
True,
450 runME11Up = cms.bool(
True),
451 runME11ILT = cms.bool(
True),
452 useClusters = cms.bool(
False),
453 enableAlctSLHC = cms.bool(
True)),
454 clctSLHC =
dict(clctNplanesHitPattern = 3),
455 me11tmbSLHCGEM = me11tmbSLHCGEM,
456 copadParamGE11 = copadParamGE11
460 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
461 phase2_muon.toModify( cscTriggerPrimitiveDigis,
462 commonParam =
dict(runME21Up = cms.bool(
True),
463 runME21ILT = cms.bool(
True),
464 runME31Up = cms.bool(
True),
465 runME41Up = cms.bool(
True)),
466 tmbSLHC =
dict(ignoreAlctCrossClct = cms.bool(
True)),
467 clctSLHC =
dict(useDynamicStateMachineZone = cms.bool(
True)),
468 alctSLHCME21 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 3),
469 clctSLHCME21 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 3),
470 me21tmbSLHCGEM = me21tmbSLHCGEM,
471 alctSLHCME3141 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 4),
472 clctSLHCME3141 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 4),
473 meX1tmbSLHC = meX1tmbSLHC,
474 copadParamGE11 = copadParamGE11,
475 copadParamGE21 = copadParamGE21