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 
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 
285 TopMuEGPath = cms.Path( TopMuEGsequence )
286 SKIMStreamTopMuEG = cms.FilteredStream(
287  responsible = 'BTV',
288  name = 'TopMuEG',
289  paths = ( TopMuEGPath ),
290  content = skimContent.outputCommands,
291  selectEvents = cms.untracked.PSet(),
292  dataTier = cms.untracked.string('RAW-RECO')
293  )
294 
295 
296 
297 from DPGAnalysis.Skims.ZMuSkim_cff import *
298 from DPGAnalysis.Skims.ZmmgSkim_cff import *
299 
300 ZMuSkimPath = cms.Path(diMuonSelSeq)
301 ZmmgSkimPath = cms.Path(ZmmgSkimSeq)
302 WtcMetSkimPath = cms.Path(tcMetWMuNuSeq)
303 WpfMetSkimPath = cms.Path(pfMetWMuNuSeq)
304 #SKIMStreamWZMu = cms.FilteredStream(
305 # responsible = 'Muon DPG-POG-MuEW',
306 # name = 'WZMu',
307 # paths = (ZMuSkimPath, WtcMetSkimPath, WpfMetSkimPath),
308 # content = skimContent.outputCommands,
309 # selectEvents = cms.untracked.PSet(),
310 # dataTier = cms.untracked.string('RAW-RECO')
311 # )
312 SKIMStreamZMu = cms.FilteredStream(
313  responsible = 'Muon DPG-POG-MuEW',
314  name = 'ZMu',
315  paths = (ZMuSkimPath),
316  content = skimContent.outputCommands,
317  selectEvents = cms.untracked.PSet(),
318  dataTier = cms.untracked.string('RAW-RECO')
319  )
320 SKIMStreamZmmg = cms.FilteredStream(
321  responsible = 'ECAL DPG',
322  name = 'Zmmg',
323  paths = (ZmmgSkimPath),
324  content = skimContent.outputCommands,
325  selectEvents = cms.untracked.PSet(),
326  dataTier = cms.untracked.string('RAW-RECO')
327  )
328 #SKIMStreamWMu = cms.FilteredStream(
329 # responsible = 'Muon DPG-POG-MuEW',
330 # name = 'WMu',
331 # paths = (WtcMetSkimPath, WpfMetSkimPath),
332 # content = skimContent.outputCommands,
333 # selectEvents = cms.untracked.PSet(),
334 # dataTier = cms.untracked.string('RAW-RECO')
335 # )
336 
337 #####################
338 
339 #from DPGAnalysis.Skims.TkSDSkim_cff import *
340 #TkSDSkimPath = cms.Path (TkSD_Seq)
341 #SKIMStreamTkSD = cms.FilteredStream(
342 # responsible = 'Tracker DPG & Tracking POG',
343 # name = 'TkSD',
344 # paths = ( TkSDSkimPath ),
345 # content = skimContent.outputCommands,
346 # selectEvents = cms.untracked.PSet(),
347 # dataTier = cms.untracked.string('RAW-RECO')
348 # )
349 
350 #####################
351 
353 WElectronPath = cms.Path( elecMetSeq )
354 SKIMStreamWElectron = cms.FilteredStream(
355  responsible = 'ECAL DPG',
356  name = 'WElectron',
357  paths = ( WElectronPath ),
358  content = WElectronSkimContent.outputCommands,
359  selectEvents = cms.untracked.PSet(),
360  dataTier = cms.untracked.string('USER')
361  )
362 
363 #####################
364 
366 ZElectronPathGsf = cms.Path( zdiElectronSequence )
367 
368 SKIMStreamZElectron = cms.FilteredStream(
369  responsible = 'ECAL DPG',
370  name = 'ZElectron',
371  paths = ( ZElectronPathGsf ),
372  content = skimContent.outputCommands,
373  selectEvents = cms.untracked.PSet(),
374  dataTier = cms.untracked.string('RAW-RECO')
375  )
376 
377 #####################
378 
380 condPath = cms.Path(CondMETSelSeq)
381 #pfPath = cms.Path(pfMETSelSeq)
382 #caloPath = cms.Path(caloMETSelSeq)
383 #miniPath = cms.Path(miniMETSelSeq)
384 SKIMStreamHighMET = cms.FilteredStream(
385  responsible = 'MET Group',
386  name = 'HighMET',
387  paths = (condPath),
388 # paths = (pfPath),
389 # paths = (caloPath),
390 # paths = (miniPath),
391  content = skimContent.outputCommands,
392  selectEvents = cms.untracked.PSet(),
393  dataTier = cms.untracked.string('RAW-RECO')
394  )
395 
396 #####################
397 
398 ###### MuTau Skim #########
400 MuTauPath = cms.Path( mutauSkimSequence )
401 SKIMStreamMuTau = cms.FilteredStream(
402  responsible = 'Tau POG',
403  name = 'MuTau',
404  paths = ( MuTauPath ),
405  content = skimContent.outputCommands,
406  selectEvents = cms.untracked.PSet(),
407  dataTier = cms.untracked.string('RAW-RECO')
408  )
409 
410 ##########################
411 
412 
413 from DPGAnalysis.Skims.ZHbbSkim_cff import *
414 ZHbbSkimPath = cms.Path(ZHbbSkim)
415 SKIMStreamZHbb = cms.FilteredStream(
416  responsible = 'BTV',
417  name = 'ZHbb',
418  paths = (ZHbbSkimPath),
419  content = skimContent.outputCommands,
420  selectEvents = cms.untracked.PSet(),
421  dataTier = cms.untracked.string('RAW-RECO')
422  )
423 
424 
425 
426 
MuTau Skim #########.
from DPGAnalysis.Skims.BeamBkgSkim_cff import * pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq) ...