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.cclutParams import cclutParams
14 from L1Trigger.CSCTriggerPrimitives.params.gemcscParams import gemcscPSets
15 from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet
16 
17 cscTriggerPrimitiveDigis = cms.EDProducer(
18  "CSCTriggerPrimitivesProducer",
19  CSCCommonTrigger,
20 
22  alctPSets,
23  clctPSets,
24  tmbPSets,
25  gemcscPSets,
26 
27 
28  cclutParams.clone(),
29 
30  # True: use parameters from this config
31  # False: read parameters from DB using EventSetup mechanism
32  debugParameters = cms.bool(False),
33 
34  # Name of digi producer modules
35  CSCComparatorDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"),
36  CSCWireDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"),
37  GEMPadDigiClusterProducer = cms.InputTag(""),
38 
39  # If True, output collections will only be built for good chambers
40  checkBadChambers = cms.bool(True),
41 
42  # Anode-DAQ rate determined by pre-CLCTs
43  keepCLCTPreTriggers = cms.bool(True),
44  # Anode-DAQ rate determined by ALCTs
45  keepALCTPreTriggers = cms.bool(False),
46  # special triggers for showers in chambers
47  keepShowers = cms.bool(False),
48 
49  commonParam = auxPSets.commonParam.clone(),
50  mpcParam = auxPSets.mpcParamRun1.clone(),
51  showerParam = showerPSet.clone()
52 )
53 
54 
55 
57 from Configuration.Eras.Modifier_run2_common_cff import run2_common
58 run2_common.toModify( cscTriggerPrimitiveDigis,
59  debugParameters = True,
60  checkBadChambers = False,
61  commonParam = dict(gangedME1a = False),
62  mpcParam = auxPSets.mpcParamRun2.clone()
63 )
64 
65 
67 from Configuration.Eras.Modifier_run3_common_cff import run3_common
68 run3_common.toModify( cscTriggerPrimitiveDigis,
69  keepShowers = True,
70  commonParam = dict(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 )
CSCCommonTrigger_cfi