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"),
16 GEMPadDigiProducer = cms.InputTag(
""),
17 GEMPadDigiClusterProducer = cms.InputTag(
""),
20 checkBadChambers = cms.bool(
True),
23 writeOutAllCLCTs = cms.bool(
False),
26 writeOutAllALCTs = cms.bool(
False),
29 savePreTriggers = cms.bool(
False),
32 commonParam = cms.PSet(
34 isSLHC = cms.bool(
False),
37 verbosity = cms.int32(0),
40 enableAlctSLHC = cms.bool(
False),
46 gangedME1a = cms.bool(
True),
49 disableME1a = cms.bool(
False),
50 disableME42 = cms.bool(
False),
53 alctClctOffset = cms.uint32(1),
55 runME11Up = cms.bool(
False),
56 runME21Up = cms.bool(
False),
57 runME31Up = cms.bool(
False),
58 runME41Up = cms.bool(
False),
60 runME11ILT = cms.bool(
False),
61 runME21ILT = cms.bool(
False),
62 useClusters = cms.bool(
False),
66 alctParam07 = cms.PSet(
67 alctFifoTbins = cms.uint32(16),
68 alctFifoPretrig = cms.uint32(10),
69 alctDriftDelay = cms.uint32(2),
70 alctNplanesHitPretrig = cms.uint32(3),
71 alctNplanesHitPattern = cms.uint32(4),
72 alctNplanesHitAccelPretrig = cms.uint32(3),
73 alctNplanesHitAccelPattern = cms.uint32(4),
74 alctTrigMode = cms.uint32(2),
75 alctAccelMode = cms.uint32(0),
76 alctL1aWindowWidth = cms.uint32(7),
77 verbosity = cms.int32(0),
80 alctEarlyTbins = cms.int32(4),
83 alctNarrowMaskForR1 = cms.bool(
False),
86 alctHitPersist = cms.uint32(6),
90 alctGhostCancellationBxDepth = cms.int32(4),
95 alctGhostCancellationSideQuality = cms.bool(
False),
98 alctPretrigDeadtime = cms.uint32(4),
104 alctUseCorrectedBx = cms.bool(
False)
109 alctFifoTbins = cms.uint32(16),
110 alctFifoPretrig = cms.uint32(10),
111 alctDriftDelay = cms.uint32(2),
112 alctNplanesHitPretrig = cms.uint32(3),
113 alctNplanesHitPattern = cms.uint32(4),
114 alctNplanesHitAccelPretrig = cms.uint32(3),
115 alctNplanesHitAccelPattern = cms.uint32(4),
116 alctTrigMode = cms.uint32(2),
117 alctAccelMode = cms.uint32(0),
118 alctL1aWindowWidth = cms.uint32(7),
119 verbosity = cms.int32(0),
122 alctEarlyTbins = cms.int32(4),
125 alctNarrowMaskForR1 = cms.bool(
True),
128 alctHitPersist = cms.uint32(6),
132 alctGhostCancellationBxDepth = cms.int32(1),
137 alctGhostCancellationSideQuality = cms.bool(
True),
140 alctPretrigDeadtime = cms.uint32(0),
146 alctUseCorrectedBx = cms.bool(
True),
150 clctParam07 = cms.PSet(
151 clctFifoTbins = cms.uint32(12),
152 clctFifoPretrig = cms.uint32(7),
153 clctHitPersist = cms.uint32(4),
154 clctDriftDelay = cms.uint32(2),
155 clctNplanesHitPretrig = cms.uint32(3),
156 clctNplanesHitPattern = cms.uint32(4),
157 clctPidThreshPretrig = cms.uint32(2),
158 clctMinSeparation = cms.uint32(10),
160 verbosity = cms.int32(0),
163 clctStartBxShift = cms.int32(0),
165 useRun3Patterns = cms.bool(
False),
167 useComparatorCodes = cms.bool(
False),
172 clctFifoTbins = cms.uint32(12),
173 clctFifoPretrig = cms.uint32(7),
174 clctHitPersist = cms.uint32(4),
175 clctDriftDelay = cms.uint32(2),
176 clctNplanesHitPretrig = cms.uint32(3),
177 clctNplanesHitPattern = cms.uint32(4),
179 clctPidThreshPretrig = cms.uint32(2),
181 clctMinSeparation = cms.uint32(5),
183 verbosity = cms.int32(0),
186 clctStartBxShift = cms.int32(0),
189 useDeadTimeZoning = cms.bool(
True),
192 clctStateMachineZone = cms.uint32(4),
197 useDynamicStateMachineZone = cms.bool(
False),
203 clctPretriggerTriggerZone = cms.uint32(224),
209 clctUseCorrectedBx = cms.bool(
False),
211 useRun3Patterns = cms.bool(
False),
213 useComparatorCodes = cms.bool(
False),
217 mpcBlockMe1a = cms.uint32(0),
218 alctTrigEnable = cms.uint32(0),
219 clctTrigEnable = cms.uint32(0),
220 matchTrigEnable = cms.uint32(1),
221 matchTrigWindowSize = cms.uint32(7),
222 tmbL1aWindowSize = cms.uint32(7),
224 verbosity = cms.int32(0),
227 tmbEarlyTbins = cms.int32(4),
232 tmbReadoutEarliest2 = cms.bool(
True),
236 tmbDropUsedAlcts = cms.bool(
True),
240 tmbDropUsedClcts = cms.bool(
False),
247 clctToAlct = cms.bool(
False),
250 useHighMultiplicityBits = cms.bool(
False),
255 mpcBlockMe1a = cms.uint32(0),
256 alctTrigEnable = cms.uint32(0),
257 clctTrigEnable = cms.uint32(0),
258 matchTrigEnable = cms.uint32(1),
260 matchTrigWindowSize = cms.uint32(3),
261 tmbL1aWindowSize = cms.uint32(7),
263 verbosity = cms.int32(0),
266 tmbEarlyTbins = cms.int32(4),
271 tmbReadoutEarliest2 = cms.bool(
False),
276 tmbDropUsedAlcts = cms.bool(
False),
283 clctToAlct = cms.bool(
False),
286 useHighMultiplicityBits = cms.bool(
False),
290 tmbDropUsedClcts = cms.bool(
False),
294 matchEarliestAlctOnly = cms.bool(
False),
298 matchEarliestClctOnly = cms.bool(
False),
305 tmbCrossBxAlgorithm = cms.uint32(1),
309 maxLCTs = cms.uint32(2),
314 ignoreAlctCrossClct = cms.bool(
True),
317 debugLUTs = cms.bool(
False),
318 debugMatching = cms.bool(
False),
324 sortStubs = cms.bool(
False),
325 dropInvalidStubs = cms.bool(
False),
326 dropLowQualityStubs = cms.bool(
False),
332 copadParamGE11 = cms.PSet(
333 verbosity = cms.uint32(0),
334 maxDeltaPad = cms.uint32(2),
335 maxDeltaRoll = cms.uint32(1),
336 maxDeltaBX = cms.uint32(0)
339 copadParamGE21 = cms.PSet(
340 verbosity = cms.uint32(0),
341 maxDeltaPad = cms.uint32(2),
342 maxDeltaRoll = cms.uint32(1),
343 maxDeltaBX = cms.uint32(0)
347 me11tmbSLHCGEM = cms.PSet(
348 mpcBlockMe1a = cms.uint32(0),
349 alctTrigEnable = cms.uint32(0),
350 clctTrigEnable = cms.uint32(0),
351 matchTrigEnable = cms.uint32(1),
352 matchTrigWindowSize = cms.uint32(3),
353 tmbL1aWindowSize = cms.uint32(7),
354 verbosity = cms.int32(0),
355 tmbEarlyTbins = cms.int32(4),
356 tmbReadoutEarliest2 = cms.bool(
False),
357 tmbDropUsedAlcts = cms.bool(
False),
358 clctToAlct = cms.bool(
False),
359 tmbDropUsedClcts = cms.bool(
False),
360 matchEarliestAlctOnly = cms.bool(
False),
361 matchEarliestClctOnly = cms.bool(
False),
362 tmbCrossBxAlgorithm = cms.uint32(2),
363 maxLCTs = cms.uint32(2),
366 debugLUTs = cms.bool(
False),
367 debugMatching = cms.bool(
False),
370 useOldLCTDataFormat = cms.bool(
True),
373 maxDeltaBXPad = cms.int32(1),
374 maxDeltaBXCoPad = cms.int32(1),
375 maxDeltaPadL1Even = cms.int32(12),
376 maxDeltaPadL1Odd = cms.int32(24),
377 maxDeltaPadL2Even = cms.int32(12),
378 maxDeltaPadL2Odd = cms.int32(24),
381 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
382 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
383 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
384 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
385 buildLCTfromALCTandGEM_ME1a = cms.bool(
False),
386 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
387 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
388 buildLCTfromCLCTandGEM_ME1b = cms.bool(
True),
389 doLCTGhostBustingWithGEMs = cms.bool(
False),
390 promoteALCTGEMpattern = cms.bool(
True),
391 promoteALCTGEMquality = cms.bool(
True),
392 promoteCLCTGEMquality_ME1a = cms.bool(
True),
393 promoteCLCTGEMquality_ME1b = cms.bool(
True),
396 useHighMultiplicityBits = cms.bool(
False),
400 me21tmbSLHCGEM = cms.PSet(
401 mpcBlockMe1a = cms.uint32(0),
402 alctTrigEnable = cms.uint32(0),
403 clctTrigEnable = cms.uint32(0),
404 matchTrigEnable = cms.uint32(1),
405 matchTrigWindowSize = cms.uint32(3),
406 tmbL1aWindowSize = cms.uint32(7),
407 verbosity = cms.int32(0),
408 tmbEarlyTbins = cms.int32(4),
409 tmbReadoutEarliest2 = cms.bool(
False),
410 tmbDropUsedAlcts = cms.bool(
False),
411 clctToAlct = cms.bool(
False),
412 tmbDropUsedClcts = cms.bool(
False),
413 matchEarliestAlctOnly = cms.bool(
False),
414 matchEarliestClctOnly = cms.bool(
False),
415 tmbCrossBxAlgorithm = cms.uint32(2),
416 maxLCTs = cms.uint32(2),
419 debugLUTs = cms.bool(
False),
420 debugMatching = cms.bool(
False),
423 useOldLCTDataFormat = cms.bool(
True),
426 maxDeltaBXPad = cms.int32(1),
427 maxDeltaBXCoPad = cms.int32(1),
428 maxDeltaPadL1Even = cms.int32(12),
429 maxDeltaPadL1Odd = cms.int32(24),
430 maxDeltaPadL2Even = cms.int32(12),
431 maxDeltaPadL2Odd = cms.int32(24),
434 dropLowQualityALCTsNoGEMs = cms.bool(
True),
435 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
436 buildLCTfromALCTandGEM = cms.bool(
True),
437 buildLCTfromCLCTandGEM = cms.bool(
True),
438 doLCTGhostBustingWithGEMs = cms.bool(
False),
439 promoteALCTGEMpattern = cms.bool(
True),
440 promoteALCTGEMquality = cms.bool(
True),
441 promoteCLCTGEMquality = cms.bool(
True),
444 useHighMultiplicityBits = cms.bool(
False),
448 meX1tmbSLHC = cms.PSet(
449 mpcBlockMe1a = cms.uint32(0),
450 alctTrigEnable = cms.uint32(0),
451 clctTrigEnable = cms.uint32(0),
452 matchTrigEnable = cms.uint32(1),
453 matchTrigWindowSize = cms.uint32(3),
454 tmbL1aWindowSize = cms.uint32(7),
455 verbosity = cms.int32(0),
456 tmbEarlyTbins = cms.int32(4),
457 tmbReadoutEarliest2 = cms.bool(
False),
458 tmbDropUsedAlcts = cms.bool(
False),
459 clctToAlct = cms.bool(
False),
460 tmbDropUsedClcts = cms.bool(
False),
461 matchEarliestAlctOnly = cms.bool(
False),
462 matchEarliestClctOnly = cms.bool(
False),
463 tmbCrossBxAlgorithm = cms.uint32(2),
464 maxLCTs = cms.uint32(2),
467 debugLUTs = cms.bool(
False),
468 debugMatching = cms.bool(
False),
471 useHighMultiplicityBits = cms.bool(
False),
475 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
476 run2_common.toModify( cscTriggerPrimitiveDigis,
477 debugParameters =
True,
478 checkBadChambers =
False,
479 commonParam = dict(gangedME1a =
False),
483 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
484 run3_GEM.toModify( cscTriggerPrimitiveDigis,
485 GEMPadDigiProducer = cms.InputTag(
"simMuonGEMPadDigis"),
486 GEMPadDigiClusterProducer = cms.InputTag(
"simMuonGEMPadDigiClusters"),
487 commonParam = dict(isSLHC =
True,
488 runME11Up = cms.bool(
True),
489 runME11ILT = cms.bool(
True),
490 useClusters = cms.bool(
False),
491 enableAlctSLHC = cms.bool(
True)),
492 clctSLHC = dict(clctNplanesHitPattern = 3),
493 me11tmbSLHCGEM = me11tmbSLHCGEM,
494 copadParamGE11 = copadParamGE11
498 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
499 phase2_muon.toModify( cscTriggerPrimitiveDigis,
500 commonParam = dict(runME21Up = cms.bool(
True),
501 runME21ILT = cms.bool(
True),
502 runME31Up = cms.bool(
True),
503 runME41Up = cms.bool(
True)),
504 tmbSLHC = dict(ignoreAlctCrossClct = cms.bool(
False)),
505 clctSLHC = dict(useDynamicStateMachineZone = cms.bool(
True)),
506 alctSLHCME21 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 3),
507 clctSLHCME21 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 3),
508 me21tmbSLHCGEM = me21tmbSLHCGEM,
509 alctSLHCME3141 = cscTriggerPrimitiveDigis.alctParam07.clone(alctNplanesHitPattern = 4),
510 clctSLHCME3141 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 4),
511 meX1tmbSLHC = meX1tmbSLHC,
512 copadParamGE11 = copadParamGE11,
513 copadParamGE21 = copadParamGE21