CMS 3D CMS Logo

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

Functions

def loadDigiAliases
 
def loadGeneralTracksAlias
 
def loadTriggerDigiAliases
 

Variables

 _loadDigiAliasesWasCalledPremix = None
 

Function Documentation

def DigiAliases_cff.loadDigiAliases (   process,
  premix = False 
)

Definition at line 36 of file DigiAliases_cff.py.

Referenced by Digi_cff._fastSimDigis(), and DataMixerPreMix_cff._fastSimDigis().

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

Definition at line 9 of file DigiAliases_cff.py.

Referenced by MergeTrackCollections_cff._fastSimGeneralTracks().

9 
10 def loadGeneralTracksAlias(process):
11  if _loadDigiAliasesWasCalledPremix is None:
12  raise Exception("This function may be called only after loadDigiAliases() has been called")
13 
14  nopremix = not _loadDigiAliasesWasCalledPremix
15  process.generalTracks = cms.EDAlias(
16  **{"mix" if nopremix else "mixData" :
17  cms.VPSet(
18  cms.PSet(
19  fromProductInstance = cms.string('generalTracks'),
20  toProductInstance = cms.string(''),
21  type = cms.string('recoTracks')
22  ),
23  cms.PSet(
24  fromProductInstance = cms.string('generalTracks'),
25  toProductInstance = cms.string(''),
26  type = cms.string('recoTrackExtras')
27  ),
28  cms.PSet(
29  fromProductInstance = cms.string('generalTracks'),
30  toProductInstance = cms.string(''),
31  type = cms.string('TrackingRecHitsOwned')
32  )
33  )
34  }
35  )
def DigiAliases_cff.loadTriggerDigiAliases (   process)

Definition at line 139 of file DigiAliases_cff.py.

Referenced by SimL1Emulator_cff._fastSimTriggerDigis().

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

Variable Documentation

DigiAliases_cff._loadDigiAliasesWasCalledPremix = None

Definition at line 7 of file DigiAliases_cff.py.