1 import FWCore.ParameterSet.Config
as cms
7 _loadDigiAliasesWasCalledPremix =
None 10 if _loadDigiAliasesWasCalledPremix
is None:
11 raise Exception(
"This function may be called only after loadDigiAliases() has been called")
13 nopremix =
not _loadDigiAliasesWasCalledPremix
14 process.generalTracks = cms.EDAlias(
15 **{
"mix" if nopremix
else "mixData" :
18 fromProductInstance = cms.string(
'generalTracks'),
19 toProductInstance = cms.string(
''),
20 type = cms.string(
'recoTracks')
23 fromProductInstance = cms.string(
'generalTracks'),
24 toProductInstance = cms.string(
''),
25 type = cms.string(
'recoTrackExtras')
28 fromProductInstance = cms.string(
'generalTracks'),
29 toProductInstance = cms.string(
''),
30 type = cms.string(
'TrackingRecHitsOwned')
38 global _loadDigiAliasesWasCalledPremix
39 _loadDigiAliasesWasCalledPremix = premix
41 process.ecalPreshowerDigis = cms.EDAlias(
42 **{
"simEcalPreshowerDigis" if nopremix
else "DMEcalPreshowerDigis" :
45 type = cms.string(
"ESDigiCollection")
51 process.ecalDigis = cms.EDAlias(
52 **{
"simEcalDigis" if nopremix
else "DMEcalDigis" :
55 type = cms.string(
"EBDigiCollection")
58 type = cms.string(
"EEDigiCollection")
61 type = cms.string(
"EBSrFlagsSorted"),
62 fromProductInstance = cms.string(
'ebSrFlags'),
63 toProductInstance = cms.string(
'')),
65 type = cms.string(
"EESrFlagsSorted"),
66 fromProductInstance = cms.string(
'eeSrFlags'),
67 toProductInstance = cms.string(
''),
70 "simEcalTriggerPrimitiveDigis" if nopremix
else "DMEcalTriggerPrimitiveDigis" :
73 type = cms.string(
"EcalTriggerPrimitiveDigisSorted"),
74 fromProductInstance = cms.string(
""),
75 toProductInstance = cms.string(
"EcalTriggerPrimitives")
81 process.hcalDigis = cms.EDAlias(
82 **{
"simHcalDigis" if nopremix
else "DMHcalDigis" :
84 cms.PSet(type = cms.string(
"HBHEDataFramesSorted")),
85 cms.PSet(type = cms.string(
"HFDataFramesSorted")),
86 cms.PSet(type = cms.string(
"HODataFramesSorted")),
88 type = cms.string(
'QIE10DataFrameHcalDataFrameContainer'),
89 fromProductInstance = cms.string(
'HFQIE10DigiCollection'),
90 toProductInstance = cms.string(
'')
93 type = cms.string(
'QIE11DataFrameHcalDataFrameContainer'),
94 fromProductInstance = cms.string(
'HBHEQIE11DigiCollection'),
95 toProductInstance = cms.string(
'')
101 process.muonDTDigis = cms.EDAlias(
102 **{
"simMuonDTDigis" if nopremix
else "mixData" :
105 type = cms.string(
"DTLayerIdDTDigiMuonDigiCollection")
114 process.muonRPCDigis = cms.EDAlias(
115 **{
"simMuonRPCDigis" if nopremix
else "mixData" :
118 type = cms.string(
"RPCDetIdRPCDigiMuonDigiCollection")
127 process.muonCSCDigis = cms.EDAlias(
128 **{
"simMuonCSCDigis" if nopremix
else "mixData" :
131 type = cms.string(
"CSCDetIdCSCWireDigiMuonDigiCollection"),
132 fromProductInstance = cms.string(
"MuonCSCWireDigi" if nopremix
else "MuonCSCWireDigisDM"),
133 toProductInstance = cms.string(
"MuonCSCWireDigi")),
135 type = cms.string(
"CSCDetIdCSCStripDigiMuonDigiCollection"),
136 fromProductInstance = cms.string(
"MuonCSCStripDigi" if nopremix
else "MuonCSCStripDigisDM"),
137 toProductInstance = cms.string(
"MuonCSCStripDigi")),
146 process.caloStage1LegacyFormatDigis = cms.EDAlias(
147 **{
"simCaloStage1LegacyFormatDigis" :
149 cms.PSet(type = cms.string(
"L1GctEmCands")),
150 cms.PSet(type = cms.string(
"L1GctEtHads")),
151 cms.PSet(type = cms.string(
"L1GctEtMisss")),
152 cms.PSet(type = cms.string(
"L1GctEtTotals")),
153 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
154 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
155 cms.PSet(type = cms.string(
"L1GctHtMisss")),
156 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
157 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
158 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
159 cms.PSet(type = cms.string(
"L1GctJetCands")))})
161 process.gctDigis = cms.EDAlias(
164 cms.PSet(type = cms.string(
"L1GctEmCands")),
165 cms.PSet(type = cms.string(
"L1GctEtHads")),
166 cms.PSet(type = cms.string(
"L1GctEtMisss")),
167 cms.PSet(type = cms.string(
"L1GctEtTotals")),
168 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
169 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
170 cms.PSet(type = cms.string(
"L1GctHtMisss")),
171 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
172 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
173 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
174 cms.PSet(type = cms.string(
"L1GctJetCands")))})
176 process.gtDigis = cms.EDAlias(
179 cms.PSet(type = cms.string(
"L1GlobalTriggerEvmReadoutRecord")),
180 cms.PSet(type = cms.string(
"L1GlobalTriggerObjectMapRecord")),
181 cms.PSet(type = cms.string(
"L1GlobalTriggerReadoutRecord"))),
184 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
185 cms.PSet(type = cms.string(
"L1MuGMTCands")))
189 process.gmtDigis = cms.EDAlias (
192 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
193 cms.PSet(type = cms.string(
"L1MuGMTCands"))
def loadGeneralTracksAlias(process)
def loadDigiAliases(process, premix=False)
def loadTriggerDigiAliases(process)