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 from DPGAnalysis.Skims.WMuSkim_cff import *
259 from DPGAnalysis.Skims.ZMuSkim_cff import *
260 from DPGAnalysis.Skims.ZmmgSkim_cff import *
261 
262 ZMuSkimPath = cms.Path(diMuonSelSeq)
263 ZmmgSkimPath = cms.Path(ZmmgSkimSeq)
264 WtcMetSkimPath = cms.Path(tcMetWMuNuSeq)
265 WpfMetSkimPath = cms.Path(pfMetWMuNuSeq)
266 #SKIMStreamWZMu = cms.FilteredStream(
267 # responsible = 'Muon DPG-POG-MuEW',
268 # name = 'WZMu',
269 # paths = (ZMuSkimPath, WtcMetSkimPath, WpfMetSkimPath),
270 # content = skimContent.outputCommands,
271 # selectEvents = cms.untracked.PSet(),
272 # dataTier = cms.untracked.string('RAW-RECO')
273 # )
274 SKIMStreamZMu = cms.FilteredStream(
275  responsible = 'Muon DPG-POG-MuEW',
276  name = 'ZMu',
277  paths = (ZMuSkimPath),
278  content = skimContent.outputCommands,
279  selectEvents = cms.untracked.PSet(),
280  dataTier = cms.untracked.string('RAW-RECO')
281  )
282 SKIMStreamZmmg = cms.FilteredStream(
283  responsible = 'ECAL DPG',
284  name = 'Zmmg',
285  paths = (ZmmgSkimPath),
286  content = skimContent.outputCommands,
287  selectEvents = cms.untracked.PSet(),
288  dataTier = cms.untracked.string('RAW-RECO')
289  )
290 #SKIMStreamWMu = cms.FilteredStream(
291 # responsible = 'Muon DPG-POG-MuEW',
292 # name = 'WMu',
293 # paths = (WtcMetSkimPath, WpfMetSkimPath),
294 # content = skimContent.outputCommands,
295 # selectEvents = cms.untracked.PSet(),
296 # dataTier = cms.untracked.string('RAW-RECO')
297 # )
298 
299 #####################
300 
301 #from DPGAnalysis.Skims.TkSDSkim_cff import *
302 #TkSDSkimPath = cms.Path (TkSD_Seq)
303 #SKIMStreamTkSD = cms.FilteredStream(
304 # responsible = 'Tracker DPG & Tracking POG',
305 # name = 'TkSD',
306 # paths = ( TkSDSkimPath ),
307 # content = skimContent.outputCommands,
308 # selectEvents = cms.untracked.PSet(),
309 # dataTier = cms.untracked.string('RAW-RECO')
310 # )
311 
312 #####################
313 
315 WElectronPath = cms.Path( elecMetSeq )
316 SKIMStreamWElectron = cms.FilteredStream(
317  responsible = 'ECAL DPG',
318  name = 'WElectron',
319  paths = ( WElectronPath ),
320  content = WElectronSkimContent.outputCommands,
321  selectEvents = cms.untracked.PSet(),
322  dataTier = cms.untracked.string('USER')
323  )
324 
325 #####################
326 
328 #ZElectronPathPhoton = cms.Path( tagPhotonSeq )
329 #ZElectronPathTrack = cms.Path( tagTrackSeq )
330 ZElectronPathGsf = cms.Path( tagGsfSeq )
331 SKIMStreamZElectron = cms.FilteredStream(
332  responsible = 'ECAL DPG',
333  name = 'ZElectron',
334  paths = ( ZElectronPathGsf ),
335  content = skimContent.outputCommands,
336  selectEvents = cms.untracked.PSet(),
337  dataTier = cms.untracked.string('RAW-RECO')
338  )
339 
340 
341 #####################
342 
344 pfPath = cms.Path(pfMETSelSeq)
345 tcPath = cms.Path(tcMETSelSeq)
346 SKIMStreamHighMET = cms.FilteredStream(
347  responsible = 'MET Group',
348  name = 'HighMET',
349  paths = (pfPath,tcPath),
350  content = skimContent.outputCommands,
351  selectEvents = cms.untracked.PSet(),
352  dataTier = cms.untracked.string('RAW-RECO')
353  )
354 
355 #####################
356 
357 
358 #####################
359 
360 from DPGAnalysis.Skims.ZHbbSkim_cff import *
361 ZHbbSkimPath = cms.Path(ZHbbSkim)
362 SKIMStreamZHbb = cms.FilteredStream(
363  responsible = 'BTV',
364  name = 'ZHbb',
365  paths = (ZHbbSkimPath),
366  content = skimContent.outputCommands,
367  selectEvents = cms.untracked.PSet(),
368  dataTier = cms.untracked.string('RAW-RECO')
369  )
370 
371 #####################
372 
373 from DPGAnalysis.Skims.HighLumiFilter_cfi import highLumiFilter
374 HighLumiSkimPath = cms.Path(highLumiFilter)
375 SKIMStreamHighLumi = cms.FilteredStream(
376  responsible = 'Tracking POG',
377  name = 'HighLumi',
378  paths = (HighLumiSkimPath),
379  content = skimContent.outputCommands,
380  selectEvents = cms.untracked.PSet(),
381  dataTier = cms.untracked.string('RAW-RECO')
382  )
383 
384 
from DPGAnalysis.Skims.BeamBkgSkim_cff import * pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq) ...