1 import FWCore.ParameterSet.Config
as cms
6 ecalPreshowerDigis =
None 12 caloStage1LegacyFormatDigis =
None 16 loadDigiAliasesWasCalled =
False 21 global generalTracks,ecalPreshowerDigis,ecalDigis,hcalDigis,muonDTDigis,muonCSCDigis,muonRPCDigis,loadDigiAliasesWasCalled
23 loadDigiAliasesWasCalled=
True 24 generalTracks = cms.EDAlias(
25 **{
"mix" if nopremix
else "mixData" :
28 fromProductInstance = cms.string(
'generalTracks'),
29 toProductInstance = cms.string(
''),
30 type = cms.string(
'recoTracks')
33 fromProductInstance = cms.string(
'generalTracks'),
34 toProductInstance = cms.string(
''),
35 type = cms.string(
'recoTrackExtras')
38 fromProductInstance = cms.string(
'generalTracks'),
39 toProductInstance = cms.string(
''),
40 type = cms.string(
'TrackingRecHitsOwned')
46 ecalPreshowerDigis = cms.EDAlias(
47 **{
"simEcalPreshowerDigis" if nopremix
else "DMEcalPreshowerDigis" :
50 type = cms.string(
"ESDigiCollection")
56 ecalDigis = cms.EDAlias(
57 **{
"simEcalDigis" if nopremix
else "DMEcalDigis" :
60 type = cms.string(
"EBDigiCollection")
63 type = cms.string(
"EEDigiCollection")
66 type = cms.string(
"EBSrFlagsSorted"),
67 fromProductInstance = cms.string(
'ebSrFlags'),
68 toProductInstance = cms.string(
'')),
70 type = cms.string(
"EESrFlagsSorted"),
71 fromProductInstance = cms.string(
'eeSrFlags'),
72 toProductInstance = cms.string(
''),
75 "simEcalTriggerPrimitiveDigis" if nopremix
else "DMEcalTriggerPrimitiveDigis" :
78 type = cms.string(
"EcalTriggerPrimitiveDigisSorted"),
79 fromProductInstance = cms.string(
""),
80 toProductInstance = cms.string(
"EcalTriggerPrimitives")
86 hcalDigis = cms.EDAlias(
87 **{
"simHcalDigis" if nopremix
else "DMHcalDigis" :
89 cms.PSet(type = cms.string(
"HBHEDataFramesSorted")),
90 cms.PSet(type = cms.string(
"HFDataFramesSorted")),
91 cms.PSet(type = cms.string(
"HODataFramesSorted")),
93 type = cms.string(
'QIE10DataFrameHcalDataFrameContainer'),
94 fromProductInstance = cms.string(
'HFQIE10DigiCollection'),
95 toProductInstance = cms.string(
'')
98 type = cms.string(
'QIE11DataFrameHcalDataFrameContainer'),
99 fromProductInstance = cms.string(
'HBHEQIE11DigiCollection'),
100 toProductInstance = cms.string(
'')
106 muonDTDigis = cms.EDAlias(
107 **{
"simMuonDTDigis" if nopremix
else "mixData" :
110 type = cms.string(
"DTLayerIdDTDigiMuonDigiCollection")
119 muonRPCDigis = cms.EDAlias(
120 **{
"simMuonRPCDigis" if nopremix
else "mixData" :
123 type = cms.string(
"RPCDetIdRPCDigiMuonDigiCollection")
132 muonCSCDigis = cms.EDAlias(
133 **{
"simMuonCSCDigis" if nopremix
else "mixData" :
136 type = cms.string(
"CSCDetIdCSCWireDigiMuonDigiCollection"),
137 fromProductInstance = cms.string(
"MuonCSCWireDigi" if nopremix
else "MuonCSCWireDigisDM"),
138 toProductInstance = cms.string(
"MuonCSCWireDigi")),
140 type = cms.string(
"CSCDetIdCSCStripDigiMuonDigiCollection"),
141 fromProductInstance = cms.string(
"MuonCSCStripDigi" if nopremix
else "MuonCSCStripDigisDM"),
142 toProductInstance = cms.string(
"MuonCSCStripDigi")),
152 global gctDigis,gtDigis,gmtDigis,caloStage1LegacyFormatDigis
154 caloStage1LegacyFormatDigis = cms.EDAlias(
155 **{
"simCaloStage1LegacyFormatDigis" :
157 cms.PSet(type = cms.string(
"L1GctEmCands")),
158 cms.PSet(type = cms.string(
"L1GctEtHads")),
159 cms.PSet(type = cms.string(
"L1GctEtMisss")),
160 cms.PSet(type = cms.string(
"L1GctEtTotals")),
161 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
162 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
163 cms.PSet(type = cms.string(
"L1GctHtMisss")),
164 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
165 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
166 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
167 cms.PSet(type = cms.string(
"L1GctJetCands")))})
169 gctDigis = cms.EDAlias(
172 cms.PSet(type = cms.string(
"L1GctEmCands")),
173 cms.PSet(type = cms.string(
"L1GctEtHads")),
174 cms.PSet(type = cms.string(
"L1GctEtMisss")),
175 cms.PSet(type = cms.string(
"L1GctEtTotals")),
176 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
177 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
178 cms.PSet(type = cms.string(
"L1GctHtMisss")),
179 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
180 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
181 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
182 cms.PSet(type = cms.string(
"L1GctJetCands")))})
184 gtDigis = cms.EDAlias(
187 cms.PSet(type = cms.string(
"L1GlobalTriggerEvmReadoutRecord")),
188 cms.PSet(type = cms.string(
"L1GlobalTriggerObjectMapRecord")),
189 cms.PSet(type = cms.string(
"L1GlobalTriggerReadoutRecord"))),
192 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
193 cms.PSet(type = cms.string(
"L1MuGMTCands")))
197 gmtDigis = cms.EDAlias (
200 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
201 cms.PSet(type = cms.string(
"L1MuGMTCands"))
def loadTriggerDigiAliases()
def loadDigiAliases(premix=False)