1 import FWCore.ParameterSet.Config
as cms
6 ecalPreshowerDigis =
None
12 caloStage1LegacyFormatDigis =
None
20 global generalTracks,ecalPreshowerDigis,ecalDigis,hcalDigis,muonDTDigis,muonCSCDigis,muonRPCDigis
22 generalTracks = cms.EDAlias(
23 **{
"mix" if nopremix
else "mixData" :
26 fromProductInstance = cms.string(
'generalTracks'),
27 toProductInstance = cms.string(
''),
28 type = cms.string(
'recoTracks')
31 fromProductInstance = cms.string(
'generalTracks'),
32 toProductInstance = cms.string(
''),
33 type = cms.string(
'recoTrackExtras')
36 fromProductInstance = cms.string(
'generalTracks'),
37 toProductInstance = cms.string(
''),
38 type = cms.string(
'TrackingRecHitsOwned')
44 ecalPreshowerDigis = cms.EDAlias(
45 **{
"simEcalPreshowerDigis" if nopremix
else "DMEcalPreshowerDigis" :
48 type = cms.string(
"ESDigiCollection")
54 ecalDigis = cms.EDAlias(
55 **{
"simEcalDigis" if nopremix
else "DMEcalDigis" :
58 type = cms.string(
"EBDigiCollection")
61 type = cms.string(
"EEDigiCollection")
64 type = cms.string(
"EBSrFlagsSorted"),
65 fromProductInstance = cms.string(
'ebSrFlags'),
66 toProductInstance = cms.string(
'')),
68 type = cms.string(
"EESrFlagsSorted"),
69 fromProductInstance = cms.string(
'eeSrFlags'),
70 toProductInstance = cms.string(
''),
73 "simEcalTriggerPrimitiveDigis" if nopremix
else "DMEcalTriggerPrimitiveDigis" :
76 type = cms.string(
"EcalTriggerPrimitiveDigisSorted"),
77 fromProductInstance = cms.string(
""),
78 toProductInstance = cms.string(
"EcalTriggerPrimitives")
84 hcalDigis = cms.EDAlias(
85 **{
"simHcalDigis" if nopremix
else "DMHcalDigis" :
87 cms.PSet(type = cms.string(
"HBHEDataFramesSorted")),
88 cms.PSet(type = cms.string(
"HFDataFramesSorted")),
89 cms.PSet(type = cms.string(
"HODataFramesSorted"))
94 muonDTDigis = cms.EDAlias(
95 **{
"simMuonDTDigis" if nopremix
else "mixData" :
98 type = cms.string(
"DTLayerIdDTDigiMuonDigiCollection")
107 muonRPCDigis = cms.EDAlias(
108 **{
"simMuonRPCDigis" if nopremix
else "mixData" :
111 type = cms.string(
"RPCDetIdRPCDigiMuonDigiCollection")
120 muonCSCDigis = cms.EDAlias(
121 **{
"simMuonCSCDigis" if nopremix
else "mixData" :
124 type = cms.string(
"CSCDetIdCSCWireDigiMuonDigiCollection"),
125 fromProductInstance = cms.string(
"MuonCSCWireDigi" if nopremix
else "MuonCSCWireDigisDM"),
126 toProductInstance = cms.string(
"MuonCSCWireDigi")),
128 type = cms.string(
"CSCDetIdCSCStripDigiMuonDigiCollection"),
129 fromProductInstance = cms.string(
"MuonCSCStripDigi" if nopremix
else "MuonCSCStripDigisDM"),
130 toProductInstance = cms.string(
"MuonCSCStripDigi")),
140 global gctDigis,gtDigis,gmtDigis,caloStage1LegacyFormatDigis
142 caloStage1LegacyFormatDigis = cms.EDAlias(
143 **{
"simCaloStage1LegacyFormatDigis" :
145 cms.PSet(type = cms.string(
"L1GctEmCands")),
146 cms.PSet(type = cms.string(
"L1GctEtHads")),
147 cms.PSet(type = cms.string(
"L1GctEtMisss")),
148 cms.PSet(type = cms.string(
"L1GctEtTotals")),
149 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
150 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
151 cms.PSet(type = cms.string(
"L1GctHtMisss")),
152 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
153 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
154 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
155 cms.PSet(type = cms.string(
"L1GctJetCands")))})
157 gctDigis = cms.EDAlias(
160 cms.PSet(type = cms.string(
"L1GctEmCands")),
161 cms.PSet(type = cms.string(
"L1GctEtHads")),
162 cms.PSet(type = cms.string(
"L1GctEtMisss")),
163 cms.PSet(type = cms.string(
"L1GctEtTotals")),
164 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
165 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
166 cms.PSet(type = cms.string(
"L1GctHtMisss")),
167 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
168 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
169 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
170 cms.PSet(type = cms.string(
"L1GctJetCands")))})
172 gtDigis = cms.EDAlias(
175 cms.PSet(type = cms.string(
"L1GlobalTriggerEvmReadoutRecord")),
176 cms.PSet(type = cms.string(
"L1GlobalTriggerObjectMapRecord")),
177 cms.PSet(type = cms.string(
"L1GlobalTriggerReadoutRecord")))})
180 gmtDigis = cms.EDAlias (
183 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
184 cms.PSet(type = cms.string(
"L1MuGMTCands"))
def loadTriggerDigiAliases