CMS 3D CMS Logo

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