1 import FWCore.ParameterSet.Config
as cms
10 Modifies cscTriggerPrimitiveDigis for Run 2
12 object.debugParameters =
True
13 object.checkBadChambers =
False
14 object.commonParam.gangedME1a =
False
19 Modifies cscTriggerPrimitiveDigis for Run 2 + GEMs
21 object.GEMPadDigiProducer =
"simMuonGEMPadDigis"
22 object.commonParam.runME11ILT = cms.bool(
False)
23 object.clctSLHC.clctNplanesHitPattern = 3
24 object.clctSLHC.clctPidThreshPretrig = 2
27 me11tmbSLHCGEM = cms.PSet(
28 mpcBlockMe1a = cms.uint32(0),
29 alctTrigEnable = cms.uint32(0),
30 clctTrigEnable = cms.uint32(0),
31 matchTrigEnable = cms.uint32(1),
32 matchTrigWindowSize = cms.uint32(3),
33 tmbL1aWindowSize = cms.uint32(7),
34 verbosity = cms.int32(0),
35 tmbEarlyTbins = cms.int32(4),
36 tmbReadoutEarliest2 = cms.bool(
False),
37 tmbDropUsedAlcts = cms.bool(
False),
38 clctToAlct = cms.bool(
False),
39 tmbDropUsedClcts = cms.bool(
False),
40 matchEarliestAlctME11Only = cms.bool(
False),
41 matchEarliestClctME11Only = cms.bool(
False),
42 tmbCrossBxAlgorithm = cms.uint32(2),
43 maxME11LCTs = cms.uint32(2),
46 debugLUTs = cms.bool(
False),
47 debugMatching = cms.bool(
False),
48 debugGEMDphi = cms.bool(
False),
51 useOldLCTDataFormat = cms.bool(
True),
54 maxDeltaBXInCoPad = cms.int32(1),
55 maxDeltaPadInCoPad = cms.int32(1),
58 maxDeltaBXPadEven = cms.int32(1),
59 maxDeltaBXPadOdd = cms.int32(1),
60 maxDeltaPadPadEven = cms.int32(2),
61 maxDeltaPadPadOdd = cms.int32(3),
64 maxDeltaBXCoPadEven = cms.int32(0),
65 maxDeltaBXCoPadOdd = cms.int32(0),
66 maxDeltaPadCoPadEven = cms.int32(2),
67 maxDeltaPadCoPadOdd = cms.int32(3),
70 dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(
False),
71 dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(
True),
72 dropLowQualityALCTsNoGEMs_ME1a = cms.bool(
False),
73 dropLowQualityALCTsNoGEMs_ME1b = cms.bool(
False),
74 buildLCTfromALCTandGEM_ME1a = cms.bool(
True),
75 buildLCTfromALCTandGEM_ME1b = cms.bool(
True),
76 buildLCTfromCLCTandGEM_ME1a = cms.bool(
False),
77 buildLCTfromCLCTandGEM_ME1b = cms.bool(
False),
78 doLCTGhostBustingWithGEMs = cms.bool(
False),
79 correctLCTtimingWithGEM = cms.bool(
False),
80 promoteALCTGEMpattern = cms.bool(
True),
81 promoteALCTGEMquality = cms.bool(
True),
82 promoteCLCTGEMquality_ME1a = cms.bool(
True),
83 promoteCLCTGEMquality_ME1b = cms.bool(
True),
86 doGemMatching = cms.bool(
True),
87 gemMatchDeltaEta = cms.double(0.08),
88 gemMatchDeltaBX = cms.int32(1),
89 gemMatchDeltaPhiOdd = cms.double(1),
90 gemMatchDeltaPhiEven = cms.double(1),
91 gemMatchMinEta = cms.double(1.55),
92 gemMatchMaxEta = cms.double(2.15),
93 gemClearNomatchLCTs = cms.bool(
False),
96 firstTwoLCTsInChamber = cms.bool(
True),
99 object.me11tmbSLHCGEM = me11tmbSLHCGEM
103 Modifies cscTriggerPrimitiveDigis for Run 4 + GEMs
105 object.commonParam.runME21ILT = cms.bool(
False)
106 object.clctSLHCME21 = object.clctSLHC.clone()
107 object.alctSLHCME21 = object.alctSLHC.clone()
108 object.alctSLHCME21.alctNplanesHitPattern = 3
109 object.alctSLHCME21.clctNplanesHitPattern = 3
110 object.alctSLHCME21.clctPidThreshPretrig = 2
113 me21tmbSLHCGEM = cms.PSet(
114 mpcBlockMe1a = cms.uint32(0),
115 alctTrigEnable = cms.uint32(0),
116 clctTrigEnable = cms.uint32(0),
117 matchTrigEnable = cms.uint32(1),
118 matchTrigWindowSize = cms.uint32(3),
119 tmbL1aWindowSize = cms.uint32(7),
120 verbosity = cms.int32(0),
121 tmbEarlyTbins = cms.int32(4),
122 tmbReadoutEarliest2 = cms.bool(
False),
123 tmbDropUsedAlcts = cms.bool(
False),
124 clctToAlct = cms.bool(
False),
125 tmbDropUsedClcts = cms.bool(
False),
126 matchEarliestAlctME21Only = cms.bool(
False),
127 matchEarliestClctME21Only = cms.bool(
False),
128 tmbCrossBxAlgorithm = cms.uint32(2),
129 maxME21LCTs = cms.uint32(2),
132 debugLUTs = cms.bool(
False),
133 debugMatching = cms.bool(
False),
134 debugGEMDphi = cms.bool(
False),
137 useOldLCTDataFormat = cms.bool(
True),
140 maxDeltaBXInCoPad = cms.int32(1),
141 maxDeltaPadInCoPad = cms.int32(2),
144 maxDeltaBXPad = cms.int32(1),
145 maxDeltaPadPadOdd = cms.int32(4),
146 maxDeltaPadPadEven = cms.int32(3),
147 maxDeltaWg = cms.int32(2),
150 maxDeltaBXCoPad = cms.int32(1),
151 maxDeltaPadCoPad = cms.int32(2),
154 dropLowQualityALCTsNoGEMs = cms.bool(
False),
155 dropLowQualityCLCTsNoGEMs = cms.bool(
True),
156 buildLCTfromALCTandGEM = cms.bool(
True),
157 buildLCTfromCLCTandGEM = cms.bool(
False),
158 doLCTGhostBustingWithGEMs = cms.bool(
False),
159 correctLCTtimingWithGEM = cms.bool(
False),
160 promoteALCTGEMpattern = cms.bool(
True),
161 promoteALCTGEMquality = cms.bool(
True),
162 promoteCLCTGEMquality = cms.bool(
True),
165 doGemMatching = cms.bool(
True),
166 gemMatchDeltaEta = cms.double(0.08),
167 gemMatchDeltaBX = cms.int32(1),
168 gemMatchDeltaPhiOdd = cms.double(1),
169 gemMatchDeltaPhiEven = cms.double(1),
170 gemMatchMinEta = cms.double(1.5),
171 gemMatchMaxEta = cms.double(2.45),
172 gemClearNomatchLCTs = cms.bool(
False),
174 firstTwoLCTsInChamber = cms.bool(
True),
177 object.me21tmbSLHCGEM = me21tmbSLHCGEM
181 Modifies cscTriggerPrimitiveDigis for Run 4 + RPCs
183 object.RPCDigiProducer =
"simMuonRPCDigis"
184 object.commonParam.runME3141ILT = cms.bool(
False)
185 object.clctSLHCME3141 = object.clctSLHC.clone()
186 object.alctSLHCME3141 = object.alctSLHC.clone()
187 object.alctSLHCME3141.alctNplanesHitPattern = 3
188 object.alctSLHCME3141.clctNplanesHitPattern = 3
189 object.alctSLHCME3141.clctPidThreshPretrig = 2
192 me3141tmbSLHCRPC = cms.PSet(
193 mpcBlockMe1a = cms.uint32(0),
194 alctTrigEnable = cms.uint32(0),
195 clctTrigEnable = cms.uint32(0),
196 matchTrigEnable = cms.uint32(1),
197 matchTrigWindowSize = cms.uint32(3),
198 tmbL1aWindowSize = cms.uint32(7),
199 verbosity = cms.int32(0),
200 tmbEarlyTbins = cms.int32(4),
201 tmbReadoutEarliest2 = cms.bool(
False),
202 tmbDropUsedAlcts = cms.bool(
False),
203 clctToAlct = cms.bool(
False),
204 tmbDropUsedClcts = cms.bool(
False),
205 matchEarliestClctME3141Only = cms.bool(
False),
206 tmbCrossBxAlgorithm = cms.uint32(2),
207 maxME3141LCTs = cms.uint32(2),
210 debugLUTs = cms.bool(
False),
211 debugMatching = cms.bool(
False),
214 useOldLCTDataFormatC = cms.bool(
True),
217 maxDeltaBXRPC = cms.int32(0),
218 maxDeltaStripRPCOdd = cms.int32(6),
219 maxDeltaStripRPCEven = cms.int32(4),
220 maxDeltaWg = cms.int32(2),
223 dropLowQualityCLCTsNoRPCs = cms.bool(
True),
224 buildLCTfromALCTandRPC = cms.bool(
True),
225 buildLCTfromCLCTandRPC = cms.bool(
False),
226 buildLCTfromLowQstubandRPC = cms.bool(
True),
227 promoteCLCTRPCquality = cms.bool(
True),
228 promoteALCTRPCpattern = cms.bool(
True),
229 promoteALCTRPCquality = cms.bool(
True),
232 doRpcMatching = cms.bool(
True),
233 rpcMatchDeltaEta = cms.double(0.08),
234 rpcMatchDeltaBX = cms.int32(1),
235 rpcMatchDeltaPhiOdd = cms.double(1),
236 rpcMatchDeltaPhiEven = cms.double(1),
237 rpcMatchMinEta = cms.double(1.5),
238 rpcClearNomatchLCTs = cms.bool(
False),
241 object.me3141tmbSLHCRPC = me3141tmbSLHCRPC
246 cscTriggerPrimitiveDigis = cms.EDProducer(
"CSCTriggerPrimitivesProducer",
251 debugParameters = cms.bool(
False),
254 CSCComparatorDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCComparatorDigi"),
255 CSCWireDigiProducer = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCWireDigi"),
256 GEMPadDigiProducer = cms.InputTag(
""),
257 RPCDigiProducer = cms.InputTag(
""),
260 checkBadChambers = cms.bool(
True),
263 commonParam = cms.PSet(
264 isTMB07 = cms.bool(
True),
265 isMTCC = cms.bool(
False),
269 isSLHC = cms.bool(
False),
281 smartME1aME1b = cms.bool(
False),
282 gangedME1a = cms.bool(
True),
285 disableME1a = cms.bool(
False),
286 disableME42 = cms.bool(
False),
289 runME11ILT = cms.bool(
False),
290 runME21ILT = cms.bool(
False),
291 runME3141ILT = cms.bool(
False),
295 alctParamOldMC = cms.PSet(
296 alctFifoTbins = cms.uint32(16),
297 alctFifoPretrig = cms.uint32(10),
298 alctDriftDelay = cms.uint32(3),
299 alctNplanesHitPretrig = cms.uint32(2),
300 alctNplanesHitPattern = cms.uint32(4),
301 alctNplanesHitAccelPretrig = cms.uint32(2),
302 alctNplanesHitAccelPattern = cms.uint32(4),
303 alctTrigMode = cms.uint32(3),
304 alctAccelMode = cms.uint32(1),
305 alctL1aWindowWidth = cms.uint32(5),
306 verbosity = cms.int32(0)
310 alctParamMTCC = cms.PSet(
311 alctFifoTbins = cms.uint32(16),
312 alctFifoPretrig = cms.uint32(10),
313 alctDriftDelay = cms.uint32(3),
314 alctNplanesHitPretrig = cms.uint32(2),
315 alctNplanesHitPattern = cms.uint32(4),
316 alctNplanesHitAccelPretrig = cms.uint32(2),
317 alctNplanesHitAccelPattern = cms.uint32(4),
318 alctTrigMode = cms.uint32(2),
319 alctAccelMode = cms.uint32(0),
320 alctL1aWindowWidth = cms.uint32(3),
321 verbosity = cms.int32(0)
325 alctParam07 = cms.PSet(
326 alctFifoTbins = cms.uint32(16),
327 alctFifoPretrig = cms.uint32(10),
328 alctDriftDelay = cms.uint32(2),
329 alctNplanesHitPretrig = cms.uint32(3),
330 alctNplanesHitPattern = cms.uint32(4),
331 alctNplanesHitAccelPretrig = cms.uint32(3),
332 alctNplanesHitAccelPattern = cms.uint32(4),
333 alctTrigMode = cms.uint32(2),
334 alctAccelMode = cms.uint32(0),
335 alctL1aWindowWidth = cms.uint32(7),
336 verbosity = cms.int32(0),
339 alctEarlyTbins = cms.int32(4),
342 alctNarrowMaskForR1 = cms.bool(
False),
345 alctHitPersist = cms.uint32(6),
349 alctGhostCancellationBxDepth = cms.int32(4),
354 alctGhostCancellationSideQuality = cms.bool(
False),
357 alctPretrigDeadtime = cms.uint32(4),
363 alctUseCorrectedBx = cms.bool(
False)
368 alctFifoTbins = cms.uint32(16),
369 alctFifoPretrig = cms.uint32(10),
370 alctDriftDelay = cms.uint32(2),
371 alctNplanesHitPretrig = cms.uint32(3),
372 alctNplanesHitPattern = cms.uint32(4),
373 alctNplanesHitAccelPretrig = cms.uint32(3),
374 alctNplanesHitAccelPattern = cms.uint32(4),
375 alctTrigMode = cms.uint32(2),
376 alctAccelMode = cms.uint32(0),
377 alctL1aWindowWidth = cms.uint32(7),
378 verbosity = cms.int32(0),
381 alctEarlyTbins = cms.int32(4),
384 alctNarrowMaskForR1 = cms.bool(
True),
387 alctHitPersist = cms.uint32(6),
391 alctGhostCancellationBxDepth = cms.int32(1),
396 alctGhostCancellationSideQuality = cms.bool(
True),
399 alctPretrigDeadtime = cms.uint32(0),
405 alctUseCorrectedBx = cms.bool(
True)
409 clctParamOldMC = cms.PSet(
410 clctFifoTbins = cms.uint32(12),
411 clctFifoPretrig = cms.uint32(7),
412 clctHitPersist = cms.uint32(6),
413 clctDriftDelay = cms.uint32(2),
414 clctNplanesHitPretrig = cms.uint32(2),
415 clctNplanesHitPattern = cms.uint32(4),
416 clctPidThreshPretrig = cms.uint32(2),
417 clctMinSeparation = cms.uint32(10),
419 verbosity = cms.int32(0)
423 clctParamMTCC = cms.PSet(
424 clctFifoTbins = cms.uint32(12),
425 clctFifoPretrig = cms.uint32(7),
426 clctHitPersist = cms.uint32(6),
427 clctDriftDelay = cms.uint32(2),
428 clctNplanesHitPretrig = cms.uint32(4),
429 clctNplanesHitPattern = cms.uint32(1),
430 clctPidThreshPretrig = cms.uint32(2),
431 clctMinSeparation = cms.uint32(10),
433 verbosity = cms.int32(0)
437 clctParam07 = cms.PSet(
438 clctFifoTbins = cms.uint32(12),
439 clctFifoPretrig = cms.uint32(7),
440 clctHitPersist = cms.uint32(4),
441 clctDriftDelay = cms.uint32(2),
442 clctNplanesHitPretrig = cms.uint32(3),
443 clctNplanesHitPattern = cms.uint32(4),
444 clctPidThreshPretrig = cms.uint32(2),
445 clctMinSeparation = cms.uint32(10),
447 verbosity = cms.int32(0),
450 clctStartBxShift = cms.int32(0)
455 clctFifoTbins = cms.uint32(12),
456 clctFifoPretrig = cms.uint32(7),
457 clctHitPersist = cms.uint32(4),
458 clctDriftDelay = cms.uint32(2),
459 clctNplanesHitPretrig = cms.uint32(3),
460 clctNplanesHitPattern = cms.uint32(4),
462 clctPidThreshPretrig = cms.uint32(4),
464 clctMinSeparation = cms.uint32(5),
466 verbosity = cms.int32(0),
469 clctStartBxShift = cms.int32(0),
472 useDeadTimeZoning = cms.bool(
True),
475 clctStateMachineZone = cms.uint32(8),
480 useDynamicStateMachineZone = cms.bool(
True),
485 clctPretriggerTriggerZone = cms.uint32(5),
490 clctUseCorrectedBx = cms.bool(
True)
494 mpcBlockMe1a = cms.uint32(0),
495 alctTrigEnable = cms.uint32(0),
496 clctTrigEnable = cms.uint32(0),
497 matchTrigEnable = cms.uint32(1),
498 matchTrigWindowSize = cms.uint32(7),
499 tmbL1aWindowSize = cms.uint32(7),
501 verbosity = cms.int32(0),
504 tmbEarlyTbins = cms.int32(4),
509 tmbReadoutEarliest2 = cms.bool(
True),
514 tmbDropUsedAlcts = cms.bool(
True)
519 mpcBlockMe1a = cms.uint32(0),
520 alctTrigEnable = cms.uint32(0),
521 clctTrigEnable = cms.uint32(0),
522 matchTrigEnable = cms.uint32(1),
524 matchTrigWindowSize = cms.uint32(3),
525 tmbL1aWindowSize = cms.uint32(7),
527 verbosity = cms.int32(0),
530 tmbEarlyTbins = cms.int32(4),
535 tmbReadoutEarliest2 = cms.bool(
False),
540 tmbDropUsedAlcts = cms.bool(
False),
547 clctToAlct = cms.bool(
False),
551 tmbDropUsedClcts = cms.bool(
False),
555 matchEarliestAlctME11Only = cms.bool(
False),
559 matchEarliestClctME11Only = cms.bool(
False),
566 tmbCrossBxAlgorithm = cms.uint32(1),
570 maxME11LCTs = cms.uint32(2)
575 sortStubs = cms.bool(
False),
576 dropInvalidStubs = cms.bool(
False),
577 dropLowQualityStubs = cms.bool(
False),
582 mpcMaxStubs = cms.uint32(18),
583 sortStubs = cms.bool(
False),
584 dropInvalidStubs = cms.bool(
False),
585 dropLowQualityStubs = cms.bool(
False),
592 from Configuration.StandardSequences.Eras
import eras
593 eras.run2_common.toModify( cscTriggerPrimitiveDigis, _modifyCscTriggerPrimitiveDigisForRun2 )
def _modifyCscTriggerPrimitiveDigisForRun2
def _modifyCscTriggerPrimitiveDigisForRun4RPC
def _modifyCscTriggerPrimitiveDigisForRun2GE11
def _modifyCscTriggerPrimitiveDigisForRun4GE21