CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
DigiAndMixAliasInfo_cff Namespace Reference

Functions

def convertAliasInfoForDataMixer
 
def infoToAlias
 

Variables

tuple ecalDigisAliasInfo
 
tuple ecalPreShowerDigisAliasInfo
 
tuple generalTracksAliasInfo
 
tuple gmtDigisAliasInfo
 
tuple gtDigisAliasInfo
 
tuple hcalDigisAliasInfo
 
tuple muonCSCDigisAliasInfo
 
tuple muonDTDigisAliasInfo
 
tuple muonRPCDigisAliasInfo
 

Function Documentation

def DigiAndMixAliasInfo_cff.convertAliasInfoForDataMixer ( )

Definition at line 110 of file DigiAndMixAliasInfo_cff.py.

112  print "# WARNING: converting digi and mix aliases for DataMixer"
113  # tracker
114  generalTracksAliasInfo[0].key = "mixData"
115 
116  # muon system
117  muonCSCDigisAliasInfo[0].key = "mixData"
118  muonCSCDigisAliasInfo[0].value[0].fromProductInstance = "MuonCSCWireDigisDM"
119  muonCSCDigisAliasInfo[0].value[1].fromProductInstance = "MuonCSCStripDigisDM"
120  muonRPCDigisAliasInfo[0].key = "mixData"
121  muonDTDigisAliasInfo[0].key = "mixData"
122 
123  # calorimeters
124  hcalDigisAliasInfo[0].key = "DMHcalDigis"
125  ecalDigisAliasInfo[0].key = "DMEcalDigis"
126  ecalDigisAliasInfo[1].key = "DMEcalTriggerPrimitiveDigis"
127  ecalPreShowerDigisAliasInfo[0].key = "DMEcalPreshowerDigis"
def DigiAndMixAliasInfo_cff.infoToAlias (   info)

Definition at line 128 of file DigiAndMixAliasInfo_cff.py.

References python.multivaluedict.dict.

129 def infoToAlias(info):
130  _dict = dict()
131  for entry in info:
132  _dict[entry.key.value()] = entry.value
133  return cms.EDAlias(**_dict)

Variable Documentation

tuple DigiAndMixAliasInfo_cff.ecalDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simEcalDigis"),
4  value = cms.VPSet(
5  cms.PSet(type = cms.string("EBDigiCollection")),
6  cms.PSet(type = cms.string("EEDigiCollection")),
7  cms.PSet(
8  type = cms.string("EBSrFlagsSorted"),
9  fromProductInstance = cms.string('ebSrFlags'),
10  toProductInstance = cms.string('')),
11  cms.PSet(
12  type = cms.string("EESrFlagsSorted"),
13  fromProductInstance = cms.string('eeSrFlags'),
14  toProductInstance = cms.string(''))),
15  ),
16  cms.PSet(
17  key = cms.string("simEcalTriggerPrimitiveDigis"),
18  value = cms.VPSet(
19  cms.PSet(
20  type = cms.string("EcalTriggerPrimitiveDigisSorted"),
21  fromProductInstance = cms.string(""),
22  toProductInstance = cms.string("EcalTriggerPrimitives")))
23  )
24  )

Definition at line 28 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.ecalPreShowerDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simEcalPreshowerDigis"),
4  value = cms.VPSet(cms.PSet(type = cms.string("ESDigiCollection")))
5  )
6  )

Definition at line 21 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.generalTracksAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("mix"),
4  value = cms.VPSet( cms.PSet(type=cms.string('recoTracks'),
5  fromProductInstance = cms.string('generalTracks'),
6  toProductInstance = cms.string('') ),
7  cms.PSet(type=cms.string('recoTrackExtras'),
8  fromProductInstance = cms.string('generalTracks'),
9  toProductInstance = cms.string('') ),
10  cms.PSet(type=cms.string('TrackingRecHitsOwned'),
11  fromProductInstance = cms.string('generalTracks'),
12  toProductInstance = cms.string('') ),
13  cms.PSet(type=cms.string('floatedmValueMap'),
14  fromProductInstance = cms.string('generalTracksMVAVals'),
15  toProductInstance = cms.string('MVAVals') ) )
16  )
17  )

Definition at line 3 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.gmtDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simGmtDigis"),
4  value = cms.VPSet(
5  cms.PSet(type = cms.string("L1MuGMTReadoutCollection"))
6  )
7  )
8  )

Definition at line 101 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.gtDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simGtDigis"),
4  value = cms.VPSet(
5  cms.PSet(type = cms.string("L1GlobalTriggerReadoutRecord")),
6  cms.PSet(type = cms.string("L1GlobalTriggerObjectMapRecord"))
7  )
8  )
9  )

Definition at line 91 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.hcalDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simHcalDigis"),
4  value = cms.VPSet(
5  cms.PSet(type = cms.string("HBHEDataFramesSorted")),
6  cms.PSet(type = cms.string("HFDataFramesSorted")),
7  cms.PSet(type = cms.string("HODataFramesSorted")))
8  )
9  )

Definition at line 53 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.muonCSCDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simMuonCSCDigis"),
4  value = cms.VPSet(
5  cms.PSet(
6  type = cms.string("CSCDetIdCSCWireDigiMuonDigiCollection"),
7  fromProductInstance = cms.string("MuonCSCWireDigi")),
8  cms.PSet(
9  type = cms.string("CSCDetIdCSCStripDigiMuonDigiCollection"),
10  fromProductInstance = cms.string("MuonCSCStripDigi")))
11  )
12  )

Definition at line 78 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.muonDTDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simMuonDTDigis"),
4  value = cms.VPSet(cms.PSet(type = cms.string("DTLayerIdDTDigiMuonDigiCollection")))
5  )
6  )

Definition at line 63 of file DigiAndMixAliasInfo_cff.py.

tuple DigiAndMixAliasInfo_cff.muonRPCDigisAliasInfo
Initial value:
1 = cms.VPSet(
2  cms.PSet(
3  key = cms.string("simMuonRPCDigis"),
4  value = cms.VPSet(cms.PSet(type = cms.string("RPCDetIdRPCDigiMuonDigiCollection")))
5  )
6  )

Definition at line 71 of file DigiAndMixAliasInfo_cff.py.