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 = cms.VPSet(
104 type = cms.string(
"DTLayerIdDTDigiMuonDigiCollection")
112 process.muonRPCDigis = cms.EDAlias(
113 simMuonRPCDigis = cms.VPSet(
115 type = cms.string(
"RPCDetIdRPCDigiMuonDigiCollection")
123 process.muonCSCDigis = cms.EDAlias(
124 simMuonCSCDigis = cms.VPSet(
126 type = cms.string(
"CSCDetIdCSCWireDigiMuonDigiCollection"),
127 fromProductInstance = cms.string(
"MuonCSCWireDigi"),
128 toProductInstance = cms.string(
"MuonCSCWireDigi")),
130 type = cms.string(
"CSCDetIdCSCStripDigiMuonDigiCollection"),
131 fromProductInstance = cms.string(
"MuonCSCStripDigi"),
132 toProductInstance = cms.string(
"MuonCSCStripDigi")),
140 process.caloStage1LegacyFormatDigis = cms.EDAlias(
141 **{
"simCaloStage1LegacyFormatDigis" :
143 cms.PSet(type = cms.string(
"L1GctEmCands")),
144 cms.PSet(type = cms.string(
"L1GctEtHads")),
145 cms.PSet(type = cms.string(
"L1GctEtMisss")),
146 cms.PSet(type = cms.string(
"L1GctEtTotals")),
147 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
148 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
149 cms.PSet(type = cms.string(
"L1GctHtMisss")),
150 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
151 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
152 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
153 cms.PSet(type = cms.string(
"L1GctJetCands")))})
155 process.gctDigis = cms.EDAlias(
158 cms.PSet(type = cms.string(
"L1GctEmCands")),
159 cms.PSet(type = cms.string(
"L1GctEtHads")),
160 cms.PSet(type = cms.string(
"L1GctEtMisss")),
161 cms.PSet(type = cms.string(
"L1GctEtTotals")),
162 cms.PSet(type = cms.string(
"L1GctHFBitCountss")),
163 cms.PSet(type = cms.string(
"L1GctHFRingEtSumss")),
164 cms.PSet(type = cms.string(
"L1GctHtMisss")),
165 cms.PSet(type = cms.string(
"L1GctInternEtSums")),
166 cms.PSet(type = cms.string(
"L1GctInternHtMisss")),
167 cms.PSet(type = cms.string(
"L1GctInternJetDatas")),
168 cms.PSet(type = cms.string(
"L1GctJetCands")))})
170 process.gtDigis = cms.EDAlias(
173 cms.PSet(type = cms.string(
"L1GlobalTriggerEvmReadoutRecord")),
174 cms.PSet(type = cms.string(
"L1GlobalTriggerObjectMapRecord")),
175 cms.PSet(type = cms.string(
"L1GlobalTriggerReadoutRecord"))),
178 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
179 cms.PSet(type = cms.string(
"L1MuGMTCands")))
183 process.gmtDigis = cms.EDAlias (
186 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection")),
187 cms.PSet(type = cms.string(
"L1MuGMTCands"))
def loadGeneralTracksAlias(process)
def loadDigiAliases(process, premix=False)
def loadTriggerDigiAliases(process)