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 
8 from L1Trigger.CSCTriggerPrimitives.params.alctParams import alctPSets
9 from L1Trigger.CSCTriggerPrimitives.params.clctParams import clctPSets
10 from L1Trigger.CSCTriggerPrimitives.params.tmbParams import tmbPSets
11 from L1Trigger.CSCTriggerPrimitives.params.auxiliaryParams import auxPSets
12 from L1Trigger.CSCTriggerPrimitives.params.cclutParams import cclutParams
13 
14 cscTriggerPrimitiveDigis = cms.EDProducer(
15  "CSCTriggerPrimitivesProducer",
16  CSCCommonTrigger,
17 
19  alctPSets,
20  clctPSets,
21  tmbPSets,
22 
23 
24  cclutParams.clone(),
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  # Write out special trigger collections
39  writeOutAllCLCTs = cms.bool(False),
40  writeOutAllALCTs = cms.bool(False),
41  savePreTriggers = cms.bool(False),
42 
43  commonParam = auxPSets.commonParam.clone(),
44  mpcParam = auxPSets.mpcParamRun1.clone()
45 )
46 
47 
48 
50 from Configuration.Eras.Modifier_run2_common_cff import run2_common
51 run2_common.toModify( cscTriggerPrimitiveDigis,
52  debugParameters = True,
53  checkBadChambers = False,
54  commonParam = dict(gangedME1a = False),
55  mpcParam = auxPSets.mpcParamRun2.clone()
56 )
57 
58 
59 from Configuration.Eras.Modifier_run3_common_cff import run3_common
60 run3_common.toModify( cscTriggerPrimitiveDigis,
61  commonParam = dict(runPhase2 = True,
62  runME11Up = True)
63 )
64 
65 
66 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
67 run3_GEM.toModify( cscTriggerPrimitiveDigis,
68  GEMPadDigiClusterProducer = cms.InputTag("simMuonGEMPadDigiClusters"),
69  commonParam = dict(runME11ILT = True),
70  copadParamGE11 = auxPSets.copadParamGE11.clone()
71 )
72 
73 
75 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
76 phase2_muon.toModify( cscTriggerPrimitiveDigis,
77  commonParam = dict(runME21Up = True,
78  runME21ILT = True,
79  runME31Up = True,
80  runME41Up = True,
81  enableAlctPhase2 = True),
82  copadParamGE21 = auxPSets.copadParamGE21.clone()
83 )
CSCCommonTrigger_cfi