CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Skims_DPG_cff.py
Go to the documentation of this file.
2 
3 from Configuration.EventContent.EventContent_cff import FEVTEventContent
4 skimContent = FEVTEventContent.clone()
5 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
6 skimContent.outputCommands.append("drop *_*_*_SKIM")
7 
8 
9 
10 #############
12 pathlogerror =cms.Path(logerrorseq)
13 
14 SKIMStreamLogError = cms.FilteredStream(
15  responsible = 'reco convener',
16  name = 'LogError',
17  paths = (pathlogerror),
18  content = skimContent.outputCommands,
19  selectEvents = cms.untracked.PSet(),
20  dataTier = cms.untracked.string('RAW-RECO')
21  )
22 
23 #############
24 pathlogerrormonitor =cms.Path(logerrormonitorseq)
25 
26 SKIMStreamLogErrorMonitor = cms.FilteredStream(
27  responsible = 'reco convener',
28  name = 'LogErrorMonitor',
29  paths = (pathlogerrormonitor),
30  content = cms.untracked.vstring('drop *_*_*_*', 'keep edmErrorSummaryEntrys_*_*_*'),
31  selectEvents = cms.untracked.PSet(),
32  dataTier = cms.untracked.string('USER')
33  )
34 
35 ##############
36 #from DPGAnalysis.Skims.BeamBkgSkim_cff import *
37 #pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq)
38 
39 #SKIMStreamBeamBkg = cms.FilteredStream(
40 # responsible = 'PFG',
41 # name = 'BeamBkg',
42 # paths = (pathpfgskim3noncross),
43 # content = skimContent.outputCommands,
44 # selectEvents = cms.untracked.PSet(),
45 # dataTier = cms.untracked.string('RAW-RECO')
46 # )
47 
48 ###########
49 
50 #from DPGAnalysis.Skims.cscSkim_cff import *
51 #pathCSCSkim =cms.Path(cscSkimseq)
52 #pathCSCHLTSkim = cms.Path(cscHLTSkimSeq)
53 #pathCSCAloneSkim = cms.Path(cscSkimAloneSeq)
54 
55 #SKIMStreamCSC = cms.FilteredStream(
56 # responsible = 'DPG',
57 # name = 'CSC',
58 # paths = (pathCSCSkim),
59 # content = skimContent.outputCommands,
60 # selectEvents = cms.untracked.PSet(),
61 # dataTier = cms.untracked.string('RAW-RECO')
62 # )
63 #SKIMStreamCSCHLT = cms.FilteredStream(
64 # responsible = 'DPG',
65 # name = 'CSCHLT',
66 # paths = (pathCSCHLTSkim),
67 # content = skimContent.outputCommands,
68 # selectEvents = cms.untracked.PSet(),
69 # dataTier = cms.untracked.string('RAW-RECO')
70 # )
71 #SKIMStreamCSCAlone = cms.FilteredStream(
72 # responsible = 'DPG',
73 # name = 'CSCAlone',
74 # paths = (pathCSCAloneSkim),
75 # content = skimContent.outputCommands,
76 # selectEvents = cms.untracked.PSet(),
77 # dataTier = cms.untracked.string('RAW-RECO')
78 # )
79 
80 #####################
81 
82 #from DPGAnalysis.Skims.dtActivitySkim_cff import *
83 #pathdtSkim =cms.Path(dtSkimseq)
84 #pathHLTdtSkim =cms.Path(dtHLTSkimseq)
85 
86 #SKIMStreamDT = cms.FilteredStream(
87 # responsible = 'DPG',
88 # name = 'DT',
89 # paths = (pathHLTdtSkim),
90 # content = skimContent.outputCommands,
91 # selectEvents = cms.untracked.PSet(),
92 # dataTier = cms.untracked.string('RAW-RECO')
93 # )
94 
95 #####################
96 
98 EcalActivityPath = cms.Path( ecalActivitySeq )
99 SKIMStreamEcalActivity = cms.FilteredStream(
100  responsible = 'ECAL DPG',
101  name = 'EcalActivity',
102  paths = ( EcalActivityPath ),
103  content = skimContent.outputCommands,
104  selectEvents = cms.untracked.PSet(),
105  dataTier = cms.untracked.string('RAW-RECO')
106  )
107 
108 
109 #####################
110 
111 #from DPGAnalysis.Skims.L1MuonBitSkim_cff import *
112 #pathL1MuBitSkim =cms.Path(l1MuBitsSkimseq)
113 
114 #SKIMStreamL1MuBit = cms.FilteredStream(
115 # responsible = 'DPG',
116 # name = 'L1MuBit',
117 # paths = (pathL1MuBitSkim),
118 # content = skimContent.outputCommands,
119 # selectEvents = cms.untracked.PSet(),
120 # dataTier = cms.untracked.string('RAW-RECO')
121 # )
122 
123 #####################
124 
125 #from DPGAnalysis.Skims.RPCSkim_cff import *
126 #pathrpcTecSkim =cms.Path(rpcTecSkimseq)
127 
128 #SKIMStreamRPC = cms.FilteredStream(
129 # responsible = 'DPG',
130 # name = 'RPC',
131 # paths = (pathrpcTecSkim),
132 # content = skimContent.outputCommands,
133 # selectEvents = cms.untracked.PSet(),
134 # dataTier = cms.untracked.string('RAW-RECO')
135 # )
136 
137 #####################
138 
139 #from DPGAnalysis.Skims.singleMuonSkim_cff import *
140 #from DPGAnalysis.Skims.singleElectronSkim_cff import *
141 #from DPGAnalysis.Skims.muonTagProbeFilters_cff import *
142 #from DPGAnalysis.Skims.electronTagProbeFilters_cff import *
143 #from DPGAnalysis.Skims.singlePhotonSkim_cff import *
144 #from DPGAnalysis.Skims.jetSkim_cff import *
145 #from DPGAnalysis.Skims.METSkim_cff import *
146 #from DPGAnalysis.Skims.singlePfTauSkim_cff import *
147 
148 #singleMuPt5SkimPath=cms.Path(singleMuPt5RecoQualitySeq)
149 #singleElectronPt5SkimPath=cms.Path(singleElectronPt5RecoQualitySeq)
150 #singlePhotonPt5SkimPath=cms.Path(singlePhotonPt5QualitySeq)
151 #muonJPsiMMSkimPath=cms.Path(muonJPsiMMRecoQualitySeq)
152 #jetSkimPath=cms.Path(jetRecoQualitySeq)
153 #singlePfTauPt15SkimPath=cms.Path(singlePfTauPt15QualitySeq)
154 #SKIMStreamTPG = cms.FilteredStream(
155 # responsible = 'TPG',
156 # name = 'TPG',
157 # paths = (singleMuPt5SkimPath,singleElectronPt5SkimPath,singlePhotonPt5SkimPath,muonJPsiMMSkimPath,jetSkimPath,singlePfTauPt15SkimPath),
158 # content = skimContent.outputCommands,
159 # selectEvents = cms.untracked.PSet(),
160 # dataTier = cms.untracked.string('USER')
161 # )
162 
163 #####################
164 
165 #from DPGAnalysis.Skims.ecalrechitsSkim_cff import *
166 #ecalrechitSkimPath = cms.Path(ecalrechitSkim)
167 #SKIMStreamEcalRH = cms.FilteredStream(
168 # responsible = 'Ecal DPG',
169 # name = 'EcalRH',
170 # paths = (ecalrechitSkimPath),
171 # content = skimContent.outputCommands,
172 # selectEvents = cms.untracked.PSet(),
173 # dataTier = cms.untracked.string('RAW-RECO')
174 # )
175 
176 #####################
177 
178 #from DPGAnalysis.Skims.goodvertexSkim_cff import *
179 #goodvertexSkimPath = cms.Path(goodvertexSkim)
180 #SKIMStreamGoodVtx = cms.FilteredStream(
181 # responsible = 'Tracking POG',
182 # name = 'GoodVtx',
183 # paths = (goodvertexSkimPath),
184 # content = skimContent.outputCommands,
185 # selectEvents = cms.untracked.PSet(),
186 # dataTier = cms.untracked.string('RAW-RECO')
187 # )
188 
189 #############
190 
191 #from DPGAnalysis.Skims.goodcollSkim_cff import *
192 #pathgoodcoll1 = cms.Path(goodcollL1requirement)
193 #pathgoodcolhf = cms.Path(goodcollHFrequirement)
194 
195 #SKIMStreamGoodCol = cms.FilteredStream(
196 # responsible = 'PVT',
197 # name = 'GoodCol',
198 # paths = (goodvertexSkimPath,pathgoodcoll1,pathgoodcolhf),
199 # content = skimContent.outputCommands,
200 # selectEvents = cms.untracked.PSet(),
201 # dataTier = cms.untracked.string('RAW-RECO')
202 # )
203 
204 #####################
205 
206 #from DPGAnalysis.Skims.muonTracksSkim_cff import *
207 #muonTracksSkimPath = cms.Path(muonTracksSkim)
208 #SKIMStreamMuonTrack = cms.FilteredStream(
209 # responsible = 'Muon POG',
210 # name = 'MuonTrack',
211 # paths = (muonTracksSkimPath),
212 # content = skimContent.outputCommands,
213 # selectEvents = cms.untracked.PSet(),
214 # dataTier = cms.untracked.string('RAW-RECO')
215 # )
216 
217 #####################
218 
219 #SKIMStreamMuonDPG = cms.FilteredStream(
220 # responsible = 'Muon DPG',
221 # name = 'MuonDPG',
222 # paths = (muonTracksSkimPath,pathdtSkim,pathHLTdtSkim,pathCSCHLTSkim,pathCSCAloneSkim,pathrpcTecSkim,),
223 # content = skimContent.outputCommands,
224 # selectEvents = cms.untracked.PSet(),
225 # dataTier = cms.untracked.string('RAW-RECO')
226 # )
227 
228 #####################
229 
230 #from DPGAnalysis.Skims.valSkim_cff import *
231 #relvaltrackSkimPath = cms.Path( relvaltrackSkim )
232 #relvalmuonSkimPath = cms.Path( relvalmuonSkim )
233 #SKIMStreamValSkim = cms.FilteredStream(
234 # responsible = 'RECO',
235 # name = 'ValSkim',
236 # paths = (relvaltrackSkimPath,relvalmuonSkimPath),
237 # content = skimContent.outputCommands,
238 # selectEvents = cms.untracked.PSet(),
239 # dataTier = cms.untracked.string('RAW-RECO')
240 # )
241 
242 #####################
243 
244 #from DPGAnalysis.Skims.WZEGSkim_cff import *
245 #WZEGSkimPath = cms.Path ( WZfilterSkim )
246 #SKIMStreamWZEG = cms.FilteredStream(
247 # responsible = 'ECAL DPG & EGM POG',
248 # name = 'WZEG',
249 # paths = ( WZEGSkimPath ),
250 # content = skimContent.outputCommands,
251 # selectEvents = cms.untracked.PSet(),
252 # dataTier = cms.untracked.string('RAW-RECO')
253 # )
254 
255 
256 #####################
257 
258 
259 from DPGAnalysis.Skims.WMuSkim_cff import *
260 WMuPath = cms.Path( pfMetWMuNuSeq )
261 SKIMStreamWMu = cms.FilteredStream(
262  responsible = 'DDT Test',
263  name = 'WMu',
264  paths = ( WMuPath ),
265  content = skimContent.outputCommands,
266  selectEvents = cms.untracked.PSet(),
267  dataTier = cms.untracked.string('RAW-RECO')
268  )
269 
270 
272 WElectronPath = cms.Path( elecMetSeq )
273 SKIMStreamWElectron = cms.FilteredStream(
274  responsible = 'Egamma POG',
275  name = 'WElectron',
276  paths = ( WElectronPath ),
277  content = skimContent.outputCommands,
278  selectEvents = cms.untracked.PSet(),
279  dataTier = cms.untracked.string('RAW-RECO')
280  )
281 
282 
283 
284 
285 from DPGAnalysis.Skims.ZMuSkim_cff import *
286 from DPGAnalysis.Skims.ZmmgSkim_cff import *
287 
288 ZMuSkimPath = cms.Path(diMuonSelSeq)
289 ZmmgSkimPath = cms.Path(ZmmgSkimSeq)
290 WtcMetSkimPath = cms.Path(tcMetWMuNuSeq)
291 WpfMetSkimPath = cms.Path(pfMetWMuNuSeq)
292 #SKIMStreamWZMu = cms.FilteredStream(
293 # responsible = 'Muon DPG-POG-MuEW',
294 # name = 'WZMu',
295 # paths = (ZMuSkimPath, WtcMetSkimPath, WpfMetSkimPath),
296 # content = skimContent.outputCommands,
297 # selectEvents = cms.untracked.PSet(),
298 # dataTier = cms.untracked.string('RAW-RECO')
299 # )
300 SKIMStreamZMu = cms.FilteredStream(
301  responsible = 'Muon DPG-POG-MuEW',
302  name = 'ZMu',
303  paths = (ZMuSkimPath),
304  content = skimContent.outputCommands,
305  selectEvents = cms.untracked.PSet(),
306  dataTier = cms.untracked.string('RAW-RECO')
307  )
308 SKIMStreamZmmg = cms.FilteredStream(
309  responsible = 'ECAL DPG',
310  name = 'Zmmg',
311  paths = (ZmmgSkimPath),
312  content = skimContent.outputCommands,
313  selectEvents = cms.untracked.PSet(),
314  dataTier = cms.untracked.string('RAW-RECO')
315  )
316 #SKIMStreamWMu = cms.FilteredStream(
317 # responsible = 'Muon DPG-POG-MuEW',
318 # name = 'WMu',
319 # paths = (WtcMetSkimPath, WpfMetSkimPath),
320 # content = skimContent.outputCommands,
321 # selectEvents = cms.untracked.PSet(),
322 # dataTier = cms.untracked.string('RAW-RECO')
323 # )
324 
325 #####################
326 
327 #from DPGAnalysis.Skims.TkSDSkim_cff import *
328 #TkSDSkimPath = cms.Path (TkSD_Seq)
329 #SKIMStreamTkSD = cms.FilteredStream(
330 # responsible = 'Tracker DPG & Tracking POG',
331 # name = 'TkSD',
332 # paths = ( TkSDSkimPath ),
333 # content = skimContent.outputCommands,
334 # selectEvents = cms.untracked.PSet(),
335 # dataTier = cms.untracked.string('RAW-RECO')
336 # )
337 
338 #####################
339 
341 WElectronPath = cms.Path( elecMetSeq )
342 SKIMStreamWElectron = cms.FilteredStream(
343  responsible = 'ECAL DPG',
344  name = 'WElectron',
345  paths = ( WElectronPath ),
346  content = WElectronSkimContent.outputCommands,
347  selectEvents = cms.untracked.PSet(),
348  dataTier = cms.untracked.string('USER')
349  )
350 
351 #####################
352 
354 #ZElectronPathPhoton = cms.Path( tagPhotonSeq )
355 #ZElectronPathTrack = cms.Path( tagTrackSeq )
356 ZElectronPathGsf = cms.Path( tagGsfSeq )
357 SKIMStreamZElectron = cms.FilteredStream(
358  responsible = 'ECAL DPG',
359  name = 'ZElectron',
360  paths = ( ZElectronPathGsf ),
361  content = skimContent.outputCommands,
362  selectEvents = cms.untracked.PSet(),
363  dataTier = cms.untracked.string('RAW-RECO')
364  )
365 
366 
367 #####################
368 
370 pfPath = cms.Path(pfMETSelSeq)
371 #tcPath = cms.Path(tcMETSelSeq)
372 SKIMStreamHighMET = cms.FilteredStream(
373  responsible = 'MET Group',
374  name = 'HighMET',
375  paths = (pfPath),
376  content = skimContent.outputCommands,
377  selectEvents = cms.untracked.PSet(),
378  dataTier = cms.untracked.string('RAW-RECO')
379  )
380 
381 #####################
382 
383 
384 #####################
385 
386 from DPGAnalysis.Skims.ZHbbSkim_cff import *
387 ZHbbSkimPath = cms.Path(ZHbbSkim)
388 SKIMStreamZHbb = cms.FilteredStream(
389  responsible = 'BTV',
390  name = 'ZHbb',
391  paths = (ZHbbSkimPath),
392  content = skimContent.outputCommands,
393  selectEvents = cms.untracked.PSet(),
394  dataTier = cms.untracked.string('RAW-RECO')
395  )
396 
397 
from DPGAnalysis.Skims.BeamBkgSkim_cff import * pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq) ...