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(
22 isTMB07 = cms.bool(
True),
23 isMTCC = cms.bool(
False),
27 isSLHC = cms.bool(
False),
39 smartME1aME1b = cms.bool(
False),
40 gangedME1a = cms.bool(
True),
43 disableME1a = cms.bool(
False),
44 disableME42 = cms.bool(
False),
48 alctParamOldMC = cms.PSet(
49 alctFifoTbins = cms.uint32(16),
50 alctFifoPretrig = cms.uint32(10),
51 alctDriftDelay = cms.uint32(3),
52 alctNplanesHitPretrig = cms.uint32(2),
53 alctNplanesHitPattern = cms.uint32(4),
54 alctNplanesHitAccelPretrig = cms.uint32(2),
55 alctNplanesHitAccelPattern = cms.uint32(4),
56 alctTrigMode = cms.uint32(3),
57 alctAccelMode = cms.uint32(1),
58 alctL1aWindowWidth = cms.uint32(5),
59 verbosity = cms.int32(0)
63 alctParamMTCC = cms.PSet(
64 alctFifoTbins = cms.uint32(16),
65 alctFifoPretrig = cms.uint32(10),
66 alctDriftDelay = cms.uint32(3),
67 alctNplanesHitPretrig = cms.uint32(2),
68 alctNplanesHitPattern = cms.uint32(4),
69 alctNplanesHitAccelPretrig = cms.uint32(2),
70 alctNplanesHitAccelPattern = cms.uint32(4),
71 alctTrigMode = cms.uint32(2),
72 alctAccelMode = cms.uint32(0),
73 alctL1aWindowWidth = cms.uint32(3),
74 verbosity = cms.int32(0)
78 alctParam07 = cms.PSet(
79 alctFifoTbins = cms.uint32(16),
80 alctFifoPretrig = cms.uint32(10),
81 alctDriftDelay = cms.uint32(2),
82 alctNplanesHitPretrig = cms.uint32(3),
83 alctNplanesHitPattern = cms.uint32(4),
84 alctNplanesHitAccelPretrig = cms.uint32(3),
85 alctNplanesHitAccelPattern = cms.uint32(4),
86 alctTrigMode = cms.uint32(2),
87 alctAccelMode = cms.uint32(0),
88 alctL1aWindowWidth = cms.uint32(7),
89 verbosity = cms.int32(0),
92 alctEarlyTbins = cms.int32(4),
95 alctNarrowMaskForR1 = cms.bool(
False),
98 alctHitPersist = cms.uint32(6),
102 alctGhostCancellationBxDepth = cms.int32(4),
107 alctGhostCancellationSideQuality = cms.bool(
False),
110 alctPretrigDeadtime = cms.uint32(4),
116 alctUseCorrectedBx = cms.bool(
False)
121 alctFifoTbins = cms.uint32(16),
122 alctFifoPretrig = cms.uint32(10),
123 alctDriftDelay = cms.uint32(2),
124 alctNplanesHitPretrig = cms.uint32(3),
125 alctNplanesHitPattern = cms.uint32(4),
126 alctNplanesHitAccelPretrig = cms.uint32(3),
127 alctNplanesHitAccelPattern = cms.uint32(4),
128 alctTrigMode = cms.uint32(2),
129 alctAccelMode = cms.uint32(0),
130 alctL1aWindowWidth = cms.uint32(7),
131 verbosity = cms.int32(0),
134 alctEarlyTbins = cms.int32(4),
137 alctNarrowMaskForR1 = cms.bool(
True),
140 alctHitPersist = cms.uint32(6),
144 alctGhostCancellationBxDepth = cms.int32(1),
149 alctGhostCancellationSideQuality = cms.bool(
True),
152 alctPretrigDeadtime = cms.uint32(0),
158 alctUseCorrectedBx = cms.bool(
True)
162 clctParamOldMC = cms.PSet(
163 clctFifoTbins = cms.uint32(12),
164 clctFifoPretrig = cms.uint32(7),
165 clctHitPersist = cms.uint32(6),
166 clctDriftDelay = cms.uint32(2),
167 clctNplanesHitPretrig = cms.uint32(2),
168 clctNplanesHitPattern = cms.uint32(4),
169 clctPidThreshPretrig = cms.uint32(2),
170 clctMinSeparation = cms.uint32(10),
172 verbosity = cms.int32(0)
176 clctParamMTCC = cms.PSet(
177 clctFifoTbins = cms.uint32(12),
178 clctFifoPretrig = cms.uint32(7),
179 clctHitPersist = cms.uint32(6),
180 clctDriftDelay = cms.uint32(2),
181 clctNplanesHitPretrig = cms.uint32(4),
182 clctNplanesHitPattern = cms.uint32(1),
183 clctPidThreshPretrig = cms.uint32(2),
184 clctMinSeparation = cms.uint32(10),
186 verbosity = cms.int32(0)
190 clctParam07 = cms.PSet(
191 clctFifoTbins = cms.uint32(12),
192 clctFifoPretrig = cms.uint32(7),
193 clctHitPersist = cms.uint32(4),
194 clctDriftDelay = cms.uint32(2),
195 clctNplanesHitPretrig = cms.uint32(3),
196 clctNplanesHitPattern = cms.uint32(4),
197 clctPidThreshPretrig = cms.uint32(2),
198 clctMinSeparation = cms.uint32(10),
200 verbosity = cms.int32(0),
203 clctStartBxShift = cms.int32(0)
208 clctFifoTbins = cms.uint32(12),
209 clctFifoPretrig = cms.uint32(7),
210 clctHitPersist = cms.uint32(4),
211 clctDriftDelay = cms.uint32(2),
212 clctNplanesHitPretrig = cms.uint32(3),
213 clctNplanesHitPattern = cms.uint32(4),
215 clctPidThreshPretrig = cms.uint32(4),
217 clctMinSeparation = cms.uint32(5),
219 verbosity = cms.int32(0),
222 clctStartBxShift = cms.int32(0),
225 useDeadTimeZoning = cms.bool(
True),
228 clctStateMachineZone = cms.uint32(8),
233 useDynamicStateMachineZone = cms.bool(
True),
238 clctPretriggerTriggerZone = cms.uint32(5),
243 clctUseCorrectedBx = cms.bool(
True)
247 mpcBlockMe1a = cms.uint32(0),
248 alctTrigEnable = cms.uint32(0),
249 clctTrigEnable = cms.uint32(0),
250 matchTrigEnable = cms.uint32(1),
251 matchTrigWindowSize = cms.uint32(7),
252 tmbL1aWindowSize = cms.uint32(7),
254 verbosity = cms.int32(0),
257 tmbEarlyTbins = cms.int32(4),
262 tmbReadoutEarliest2 = cms.bool(
True),
267 tmbDropUsedAlcts = cms.bool(
True)
272 mpcBlockMe1a = cms.uint32(0),
273 alctTrigEnable = cms.uint32(0),
274 clctTrigEnable = cms.uint32(0),
275 matchTrigEnable = cms.uint32(1),
277 matchTrigWindowSize = cms.uint32(3),
278 tmbL1aWindowSize = cms.uint32(7),
280 verbosity = cms.int32(0),
283 tmbEarlyTbins = cms.int32(4),
288 tmbReadoutEarliest2 = cms.bool(
False),
293 tmbDropUsedAlcts = cms.bool(
False),
300 clctToAlct = cms.bool(
False),
304 tmbDropUsedClcts = cms.bool(
False),
308 matchEarliestAlctME11Only = cms.bool(
False),
312 matchEarliestClctME11Only = cms.bool(
False),
319 tmbCrossBxAlgorithm = cms.uint32(1),
323 maxME11LCTs = cms.uint32(2)
328 sortStubs = cms.bool(
False),
329 dropInvalidStubs = cms.bool(
False),
330 dropLowQualityStubs = cms.bool(
False),
335 mpcMaxStubs = cms.uint32(18),
336 sortStubs = cms.bool(
False),
337 dropInvalidStubs = cms.bool(
False),
338 dropLowQualityStubs = cms.bool(
False),
344 copadParam = cms.PSet(
345 verbosity = cms.uint32(0),
346 maxDeltaPadGE11 = cms.uint32(1),
347 maxDeltaPadGE21 = cms.uint32(2),
348 maxDeltaBX = cms.uint32(1)
352 me11tmbSLHCGEM = cms.PSet(
353 mpcBlockMe1a = cms.uint32(0),
354 alctTrigEnable = cms.uint32(0),
355 clctTrigEnable = cms.uint32(0),
356 matchTrigEnable = cms.uint32(1),
357 matchTrigWindowSize = cms.uint32(3),
358 tmbL1aWindowSize = cms.uint32(7),
359 verbosity = cms.int32(0),
360 tmbEarlyTbins = cms.int32(4),
361 tmbReadoutEarliest2 = cms.bool(
False),
362 tmbDropUsedAlcts = cms.bool(
False),
363 clctToAlct = cms.bool(
False),
364 tmbDropUsedClcts = cms.bool(
False),
365 matchEarliestAlctME11Only = cms.bool(
False),
366 matchEarliestClctME11Only = cms.bool(
False),
367 tmbCrossBxAlgorithm = cms.uint32(2),
368 maxME11LCTs = cms.uint32(2),
371 debugLUTs = cms.bool(
False),
372 debugMatching = cms.bool(
False),
373 debugGEMDphi = cms.bool(
False),
376 useOldLCTDataFormat = cms.bool(
True),
379 maxDeltaBXPadEven = cms.int32(1),
380 maxDeltaBXPadOdd = cms.int32(1),
381 maxDeltaPadPadEven = cms.int32(2),
382 maxDeltaPadPadOdd = cms.int32(3),
385 maxDeltaBXCoPadEven = cms.int32(0),
386 maxDeltaBXCoPadOdd = cms.int32(0),
387 maxDeltaPadCoPadEven = cms.int32(2),
388 maxDeltaPadCoPadOdd = cms.int32(3),
391 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
392 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
393 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
394 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
395 buildLCTfromALCTandGEM_ME1a = cms.bool(
True),
396 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
397 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
398 buildLCTfromCLCTandGEM_ME1b = cms.bool(
False),
399 doLCTGhostBustingWithGEMs = cms.bool(
False),
400 correctLCTtimingWithGEM = cms.bool(
False),
401 promoteALCTGEMpattern = cms.bool(
True),
402 promoteALCTGEMquality = cms.bool(
True),
403 promoteCLCTGEMquality_ME1a = cms.bool(
True),
404 promoteCLCTGEMquality_ME1b = cms.bool(
True),
407 firstTwoLCTsInChamber = cms.bool(
True),
411 me21tmbSLHCGEM = cms.PSet(
412 mpcBlockMe1a = cms.uint32(0),
413 alctTrigEnable = cms.uint32(0),
414 clctTrigEnable = cms.uint32(0),
415 matchTrigEnable = cms.uint32(1),
416 matchTrigWindowSize = cms.uint32(3),
417 tmbL1aWindowSize = cms.uint32(7),
418 verbosity = cms.int32(0),
419 tmbEarlyTbins = cms.int32(4),
420 tmbReadoutEarliest2 = cms.bool(
False),
421 tmbDropUsedAlcts = cms.bool(
False),
422 clctToAlct = cms.bool(
False),
423 tmbDropUsedClcts = cms.bool(
False),
424 matchEarliestAlctME21Only = cms.bool(
False),
425 matchEarliestClctME21Only = cms.bool(
False),
426 tmbCrossBxAlgorithm = cms.uint32(2),
427 maxME21LCTs = cms.uint32(2),
430 debugLUTs = cms.bool(
False),
431 debugMatching = cms.bool(
False),
432 debugGEMDphi = cms.bool(
False),
435 useOldLCTDataFormat = cms.bool(
True),
438 maxDeltaBXPad = cms.int32(1),
439 maxDeltaPadPadOdd = cms.int32(4),
440 maxDeltaPadPadEven = cms.int32(3),
441 maxDeltaWg = cms.int32(2),
444 maxDeltaBXCoPad = cms.int32(1),
445 maxDeltaPadCoPad = cms.int32(2),
448 dropLowQualityALCTsNoGEMs = cms.bool(
False),
449 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
450 buildLCTfromALCTandGEM = cms.bool(
True),
451 buildLCTfromCLCTandGEM = cms.bool(
False),
452 doLCTGhostBustingWithGEMs = cms.bool(
False),
453 correctLCTtimingWithGEM = cms.bool(
False),
454 promoteALCTGEMpattern = cms.bool(
True),
455 promoteALCTGEMquality = cms.bool(
True),
456 promoteCLCTGEMquality = cms.bool(
True),
458 firstTwoLCTsInChamber = cms.bool(
True),
462 me3141tmbSLHCRPC = cms.PSet(
463 mpcBlockMe1a = cms.uint32(0),
464 alctTrigEnable = cms.uint32(0),
465 clctTrigEnable = cms.uint32(0),
466 matchTrigEnable = cms.uint32(1),
467 matchTrigWindowSize = cms.uint32(3),
468 tmbL1aWindowSize = cms.uint32(7),
469 verbosity = cms.int32(0),
470 tmbEarlyTbins = cms.int32(4),
471 tmbReadoutEarliest2 = cms.bool(
False),
472 tmbDropUsedAlcts = cms.bool(
False),
473 clctToAlct = cms.bool(
False),
474 tmbDropUsedClcts = cms.bool(
False),
475 matchEarliestClctME3141Only = cms.bool(
False),
476 tmbCrossBxAlgorithm = cms.uint32(2),
477 maxME3141LCTs = cms.uint32(2),
480 debugLUTs = cms.bool(
False),
481 debugMatching = cms.bool(
False),
484 useOldLCTDataFormat = cms.bool(
True),
487 maxDeltaBXRPC = cms.int32(0),
488 maxDeltaStripRPCOdd = cms.int32(6),
489 maxDeltaStripRPCEven = cms.int32(4),
490 maxDeltaWg = cms.int32(2),
493 dropLowQualityCLCTsNoRPCs = cms.bool(
True),
494 buildLCTfromALCTandRPC = cms.bool(
True),
495 buildLCTfromCLCTandRPC = cms.bool(
False),
496 buildLCTfromLowQstubandRPC = cms.bool(
True),
497 promoteCLCTRPCquality = cms.bool(
True),
498 promoteALCTRPCpattern = cms.bool(
True),
499 promoteALCTRPCquality = cms.bool(
True),
503 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
504 run2_common.toModify( cscTriggerPrimitiveDigis,
505 debugParameters =
True,
506 checkBadChambers =
False,
507 commonParam =
dict(gangedME1a =
False)
511 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
512 run3_GEM.toModify( cscTriggerPrimitiveDigis,
513 GEMPadDigiProducer = cms.InputTag(
"simMuonGEMPadDigis"),
514 commonParam =
dict(isSLHC = cms.bool(
True),
515 smartME1aME1b = cms.bool(
True),
516 runME11ILT = cms.bool(
True)),
517 clctSLHC =
dict(clctNplanesHitPattern = 3),
518 me11tmbSLHCGEM = me11tmbSLHCGEM,
519 copadParam = copadParam
523 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
524 phase2_muon.toModify( cscTriggerPrimitiveDigis,
525 RPCDigiProducer = cms.InputTag(
"simMuonRPCDigis"),
526 commonParam =
dict(runME21ILT = cms.bool(
True),
527 runME3141ILT = cms.bool(
False)),
528 alctSLHCME21 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 3),
529 clctSLHCME21 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 3),
530 alctSLHCME3141 = cscTriggerPrimitiveDigis.alctSLHC.clone(alctNplanesHitPattern = 3),
531 clctSLHCME3141 = cscTriggerPrimitiveDigis.clctSLHC.clone(clctNplanesHitPattern = 3),
532 me21tmbSLHCGEM = me21tmbSLHCGEM,
533 me3141tmbSLHCRPC = me3141tmbSLHCRPC,
534 copadParam = copadParam