1 import FWCore.ParameterSet.Config
as cms
3 generalTracksAliasInfo = cms.VPSet(
5 key = cms.string(
"mix"),
6 value = cms.VPSet( cms.PSet(type=cms.string(
'recoTracks'),
7 fromProductInstance = cms.string(
'generalTracks'),
8 toProductInstance = cms.string(
'') ),
9 cms.PSet(type=cms.string(
'recoTrackExtras'),
10 fromProductInstance = cms.string(
'generalTracks'),
11 toProductInstance = cms.string(
'') ),
12 cms.PSet(type=cms.string(
'TrackingRecHitsOwned'),
13 fromProductInstance = cms.string(
'generalTracks'),
14 toProductInstance = cms.string(
'') )
19 ecalPreShowerDigisAliasInfo = cms.VPSet(
21 key = cms.string(
"simEcalPreshowerDigis"),
22 value = cms.VPSet(cms.PSet(type = cms.string(
"ESDigiCollection")))
26 ecalDigisAliasInfo = cms.VPSet(
28 key = cms.string(
"simEcalDigis"),
30 cms.PSet(type = cms.string(
"EBDigiCollection")),
31 cms.PSet(type = cms.string(
"EEDigiCollection")),
33 type = cms.string(
"EBSrFlagsSorted"),
34 fromProductInstance = cms.string(
'ebSrFlags'),
35 toProductInstance = cms.string(
'')),
37 type = cms.string(
"EESrFlagsSorted"),
38 fromProductInstance = cms.string(
'eeSrFlags'),
39 toProductInstance = cms.string(
''))),
42 key = cms.string(
"simEcalTriggerPrimitiveDigis"),
45 type = cms.string(
"EcalTriggerPrimitiveDigisSorted"),
46 fromProductInstance = cms.string(
""),
47 toProductInstance = cms.string(
"EcalTriggerPrimitives")))
51 hcalDigisAliasInfo = cms.VPSet(
53 key = cms.string(
"simHcalDigis"),
55 cms.PSet(type = cms.string(
"HBHEDataFramesSorted")),
56 cms.PSet(type = cms.string(
"HFDataFramesSorted")),
57 cms.PSet(type = cms.string(
"HODataFramesSorted")))
61 muonDTDigisAliasInfo = cms.VPSet(
63 key = cms.string(
"simMuonDTDigis"),
64 value = cms.VPSet(cms.PSet(type = cms.string(
"DTLayerIdDTDigiMuonDigiCollection")))
69 muonRPCDigisAliasInfo = cms.VPSet(
71 key = cms.string(
"simMuonRPCDigis"),
72 value = cms.VPSet(cms.PSet(type = cms.string(
"RPCDetIdRPCDigiMuonDigiCollection")))
76 muonCSCDigisAliasInfo = cms.VPSet(
78 key = cms.string(
"simMuonCSCDigis"),
81 type = cms.string(
"CSCDetIdCSCWireDigiMuonDigiCollection"),
82 fromProductInstance = cms.string(
"MuonCSCWireDigi")),
84 type = cms.string(
"CSCDetIdCSCStripDigiMuonDigiCollection"),
85 fromProductInstance = cms.string(
"MuonCSCStripDigi")))
89 gtDigisAliasInfo = cms.VPSet (
91 key = cms.string(
"simGtDigis"),
93 cms.PSet(type = cms.string(
"L1GlobalTriggerReadoutRecord")),
94 cms.PSet(type = cms.string(
"L1GlobalTriggerObjectMapRecord"))
99 gmtDigisAliasInfo = cms.VPSet (
101 key = cms.string(
"simGmtDigis"),
103 cms.PSet(type = cms.string(
"L1MuGMTReadoutCollection"))
109 print "# WARNING: converting digi and mix aliases for DataMixer"
111 generalTracksAliasInfo[0].key =
"mixData"
114 muonCSCDigisAliasInfo[0].key =
"mixData"
115 muonCSCDigisAliasInfo[0].value[0].fromProductInstance =
"MuonCSCWireDigisDM"
116 muonCSCDigisAliasInfo[0].value[1].fromProductInstance =
"MuonCSCStripDigisDM"
117 muonRPCDigisAliasInfo[0].key =
"mixData"
118 muonDTDigisAliasInfo[0].key =
"mixData"
121 hcalDigisAliasInfo[0].key =
"DMHcalDigis"
122 ecalDigisAliasInfo[0].key =
"DMEcalDigis"
123 ecalDigisAliasInfo[1].key =
"DMEcalTriggerPrimitiveDigis"
124 ecalPreShowerDigisAliasInfo[0].key =
"DMEcalPreshowerDigis"
129 _dict[entry.key.value()] = entry.value
130 return cms.EDAlias(**_dict)
def convertAliasInfoForDataMixer