CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Skims_PDWG_cff.py
Go to the documentation of this file.
2 
3 from DPGAnalysis.Skims.Skims_DPG_cff import skimContent
4 
5 
6 from Configuration.EventContent.EventContent_cff import RECOEventContent
7 skimRecoContent = RECOEventContent.clone()
8 skimRecoContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
9 skimRecoContent.outputCommands.append("drop *_*_*_SKIM")
10 
11 
12 #####################
13 
14 
16 upsilonHLTPath = cms.Path(upsilonHLT)
17 SKIMStreamChiB = cms.FilteredStream(
18  responsible = 'BPH',
19  name = 'ChiB',
20  paths = (upsilonHLTPath),
21  content = skimRecoContent.outputCommands,
22  selectEvents = cms.untracked.PSet(),
23  dataTier = cms.untracked.string('RECO')
24  )
25 
26 
27 #####################
28 
29 
31 EXODisplacedPhotonPath = cms.Path(EXODisplacedPhoton)
32 SKIMStreamEXODisplacedPhoton = cms.FilteredStream(
33  responsible = 'EXO',
34  name = 'EXODisplacedPhoton',
35  paths = (EXODisplacedPhotonPath),
36  content = skimRecoContent.outputCommands,
37  selectEvents = cms.untracked.PSet(),
38  dataTier = cms.untracked.string('RECO')
39  )
40 
41 #####################
42 
44 tauSkimBy1Path = cms.Path( tauSkim1Sequence )
45 tauSkimBy2Path = cms.Path( tauSkim2Sequence )
46 mutauSkimPath = cms.Path( mutauSkimSequence )
47 mutauMETSkimPath = cms.Path( mutauMETSkimSequence )
48 #SKIMStreamTau = cms.FilteredStream(
49 # responsible = 'PDWG',
50 # name = 'Tau',
51 # paths = (tauSkimBy1Path),
52 # content = skimContent.outputCommands,
53 # selectEvents = cms.untracked.PSet(),
54 # dataTier = cms.untracked.string('RAW-RECO')
55 # )
56 SKIMStreamDiTau = cms.FilteredStream(
57  responsible = 'Tau POG',
58  name = 'DiTau',
59  paths = (tauSkimBy2Path),
60  content = skimContent.outputCommands,
61  selectEvents = cms.untracked.PSet(),
62  dataTier = cms.untracked.string('RAW-RECO')
63  )
64 SKIMStreamMuTau = cms.FilteredStream(
65  responsible = 'Tau POG',
66  name = 'MuTau',
67  paths = (mutauSkimPath),
68  content = skimContent.outputCommands,
69  selectEvents = cms.untracked.PSet(),
70  dataTier = cms.untracked.string('RAW-RECO')
71  )
72 SKIMStreamMuTauMET = cms.FilteredStream(
73  responsible = 'Tau POG',
74  name = 'MuTauMET',
75  paths = (mutauMETSkimPath),
76  content = skimContent.outputCommands,
77  selectEvents = cms.untracked.PSet(),
78  dataTier = cms.untracked.string('RAW-RECO')
79  )
80 
81 
82 
83 from Configuration.EventContent.EventContent_cff import AODEventContent
84 skimAodContent = AODEventContent.clone()
85 skimAodContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
86 skimAodContent.outputCommands.append("drop *_*_*_SKIM")
87 
88 #####################
89 
91 EXOHSCPPath = cms.Path(exoticaHSCPSeq)
92 EXOHSCPDEDXPath = cms.Path(exoticaHSCPdEdxSeq)
93 SKIMStreamEXOHSCP = cms.FilteredStream(
94  responsible = 'EXO',
95  name = 'EXOHSCP',
96  paths = (EXOHSCPPath,EXOHSCPDEDXPath),
97  content = EXOHSCPSkim_EventContent.outputCommands,
98  selectEvents = cms.untracked.PSet(),
99  dataTier = cms.untracked.string('USER')
100  )
101 
102 
103 #####################
104 
105 
107 TOPElePlusJetsPath = cms.Path(TOPElePlusJets)
108 SKIMStreamTOPElePlusJets = cms.FilteredStream(
109  responsible = 'TOP',
110  name = 'TOPElePlusJets',
111  paths = (TOPElePlusJetsPath),
112  content = skimAodContent.outputCommands,
113  selectEvents = cms.untracked.PSet(),
114  dataTier = cms.untracked.string('AOD')
115  )
116 
117 #####################
118 
119 
121 TOPMuPlusJetsPath = cms.Path(TOPMuPlusJets)
122 SKIMStreamTOPMuPlusJets = cms.FilteredStream(
123  responsible = 'TOP',
124  name = 'TOPMuPlusJets',
125  paths = (TOPMuPlusJetsPath),
126  content = skimAodContent.outputCommands,
127  selectEvents = cms.untracked.PSet(),
128  dataTier = cms.untracked.string('AOD')
129  )
130 
131 #####################
132 
133 
135 SKIMStreamHZZ = cms.FilteredStream(
136  responsible = 'PDWG',
137  name = 'HZZ',
138  paths = HZZPaths,
139  content = skimAodContent.outputCommands,
140  selectEvents = cms.untracked.PSet(),
141  dataTier = cms.untracked.string('AOD')
142  )
143 
144 #####################
145 
146 # file name "PDWG_HLTZEROBIASSIG_SD" inherited from 2011 - it's actually a filter on HLT_Physics bit
148 HLTZEROBIASSIGSDPath = cms.Path(HLTZEROBIASSIGSD)
149 SKIMStreamHLTPhysics = cms.FilteredStream(
150  responsible = 'TSG',
151  name = 'HLTPhysics',
152  paths = (HLTZEROBIASSIGSDPath),
153  content = skimContent.outputCommands,
154  selectEvents = cms.untracked.PSet(),
155  dataTier = cms.untracked.string('RAW-RECO')
156  )
157 
158 #####################
159 
161 EXOMonoPhotonPath = cms.Path(monophotonSkimSequence)
162 SKIMStreamEXOMonoPhoton = cms.FilteredStream(
163  responsible = 'EXO',
164  name = 'EXOMonoPhoton',
165  paths = (EXOMonoPhotonPath),
166  content = skimContent.outputCommands,
167  selectEvents = cms.untracked.PSet(),
168  dataTier = cms.untracked.string('RAW-RECO')
169  )
170 
171 
172 #####################
173 # Jan 15th 2013 - The skims defined below should be used only for
174 # pPb run (2013).
175 # This pPb run uses the standard pp scenario, and for this reason the
176 # skims where included in this area
177 #####################
178 
179 
180 ## for the Dilepton group #########################
181 
182 ## PsiMuMu
183 
185 psiPath = cms.Path( psiCandidateSequence )
186 SKIMStreamPsiMuMuPA = cms.FilteredStream(
187  responsible = 'HIN PAG',
188  name = 'PsiMuMuPA',
189  paths = (psiPath),
190  content = skimRecoContent.outputCommands,
191  selectEvents = cms.untracked.PSet(),
192  dataTier = cms.untracked.string('RECO')
193  )
194 
195 ## UpsMuMu
197 upsPath = cms.Path( upsCandidateSequence )
198 SKIMStreamUpsMuMuPA = cms.FilteredStream(
199  responsible = 'HIN PAG',
200  name = 'UpsMuMuPA',
201  paths = (upsPath),
202  content = skimRecoContent.outputCommands,
203  selectEvents = cms.untracked.PSet(),
204  dataTier = cms.untracked.string('RECO')
205  )
206 
207 ## ZMuMu
209 ZPath = cms.Path( ZCandidateSequence )
210 SKIMStreamZMuMuPA = cms.FilteredStream(
211  responsible = 'HIN PAG',
212  name = 'ZMuMuPA',
213  paths = (ZPath),
214  content = skimRecoContent.outputCommands,
215  selectEvents = cms.untracked.PSet(),
216  dataTier = cms.untracked.string('RECO')
217  )
218 
219 ## for the Flow/correlation group #########################
220 
222 FlowCorrPath = cms.Path( flowCorrCandidateSequence )
223 SKIMStreamFlowCorrPA = cms.FilteredStream(
224  responsible = 'HIN PAG',
225  name = 'FlowCorrPA',
226  paths = (FlowCorrPath),
227  content = skimRecoContent.outputCommands,
228  selectEvents = cms.untracked.PSet(),
229  dataTier = cms.untracked.string('RECO')
230  )
231 
232 ## for the High Pt group #########################
233 
235 HighPtPath = cms.Path( HighPtCandidateSequence )
236 SKIMStreamHighPtPA = cms.FilteredStream(
237  responsible = 'HIN PAG',
238  name = 'HighPtPA',
239  paths = (HighPtPath),
240  content = skimRecoContent.outputCommands,
241  selectEvents = cms.untracked.PSet(),
242  dataTier = cms.untracked.string('RECO')
243  )
244 
245 
246 """
247 #####################
248 # For the Data on Data Mixing in TSG
249 from HLTrigger.Configuration.HLT_FULL_cff import hltGtDigis
250 hltGtDigisPath=cms.Path(hltGtDigis)
251 
252 # The events to be used as PileUp
253 from Configuration.Skimming.PDWG_HLTZEROBIASPU_SD_cff import *
254 HLTZEROBIASPUSDPath = cms.Path(HLTZEROBIASPUSD)
255 SKIMStreamHLTZEROBIASPUSD = cms.FilteredStream(
256  responsible = 'PDWG',
257  name = 'HLTZEROBIASPUSD',
258  paths = (HLTZEROBIASPUSDPath),
259  content = skimRecoContent.outputCommands,
260  selectEvents = cms.untracked.PSet(),
261  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
262  )
263 
264 ####################
265 """
266 
267 #####################
268 
269 #from Configuration.Skimming.PDWG_HSCP_SD_cff import *
270 #HSCPSDPath = cms.Path(HSCPSD)
271 #SKIMStreamHSCPSD = cms.FilteredStream(
272 # responsible = 'PDWG',
273 # name = 'HSCPSD',
274 # paths = (HSCPSDPath),
275 # content = skimRecoContent.outputCommands,
276 # selectEvents = cms.untracked.PSet(),
277 # dataTier = cms.untracked.string('RECO')
278 # )
279 
280 #####################
281 
282 #from Configuration.Skimming.PDWG_DiJetAODSkim_cff import *
283 #diJetAveSkimPath = cms.Path(DiJetAveSkim_Trigger)
284 #SKIMStreamDiJet = cms.FilteredStream(
285 # responsible = 'PDWG',
286 # name = 'DiJet',
287 # paths = (diJetAveSkimPath),
288 # content = DiJetAveSkim_EventContent.outputCommands,
289 # selectEvents = cms.untracked.PSet(),
290 # dataTier = cms.untracked.string('USER')
291 # )
292 
293 #####################
294 
295 #from Configuration.Skimming.PDWG_DiPhoton_SD_cff import *
296 #CaloIdIsoPhotonPairsPath = cms.Path(CaloIdIsoPhotonPairsFilter)
297 #R9IdPhotonPairsPath = cms.Path(R9IdPhotonPairsFilter)
298 #MixedCaloR9IdPhotonPairsPath = cms.Path(MixedCaloR9IdPhotonPairsFilter)
299 #MixedR9CaloIdPhotonPairsPath = cms.Path(MixedR9CaloIdPhotonPairsFilter)
300 #
301 #SKIMStreamDiPhoton = cms.FilteredStream(
302 # responsible = 'PDWG',
303 # name = 'DiPhoton',
304 # paths = (CaloIdIsoPhotonPairsPath,R9IdPhotonPairsPath,MixedCaloR9IdPhotonPairsPath,MixedR9CaloIdPhotonPairsPath),
305 # content = skimContent.outputCommands,
306 # selectEvents = cms.untracked.PSet(),
307 # dataTier = cms.untracked.string('RAW-RECO')
308 # )
309 
310 #####################
311 
312 #from Configuration.Skimming.PDWG_HWWSkim_cff import *
313 #HWWmmPath = cms.Path(diMuonSequence)
314 #HWWeePath = cms.Path(diElectronSequence)
315 #HWWemPath = cms.Path(EleMuSequence)
316 #SKIMStreamHWW = cms.FilteredStream(
317 # responsible = 'PDWG',
318 # name = 'HWW',
319 # paths = (HWWmmPath,HWWeePath,HWWemPath),
320 # content = skimAodContent.outputCommands,
321 # selectEvents = cms.untracked.PSet(),
322 # dataTier = cms.untracked.string('AOD')
323 # )
324 
325 #####################
326 
327 #from Configuration.Skimming.PDWG_EXOHPTE_cff import *
328 #exoHPTEPath = cms.Path(exoDiHPTESequence)
329 #SKIMStreamEXOHPTE = cms.FilteredStream(
330 # responsible = 'PDWG',
331 # name = 'EXOHPTE',
332 # paths = (exoHPTEPath),
333 # content = skimAodContent.outputCommands,
334 # selectEvents = cms.untracked.PSet(),
335 # dataTier = cms.untracked.string('AOD')
336 # )
337 
338 #####################
339 
340 #from Configuration.Skimming.PDWG_DoublePhotonSkim_cff import *
341 #diphotonSkimPath = cms.Path(diphotonSkimSequence)
342 #SKIMStreamDoublePhoton = cms.FilteredStream(
343 # responsible = 'PDWG',
344 # name = 'DoublePhoton',
345 # paths = (diphotonSkimPath),
346 # content = skimAodContent.outputCommands,
347 # selectEvents = cms.untracked.PSet(),
348 # dataTier = cms.untracked.string('AOD')
349 # )
350 
351 
352 """
353 from SUSYBSMAnalysis.Skimming.EXOLLResSkim_cff import *
354 exoLLResmmPath = cms.Path(exoLLResdiMuonSequence)
355 exoLLReseePath = cms.Path(exoLLResdiElectronSequence)
356 exoLLResemPath = cms.Path(exoLLResEleMuSequence)
357 SKIMStreamEXOLLRes = cms.FilteredStream(
358  responsible = 'EXO',
359  name = 'EXOLLRes',
360  paths = (exoLLResmmPath,exoLLReseePath,exoLLResemPath),
361  content = skimAodContent.outputCommands,
362  selectEvents = cms.untracked.PSet(),
363  dataTier = cms.untracked.string('AOD')
364  )
365 
366 from SUSYBSMAnalysis.Skimming.EXOEle_cff import *
367 exoElePath = cms.Path(exoEleLowetSeqReco)
368 SKIMStreamEXOEle = cms.FilteredStream(
369  responsible = 'EXO',
370  name = 'EXOEle',
371  paths = (exoElePath),
372  content = skimAodContent.outputCommands,
373  selectEvents = cms.untracked.PSet(),
374  dataTier = cms.untracked.string('AOD')
375  )
376 
377 from SUSYBSMAnalysis.Skimming.EXOMu_cff import *
378 exoMuPath = cms.Path(exoMuSequence)
379 SKIMStreamEXOMu = cms.FilteredStream(
380  responsible = 'EXO',
381  name = "EXOMu",
382  paths = (exoMuPath),
383  content = skimAodContent.outputCommands,
384  selectEvents = cms.untracked.PSet(),
385  dataTier = cms.untracked.string('AOD')
386  )
387 
388 from SUSYBSMAnalysis.Skimming.EXOTriLepton_cff import *
389 exoTriMuPath = cms.Path(exoTriMuonSequence)
390 SKIMStreamEXOTriMu = cms.FilteredStream(
391  responsible = 'EXO',
392  name = 'EXOTriMu',
393  paths = (exoTriMuPath),
394  content = skimAodContent.outputCommands,
395  selectEvents = cms.untracked.PSet(),
396  dataTier = cms.untracked.string('AOD')
397  )
398 exoTriElePath = cms.Path(exoTriElectronSequence)
399 SKIMStreamEXOTriEle = cms.FilteredStream(
400  responsible = 'EXO',
401  name = 'EXOTriEle',
402  paths = (exoTriElePath),
403  content = skimAodContent.outputCommands,
404  selectEvents = cms.untracked.PSet(),
405  dataTier = cms.untracked.string('AOD')
406  )
407 exo1E2MuPath = cms.Path(exo1E2MuSequence)
408 SKIMStreamEXO1E2Mu = cms.FilteredStream(
409  responsible = 'EXO',
410  name = 'EXO1E2Mu',
411  paths = (exo1E2MuPath),
412  content = skimAodContent.outputCommands,
413  selectEvents = cms.untracked.PSet(),
414  dataTier = cms.untracked.string('AOD')
415  )
416 
417 from SUSYBSMAnalysis.Skimming.EXODiLepton_cff import *
418 exoDiMuPath = cms.Path(exoDiMuSequence)
419 exoDiElePath = cms.Path(exoDiMuSequence)
420 exoEMuPath = cms.Path(exoEMuSequence)
421 SKIMStreamEXODiMu = cms.FilteredStream(
422  responsible = 'EXO',
423  name = 'EXODiMu',
424  paths = (exoDiMuPath),
425  content = skimAodContent.outputCommands,
426  selectEvents = cms.untracked.PSet(),
427  dataTier = cms.untracked.string('AOD')
428  )
429 SKIMStreamEXODiEle = cms.FilteredStream(
430  responsible = 'EXO',
431  name = 'EXODiEle',
432  paths = (exoDiElePath),
433  content = skimAodContent.outputCommands,
434  selectEvents = cms.untracked.PSet(),
435  dataTier = cms.untracked.string('AOD')
436  )
437 SKIMStreamEXOEMu = cms.FilteredStream(
438  responsible = 'EXO',
439  name = 'EXOEMu',
440  paths = (exoEMuPath),
441  content = skimAodContent.outputCommands,
442  selectEvents = cms.untracked.PSet(),
443  dataTier = cms.untracked.string('AOD')
444  )
445 """
for the Flow/correlation group #########################
for the High Pt group #########################
DPG skims ###.
Jan 15th 2013 - The skims defined below should be used only for pPb run (2013).