test
CMS 3D CMS Logo

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

Functions

def loadDigiAliases
 
def loadTriggerDigiAliases
 

Variables

 caloStage1LegacyFormatDigis = None
 
 ecalDigis = None
 
 ecalPreshowerDigis = None
 
 generalTracks = None
 
 gmtDigis = None
 
 gtDigis = None
 
 hcalDigis = None
 
 muonCSCDigis = None
 
 muonDTDigis = None
 
 muonRPCDigis = None
 

Function Documentation

def DigiAliases_cff.loadDigiAliases (   premix = False)

Definition at line 16 of file DigiAliases_cff.py.

16 
17 def loadDigiAliases(premix=False):
18 
19  nopremix = not premix
20 
21  global generalTracks,ecalPreshowerDigis,ecalDigis,hcalDigis,muonDTDigis,muonCSCDigis,muonRPCDigis
22 
23  generalTracks = cms.EDAlias(
24  **{"mix" if nopremix else "mixData" :
25  cms.VPSet(
26  cms.PSet(
27  fromProductInstance = cms.string('generalTracks'),
28  toProductInstance = cms.string(''),
29  type = cms.string('recoTracks')
30  ),
31  cms.PSet(
32  fromProductInstance = cms.string('generalTracks'),
33  toProductInstance = cms.string(''),
34  type = cms.string('recoTrackExtras')
35  ),
36  cms.PSet(
37  fromProductInstance = cms.string('generalTracks'),
38  toProductInstance = cms.string(''),
39  type = cms.string('TrackingRecHitsOwned')
40  )
41  )
42  }
43  )
44 
45  ecalPreshowerDigis = cms.EDAlias(
46  **{"simEcalPreshowerDigis" if nopremix else "DMEcalPreshowerDigis" :
47  cms.VPSet(
48  cms.PSet(
49  type = cms.string("ESDigiCollection")
50  )
51  )
52  }
53  )
54 
55  ecalDigis = cms.EDAlias(
56  **{"simEcalDigis" if nopremix else "DMEcalDigis" :
57  cms.VPSet(
58  cms.PSet(
59  type = cms.string("EBDigiCollection")
60  ),
61  cms.PSet(
62  type = cms.string("EEDigiCollection")
63  ),
64  cms.PSet(
65  type = cms.string("EBSrFlagsSorted"),
66  fromProductInstance = cms.string('ebSrFlags'),
67  toProductInstance = cms.string('')),
68  cms.PSet(
69  type = cms.string("EESrFlagsSorted"),
70  fromProductInstance = cms.string('eeSrFlags'),
71  toProductInstance = cms.string(''),
72  )
73  ),
74  "simEcalTriggerPrimitiveDigis" if nopremix else "DMEcalTriggerPrimitiveDigis" :
75  cms.VPSet(
76  cms.PSet(
77  type = cms.string("EcalTriggerPrimitiveDigisSorted"),
78  fromProductInstance = cms.string(""),
79  toProductInstance = cms.string("EcalTriggerPrimitives")
80  )
81  )
82  }
83  )
84 
85  hcalDigis = cms.EDAlias(
86  **{"simHcalDigis" if nopremix else "DMHcalDigis" :
87  cms.VPSet(
88  cms.PSet(type = cms.string("HBHEDataFramesSorted")),
89  cms.PSet(type = cms.string("HFDataFramesSorted")),
90  cms.PSet(type = cms.string("HODataFramesSorted"))
91  )
92  }
93  )
94 
95  muonDTDigis = cms.EDAlias(
96  **{"simMuonDTDigis" if nopremix else "mixData" :
97  cms.VPSet(
98  cms.PSet(
99  type = cms.string("DTLayerIdDTDigiMuonDigiCollection")
100  ),
101  #cms.PSet(
102  # type = cms.string("DTLayerIdDTDigiSimLinkMuonDigiCollection")
103  # )
104  )
105  }
106  )
107 
108  muonRPCDigis = cms.EDAlias(
109  **{"simMuonRPCDigis" if nopremix else "mixData" :
110  cms.VPSet(
111  cms.PSet(
112  type = cms.string("RPCDetIdRPCDigiMuonDigiCollection")
113  ),
114  #cms.PSet(
115  # type = cms.string("RPCDigiSimLinkedmDetSetVector")
116  # )
117  )
118  }
119  )
120 
121  muonCSCDigis = cms.EDAlias(
122  **{"simMuonCSCDigis" if nopremix else "mixData" :
123  cms.VPSet(
124  cms.PSet(
125  type = cms.string("CSCDetIdCSCWireDigiMuonDigiCollection"),
126  fromProductInstance = cms.string("MuonCSCWireDigi" if nopremix else "MuonCSCWireDigisDM"),
127  toProductInstance = cms.string("MuonCSCWireDigi")),
128  cms.PSet(
129  type = cms.string("CSCDetIdCSCStripDigiMuonDigiCollection"),
130  fromProductInstance = cms.string("MuonCSCStripDigi" if nopremix else "MuonCSCStripDigisDM"),
131  toProductInstance = cms.string("MuonCSCStripDigi")),
132  #cms.PSet(
133  # type = cms.string('StripDigiSimLinkedmDetSetVector')
134  # ),
135  )
136  }
137  )
def DigiAliases_cff.loadTriggerDigiAliases ( )

Definition at line 138 of file DigiAliases_cff.py.

140 
141  global gctDigis,gtDigis,gmtDigis,caloStage1LegacyFormatDigis
142 
143  caloStage1LegacyFormatDigis = cms.EDAlias(
144  **{ "simCaloStage1LegacyFormatDigis" :
145  cms.VPSet(
146  cms.PSet(type = cms.string("L1GctEmCands")),
147  cms.PSet(type = cms.string("L1GctEtHads")),
148  cms.PSet(type = cms.string("L1GctEtMisss")),
149  cms.PSet(type = cms.string("L1GctEtTotals")),
150  cms.PSet(type = cms.string("L1GctHFBitCountss")),
151  cms.PSet(type = cms.string("L1GctHFRingEtSumss")),
152  cms.PSet(type = cms.string("L1GctHtMisss")),
153  cms.PSet(type = cms.string("L1GctInternEtSums")),
154  cms.PSet(type = cms.string("L1GctInternHtMisss")),
155  cms.PSet(type = cms.string("L1GctInternJetDatas")),
156  cms.PSet(type = cms.string("L1GctJetCands")))})
157 
158  gctDigis = cms.EDAlias(
159  **{ "simGctDigis" :
160  cms.VPSet(
161  cms.PSet(type = cms.string("L1GctEmCands")),
162  cms.PSet(type = cms.string("L1GctEtHads")),
163  cms.PSet(type = cms.string("L1GctEtMisss")),
164  cms.PSet(type = cms.string("L1GctEtTotals")),
165  cms.PSet(type = cms.string("L1GctHFBitCountss")),
166  cms.PSet(type = cms.string("L1GctHFRingEtSumss")),
167  cms.PSet(type = cms.string("L1GctHtMisss")),
168  cms.PSet(type = cms.string("L1GctInternEtSums")),
169  cms.PSet(type = cms.string("L1GctInternHtMisss")),
170  cms.PSet(type = cms.string("L1GctInternJetDatas")),
171  cms.PSet(type = cms.string("L1GctJetCands")))})
172 
173  gtDigis = cms.EDAlias(
174  **{ "simGtDigis" :
175  cms.VPSet(
176  cms.PSet(type = cms.string("L1GlobalTriggerEvmReadoutRecord")),
177  cms.PSet(type = cms.string("L1GlobalTriggerObjectMapRecord")),
178  cms.PSet(type = cms.string("L1GlobalTriggerReadoutRecord"))),
179  "simGmtDigis" :
180  cms.VPSet(
181  cms.PSet(type = cms.string("L1MuGMTReadoutCollection")),
182  cms.PSet(type = cms.string("L1MuGMTCands")))
183  })
184 
185 
186  gmtDigis = cms.EDAlias (
187  simGmtDigis =
188  cms.VPSet(
189  cms.PSet(type = cms.string("L1MuGMTReadoutCollection")),
190  cms.PSet(type = cms.string("L1MuGMTCands"))
191  )
192  )
193 

Variable Documentation

DigiAliases_cff.caloStage1LegacyFormatDigis = None

Definition at line 12 of file DigiAliases_cff.py.

DigiAliases_cff.ecalDigis = None

Definition at line 7 of file DigiAliases_cff.py.

DigiAliases_cff.ecalPreshowerDigis = None

Definition at line 6 of file DigiAliases_cff.py.

DigiAliases_cff.generalTracks = None

Definition at line 5 of file DigiAliases_cff.py.

Referenced by HcalCorrPFCalculation.analyze(), ValidIsoTrkCalib.analyze(), and ME0SegmentMatcher.produce().

DigiAliases_cff.gmtDigis = None

Definition at line 14 of file DigiAliases_cff.py.

DigiAliases_cff.gtDigis = None

Definition at line 13 of file DigiAliases_cff.py.

DigiAliases_cff.hcalDigis = None

Definition at line 8 of file DigiAliases_cff.py.

DigiAliases_cff.muonCSCDigis = None

Definition at line 10 of file DigiAliases_cff.py.

DigiAliases_cff.muonDTDigis = None

Definition at line 9 of file DigiAliases_cff.py.

DigiAliases_cff.muonRPCDigis = None

Definition at line 11 of file DigiAliases_cff.py.