CMS 3D CMS Logo

cscTriggerPrimitiveDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
5 
6 
9 from L1Trigger.CSCTriggerPrimitives.params.alctParams import alctPSets
10 from L1Trigger.CSCTriggerPrimitives.params.clctParams import clctPSets
11 from L1Trigger.CSCTriggerPrimitives.params.tmbParams import tmbPSets
12 from L1Trigger.CSCTriggerPrimitives.params.auxiliaryParams import auxPSets
13 from L1Trigger.CSCTriggerPrimitives.params.gemcscParams import gemcscPSets
14 from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet
15 
16 cscTriggerPrimitiveDigis = cms.EDProducer(
17  "CSCTriggerPrimitivesProducer",
18  CSCCommonTrigger,
19 
21  alctPSets,
22  clctPSets,
23  tmbPSets,
24  gemcscPSets,
25 
26  # True: use parameters from this config
27  # False: read parameters from DB using EventSetup mechanism
28  debugParameters = cms.bool(False),
29 
30  # Name of digi producer modules
31  CSCComparatorDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"),
32  CSCWireDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"),
33  GEMPadDigiClusterProducer = cms.InputTag(""),
34 
35  # If True, output collections will only be built for good chambers
36  checkBadChambers = cms.bool(True),
37 
38  # Anode-DAQ rate determined by pre-CLCTs
39  keepCLCTPreTriggers = cms.bool(True),
40  # Anode-DAQ rate determined by ALCTs
41  keepALCTPreTriggers = cms.bool(False),
42  # special triggers for showers in chambers
43  keepShowers = cms.bool(False),
44 
45  commonParam = auxPSets.commonParam.clone(),
46  mpcParam = auxPSets.mpcParamRun1.clone(),
47  showerParam = showerPSet.clone()
48 )
49 
50 
51 
53 from Configuration.Eras.Modifier_run2_common_cff import run2_common
54 run2_common.toModify( cscTriggerPrimitiveDigis,
55  debugParameters = True,
56  checkBadChambers = False,
57  commonParam = dict(gangedME1a = False),
58  mpcParam = auxPSets.mpcParamRun2.clone()
59 )
60 
61 
63 from Configuration.Eras.Modifier_run3_common_cff import run3_common
64 run3_common.toModify( cscTriggerPrimitiveDigis,
65  keepShowers = True,
66  commonParam = dict(runPhase2 = True,
67  runME11Up = True,
68  runME21Up = True,
69  runME31Up = True,
70  runME41Up = True)
71 )
72 
73 
74 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
75 run3_GEM.toModify( cscTriggerPrimitiveDigis,
76  GEMPadDigiClusterProducer = cms.InputTag("simMuonGEMPadDigiClusters"),
77  commonParam = dict(runME11ILT = True)
78 )
79 
80 
82 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
83 phase2_muon.toModify( cscTriggerPrimitiveDigis,
84  commonParam = dict(runME21ILT = True,
85  enableAlctPhase2 = True)
86 )