CMS 3D CMS Logo

Skims_PDWG_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DPGAnalysis.Skims.Skims_DPG_cff import skimContent
4 
5 from Configuration.EventContent.EventContent_cff import RECOEventContent
6 skimRecoContent = RECOEventContent.clone()
7 skimRecoContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
8 skimRecoContent.outputCommands.append("drop *_*_*_SKIM")
9 
10 from Configuration.EventContent.EventContent_cff import RAWEventContent
11 skimRawContent = RAWEventContent.clone()
12 skimRawContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
13 skimRawContent.outputCommands.append("drop *_*_*_SKIM")
14 
15 from Configuration.EventContent.EventContent_cff import RAWAODEventContent
16 skimRawAODContent = RAWAODEventContent.clone()
17 skimRawAODContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
18 skimRawAODContent.outputCommands.append("drop *_*_*_SKIM")
19 
20 
22 
23 # select events 1, 5, 9, ...
24 evtSplit_Prescaler_P1 = cms.EDFilter("Prescaler",
25  prescaleFactor = cms.int32(4),
26  prescaleOffset = cms.int32(1)
27 )
28 # select events 2, 6, 10, ...
29 evtSplit_Prescaler_P2 = cms.EDFilter("Prescaler",
30  prescaleFactor = cms.int32(4),
31  prescaleOffset = cms.int32(2)
32 )
33 # select events 3, 7, 11, ...
34 evtSplit_Prescaler_P3 = cms.EDFilter("Prescaler",
35  prescaleFactor = cms.int32(4),
36  prescaleOffset = cms.int32(3)
37 )
38 # select events 4, 8, 12, ...
39 evtSplit_Prescaler_P4 = cms.EDFilter("Prescaler",
40  prescaleFactor = cms.int32(4),
41  prescaleOffset = cms.int32(0)
42 )
43 
44 evtSplit_SkimPath_P1 = cms.Path(evtSplit_Prescaler_P1)
45 evtSplit_SkimPath_P2 = cms.Path(evtSplit_Prescaler_P2)
46 evtSplit_SkimPath_P3 = cms.Path(evtSplit_Prescaler_P3)
47 evtSplit_SkimPath_P4 = cms.Path(evtSplit_Prescaler_P4)
48 
49 SKIMStreamevtSplitSkimP1 = cms.FilteredStream(
50  responsible = 'PDWG',
51  name = 'evtSplitSkimP1',
52  paths = (evtSplit_SkimPath_P1),
53  content = skimRawContent.outputCommands,
54  selectEvents = cms.untracked.PSet(),
55  dataTier = cms.untracked.string('RAW')
56  )
57 SKIMStreamevtSplitSkimP2 = cms.FilteredStream(
58  responsible = 'PDWG',
59  name = 'evtSplitSkimP2',
60  paths = (evtSplit_SkimPath_P2),
61  content = skimRawContent.outputCommands,
62  selectEvents = cms.untracked.PSet(),
63  dataTier = cms.untracked.string('RAW')
64  )
65 SKIMStreamevtSplitSkimP3 = cms.FilteredStream(
66  responsible = 'PDWG',
67  name = 'evtSplitSkimP3',
68  paths = (evtSplit_SkimPath_P3),
69  content = skimRawContent.outputCommands,
70  selectEvents = cms.untracked.PSet(),
71  dataTier = cms.untracked.string('RAW')
72  )
73 SKIMStreamevtSplitSkimP4 = cms.FilteredStream(
74  responsible = 'PDWG',
75  name = 'evtSplitSkimP4',
76  paths = (evtSplit_SkimPath_P4),
77  content = skimRawContent.outputCommands,
78  selectEvents = cms.untracked.PSet(),
79  dataTier = cms.untracked.string('RAW')
80  )
81 
82 
83 
85 BPHSkimPath = cms.Path(BPHSkimSequence)
86 SKIMStreamBPHSkim = cms.FilteredStream(
87  responsible = 'PDWG',
88  name = 'BPHSkim',
89  paths = (BPHSkimPath),
90  content = BPHSkim_EventContent.outputCommands,
91  selectEvents = cms.untracked.PSet(),
92  dataTier = cms.untracked.string('USER')
93  )
94 
95 
96 
98 EXONoBPTXSkimPath = cms.Path()
99 SKIMStreamEXONoBPTXSkim = cms.FilteredStream(
100  responsible = 'PDWG',
101  name = 'EXONoBPTXSkim',
102  paths = (EXONoBPTXSkimPath),
103  content = EXONoBPTXSkim_EventContent.outputCommands,
104  selectEvents = cms.untracked.PSet(),
105  dataTier = cms.untracked.string('USER')
106  )
107 
108 
109 
111 diJetAveSkimPath = cms.Path(DiJetAveSkim_Trigger)
112 SKIMStreamDiJet = cms.FilteredStream(
113  responsible = 'PDWG',
114  name = 'DiJet',
115  paths = (diJetAveSkimPath),
116  content = DiJetAveSkim_EventContent.outputCommands,
117  selectEvents = cms.untracked.PSet(),
118  dataTier = cms.untracked.string('USER')
119  )
120 
121 
122 
124 tauSkimBy1Path = cms.Path( tauSkim1Sequence )
125 tauSkimBy2Path = cms.Path( tauSkim2Sequence )
126 SKIMStreamTau = cms.FilteredStream(
127  responsible = 'PDWG',
128  name = 'Tau',
129  paths = (tauSkimBy1Path),
130  content = skimContent.outputCommands,
131  selectEvents = cms.untracked.PSet(),
132  dataTier = cms.untracked.string('RAW-RECO')
133  )
134 SKIMStreamDiTau = cms.FilteredStream(
135  responsible = 'PDWG',
136  name = 'Tau',
137  paths = (tauSkimBy2Path),
138  content = skimContent.outputCommands,
139  selectEvents = cms.untracked.PSet(),
140  dataTier = cms.untracked.string('RAW-RECO')
141  )
142 
143 
144 
145 
147 HSCPSDPath = cms.Path(HSCPSD)
148 SKIMStreamHSCPSD = cms.FilteredStream(
149  responsible = 'PDWG',
150  name = 'HSCPSD',
151  paths = (HSCPSDPath),
152  content = skimRecoContent.outputCommands,
153  selectEvents = cms.untracked.PSet(),
154  dataTier = cms.untracked.string('RECO')
155  )
156 
157 
158 
160 CaloIdIsoPhotonPairsPath = cms.Path(CaloIdIsoPhotonPairsFilter)
161 R9IdPhotonPairsPath = cms.Path(R9IdPhotonPairsFilter)
162 MixedCaloR9IdPhotonPairsPath = cms.Path(MixedCaloR9IdPhotonPairsFilter)
163 MixedR9CaloIdPhotonPairsPath = cms.Path(MixedR9CaloIdPhotonPairsFilter)
164 
165 SKIMStreamDiPhoton = cms.FilteredStream(
166  responsible = 'PDWG',
167  name = 'DiPhoton',
168  paths = (CaloIdIsoPhotonPairsPath,R9IdPhotonPairsPath,MixedCaloR9IdPhotonPairsPath,MixedR9CaloIdPhotonPairsPath),
169  content = skimContent.outputCommands,
170  selectEvents = cms.untracked.PSet(),
171  dataTier = cms.untracked.string('RAW-RECO')
172  )
173 
174 
176 SkimBParkPath = cms.Path(SkimBPark)
177 SKIMStreamSkimBPark = cms.FilteredStream(
178  responsible = 'BPH PAG',
179  name = 'SkimBPark',
180  paths = ( SkimBParkPath ),
181  content = skimContent.outputCommands,
182  selectEvents = cms.untracked.PSet(),
183  dataTier = cms.untracked.string('RAW-RECO')
184 )
185 
186 from Configuration.EventContent.EventContent_cff import AODEventContent
187 skimAodContent = AODEventContent.clone()
188 skimAodContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
189 skimAodContent.outputCommands.append("drop *_*_*_SKIM")
190 
191 #from Configuration.Skimming.PDWG_DoublePhotonSkim_cff import *
192 #diphotonSkimPath = cms.Path(diphotonSkimSequence)
193 #SKIMStreamDoublePhoton = cms.FilteredStream(
194 # responsible = 'PDWG',
195 # name = 'DoublePhoton',
196 # paths = (diphotonSkimPath),
197 # content = skimAodContent.outputCommands,
198 # selectEvents = cms.untracked.PSet(),
199 # dataTier = cms.untracked.string('AOD')
200 # )
201 
203 EXOHSCPPath = cms.Path(exoticaHSCPSeq)
204 SKIMStreamEXOHSCP = cms.FilteredStream(
205  responsible = 'PDWG',
206  name = 'EXOHSCP',
207  paths = (EXOHSCPPath),
208  content = EXOHSCPSkim_EventContent.outputCommands,
209  selectEvents = cms.untracked.PSet(),
210  dataTier = cms.untracked.string('USER')
211  )
212 
214 HWWmmPath = cms.Path(diMuonSequence)
215 HWWeePath = cms.Path(diElectronSequence)
216 HWWemPath = cms.Path(EleMuSequence)
217 SKIMStreamHWW = cms.FilteredStream(
218  responsible = 'PDWG',
219  name = 'HWW',
220  paths = (HWWmmPath,HWWeePath,HWWemPath),
221  content = skimAodContent.outputCommands,
222  selectEvents = cms.untracked.PSet(),
223  dataTier = cms.untracked.string('AOD')
224  )
225 
226 
228 HZZmmPath = cms.Path(zzdiMuonSequence)
229 HZZeePath = cms.Path(zzdiElectronSequence)
230 HZZemPath = cms.Path(zzeleMuSequence)
231 SKIMStreamHZZ = cms.FilteredStream(
232  responsible = 'PDWG',
233  name = 'HZZ',
234  paths = (HZZmmPath,HZZeePath,HZZemPath),
235  content = skimAodContent.outputCommands,
236  selectEvents = cms.untracked.PSet(),
237  dataTier = cms.untracked.string('AOD')
238  )
239 
240 
242 exoHPTEPath = cms.Path(exoDiHPTESequence)
243 SKIMStreamEXOHPTE = cms.FilteredStream(
244  responsible = 'PDWG',
245  name = 'EXOHPTE',
246  paths = (exoHPTEPath),
247  content = skimAodContent.outputCommands,
248  selectEvents = cms.untracked.PSet(),
249  dataTier = cms.untracked.string('AOD')
250  )
251 
253 EXOMONOPOLEPath = cms.Path(EXOMonopoleSkimSequence)
254 SKIMStreamEXOMONOPOLE = cms.FilteredStream(
255  responsible = 'PDWG',
256  name = 'EXOMONOPOLE',
257  paths = (EXOMONOPOLEPath),
258  content = EXOMonopoleSkimContent.outputCommands,
259  selectEvents = cms.untracked.PSet(),
260  dataTier = cms.untracked.string('USER')
261  )
262 
264 EXODisplacedJetPath = cms.Path(EXODisplacedJetSkimSequence)
265 SKIMStreamEXODisplacedJet = cms.FilteredStream(
266  responsible = 'PDWG',
267  name = 'EXODisplacedJet',
268  paths = (EXODisplacedJetPath),
269  content = skimRawAODContent.outputCommands,
270  selectEvents = cms.untracked.PSet(),
271  dataTier = cms.untracked.string('USER')
272  )
273 
274 
276 from HLTrigger.Configuration.HLT_Fake1_cff import fragment as _fragment
277 if "hltGtDigis" in _fragment.__dict__:
278  hltGtDigis = _fragment.hltGtDigis.clone()
279  hltGtDigisPath = cms.Path(hltGtDigis)
280 else:
281  hltBoolEnd = _fragmet.hltBoolEnd.clone()
282  hltGtDigisPath = cms.Path(hltBoolEnd)
283 
284 # The events to be used as PileUp
286 HLTZEROBIASPUSDPath = cms.Path(HLTZEROBIASPUSD)
287 SKIMStreamHLTZEROBIASPUSD = cms.FilteredStream(
288  responsible = 'PDWG',
289  name = 'HLTZEROBIASPUSD',
290  paths = (HLTZEROBIASPUSDPath),
291  content = skimRecoContent.outputCommands,
292  selectEvents = cms.untracked.PSet(),
293  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
294  )
295 
296 #The events to be used as signal
298 HLTZEROBIASSIGSDPath = cms.Path(HLTZEROBIASSIGSD)
299 SKIMStreamHLTZEROBIASSIGSD = cms.FilteredStream(
300  responsible = 'PDWG',
301  name = 'HLTZEROBIASSIGSD',
302  paths = (HLTZEROBIASSIGSDPath),
303  content = skimRecoContent.outputCommands,
304  selectEvents = cms.untracked.PSet(),
305  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
306  )
307 
308 
309 
310 
311 
312 
313 """
314 from SUSYBSMAnalysis.Skimming.EXOLLResSkim_cff import *
315 exoLLResmmPath = cms.Path(exoLLResdiMuonSequence)
316 exoLLReseePath = cms.Path(exoLLResdiElectronSequence)
317 exoLLResemPath = cms.Path(exoLLResEleMuSequence)
318 SKIMStreamEXOLLRes = cms.FilteredStream(
319  responsible = 'EXO',
320  name = 'EXOLLRes',
321  paths = (exoLLResmmPath,exoLLReseePath,exoLLResemPath),
322  content = skimAodContent.outputCommands,
323  selectEvents = cms.untracked.PSet(),
324  dataTier = cms.untracked.string('AOD')
325  )
326 
327 from SUSYBSMAnalysis.Skimming.EXOEle_cff import *
328 exoElePath = cms.Path(exoEleLowetSeqReco)
329 SKIMStreamEXOEle = cms.FilteredStream(
330  responsible = 'EXO',
331  name = 'EXOEle',
332  paths = (exoElePath),
333  content = skimAodContent.outputCommands,
334  selectEvents = cms.untracked.PSet(),
335  dataTier = cms.untracked.string('AOD')
336  )
337 
338 from SUSYBSMAnalysis.Skimming.EXOMu_cff import *
339 exoMuPath = cms.Path(exoMuSequence)
340 SKIMStreamEXOMu = cms.FilteredStream(
341  responsible = 'EXO',
342  name = "EXOMu",
343  paths = (exoMuPath),
344  content = skimAodContent.outputCommands,
345  selectEvents = cms.untracked.PSet(),
346  dataTier = cms.untracked.string('AOD')
347  )
348 
349 from SUSYBSMAnalysis.Skimming.EXOTriLepton_cff import *
350 exoTriMuPath = cms.Path(exoTriMuonSequence)
351 SKIMStreamEXOTriMu = cms.FilteredStream(
352  responsible = 'EXO',
353  name = 'EXOTriMu',
354  paths = (exoTriMuPath),
355  content = skimAodContent.outputCommands,
356  selectEvents = cms.untracked.PSet(),
357  dataTier = cms.untracked.string('AOD')
358  )
359 exoTriElePath = cms.Path(exoTriElectronSequence)
360 SKIMStreamEXOTriEle = cms.FilteredStream(
361  responsible = 'EXO',
362  name = 'EXOTriEle',
363  paths = (exoTriElePath),
364  content = skimAodContent.outputCommands,
365  selectEvents = cms.untracked.PSet(),
366  dataTier = cms.untracked.string('AOD')
367  )
368 exo1E2MuPath = cms.Path(exo1E2MuSequence)
369 SKIMStreamEXO1E2Mu = cms.FilteredStream(
370  responsible = 'EXO',
371  name = 'EXO1E2Mu',
372  paths = (exo1E2MuPath),
373  content = skimAodContent.outputCommands,
374  selectEvents = cms.untracked.PSet(),
375  dataTier = cms.untracked.string('AOD')
376  )
377 
378 from SUSYBSMAnalysis.Skimming.EXODiLepton_cff import *
379 exoDiMuPath = cms.Path(exoDiMuSequence)
380 exoDiElePath = cms.Path(exoDiMuSequence)
381 exoEMuPath = cms.Path(exoEMuSequence)
382 SKIMStreamEXODiMu = cms.FilteredStream(
383  responsible = 'EXO',
384  name = 'EXODiMu',
385  paths = (exoDiMuPath),
386  content = skimAodContent.outputCommands,
387  selectEvents = cms.untracked.PSet(),
388  dataTier = cms.untracked.string('AOD')
389  )
390 SKIMStreamEXODiEle = cms.FilteredStream(
391  responsible = 'EXO',
392  name = 'EXODiEle',
393  paths = (exoDiElePath),
394  content = skimAodContent.outputCommands,
395  selectEvents = cms.untracked.PSet(),
396  dataTier = cms.untracked.string('AOD')
397  )
398 SKIMStreamEXOEMu = cms.FilteredStream(
399  responsible = 'EXO',
400  name = 'EXOEMu',
401  paths = (exoEMuPath),
402  content = skimAodContent.outputCommands,
403  selectEvents = cms.untracked.PSet(),
404  dataTier = cms.untracked.string('AOD')
405  )
406 """
407 
408 
409 
411 MuonPOGSkimTrackPath = cms.Path(MuonPOGSkimTrackSequence)
412 MuonPOGSkimSTAPath = cms.Path(MuonPOGSkimSTASequence)
413 SKIMStreamMuonPOGSkim = cms.FilteredStream(
414  responsible = 'PDWG',
415  name = 'MuonPOGSkim',
416  paths = (MuonPOGSkimTrackPath,MuonPOGSkimSTAPath),
417  content = MuonPOG_EventContent.outputCommands,
418  selectEvents = cms.untracked.PSet(),
419  dataTier = cms.untracked.string('USER')
420  )
421 
422 
423 MuonPOGJPsiSkimTrackPath = cms.Path(MuonPOGJPsiSkimTrackSequence)
424 MuonPOGJPsiSkimSTAPath = cms.Path(MuonPOGJPsiSkimSTASequence)
425 
426 SKIMStreamMuonPOGJPsiSkim = cms.FilteredStream(
427  responsible = 'PDWG',
428  name = 'MuonPOGJPsiSkim',
429  paths = (MuonPOGJPsiSkimTrackPath,MuonPOGJPsiSkimSTAPath),
430  content = MuonPOG_EventContent.outputCommands,
431  selectEvents = cms.untracked.PSet(),
432  dataTier = cms.untracked.string('USER')
433  )
434 
435 
436 
PDWG_HLTZEROBIASSIG_SD_cff
Skims_DPG_cff
DPG skims ###.
PDWG_EXOHSCP_cff
PDWG_HZZSkim_cff
PDWG_EXODisplacedJet_cff
PDWG_DiPhoton_SD_cff
PDWG_EXOMONOPOLE_cff
PDWG_HSCP_SD_cff
PDWG_HWWSkim_cff
EventContent_cff
PDWG_EXONoBPTXSkim_cff
PDWG_HLTZEROBIASPU_SD_cff
PDWG_DiJetAODSkim_cff
PDWG_BPHSkim_cff
pwdgSkimBPark_cfi
B-Parking #########.
PDWG_MuonPOGSkim_cff
exo skims
PDWG_TauSkim_cff
PDWG_EXOHPTE_cff