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  #selected chamebrs to process
38  selectedChambers = cms.vstring(),
39 
40  # Anode-DAQ rate determined by pre-CLCTs
41  keepCLCTPreTriggers = cms.bool(True),
42  # Anode-DAQ rate determined by ALCTs
43  keepALCTPreTriggers = cms.bool(False),
44  # special triggers for showers in chambers
45  keepShowers = cms.bool(False),
46 
47  commonParam = auxPSets.commonParam.clone(),
48  mpcParam = auxPSets.mpcParamRun1.clone(),
49  showerParam = showerPSet.clone()
50 )
51 
52 
53 
55 from Configuration.Eras.Modifier_run2_common_cff import run2_common
56 run2_common.toModify( cscTriggerPrimitiveDigis,
57  debugParameters = True,
58  checkBadChambers = False,
59  commonParam = dict(gangedME1a = False),
60  mpcParam = auxPSets.mpcParamRun2.clone()
61 )
62 
63 
65 from Configuration.Eras.Modifier_run3_common_cff import run3_common
66 run3_common.toModify( cscTriggerPrimitiveDigis,
67  keepShowers = True,
68  commonParam = dict(run3 = True,
69  runCCLUT_OTMB = True,
70  runPhase2 = True,
71  runME11Up = True,
72  runME21Up = True,
73  runME31Up = True,
74  runME41Up = True)
75 )
76 
77 
78 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
79 run3_GEM.toModify( cscTriggerPrimitiveDigis,
80  GEMPadDigiClusterProducer = cms.InputTag("simMuonGEMPadDigiClusters"),
81  commonParam = dict(runME11ILT = True)
82 )
83 
84 
86 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
87 phase2_muon.toModify( cscTriggerPrimitiveDigis,
88  commonParam = dict(runME21ILT = True,
89  enableAlctPhase2 = True)
90 )