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 108 of file DigiAndMixAliasInfo_cff.py.

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

Definition at line 126 of file DigiAndMixAliasInfo_cff.py.

References python.multivaluedict.dict.

127 def infoToAlias(info):
128  _dict = dict()
129  for entry in info:
130  _dict[entry.key.value()] = entry.value
131  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 26 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 19 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  )
14  )
15  )

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 99 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 89 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 51 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 76 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 61 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 69 of file DigiAndMixAliasInfo_cff.py.