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