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.
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 #####################
11 
13 diJetAveSkimPath = cms.Path(DiJetAveSkim_Trigger)
14 SKIMStreamDiJet = cms.FilteredStream(
15  responsible = 'PDWG',
16  name = 'DiJet',
17  paths = (diJetAveSkimPath),
18  content = DiJetAveSkim_EventContent.outputCommands,
19  selectEvents = cms.untracked.PSet(),
20  dataTier = cms.untracked.string('USER')
21  )
22 
23 #####################
24 
26 tauSkimBy1Path = cms.Path( tauSkim1Sequence )
27 tauSkimBy2Path = cms.Path( tauSkim2Sequence )
28 SKIMStreamTau = cms.FilteredStream(
29  responsible = 'PDWG',
30  name = 'Tau',
31  paths = (tauSkimBy1Path),
32  content = skimContent.outputCommands,
33  selectEvents = cms.untracked.PSet(),
34  dataTier = cms.untracked.string('RAW-RECO')
35  )
36 SKIMStreamDiTau = cms.FilteredStream(
37  responsible = 'PDWG',
38  name = 'Tau',
39  paths = (tauSkimBy2Path),
40  content = skimContent.outputCommands,
41  selectEvents = cms.untracked.PSet(),
42  dataTier = cms.untracked.string('RAW-RECO')
43  )
44 
45 
46 #####################
47 
49 HSCPSDPath = cms.Path(HSCPSD)
50 SKIMStreamHSCPSD = cms.FilteredStream(
51  responsible = 'PDWG',
52  name = 'HSCPSD',
53  paths = (HSCPSDPath),
54  content = skimRecoContent.outputCommands,
55  selectEvents = cms.untracked.PSet(),
56  dataTier = cms.untracked.string('RECO')
57  )
58 
59 #####################
60 
62 CaloIdIsoPhotonPairsPath = cms.Path(CaloIdIsoPhotonPairsFilter)
63 R9IdPhotonPairsPath = cms.Path(R9IdPhotonPairsFilter)
64 MixedCaloR9IdPhotonPairsPath = cms.Path(MixedCaloR9IdPhotonPairsFilter)
65 MixedR9CaloIdPhotonPairsPath = cms.Path(MixedR9CaloIdPhotonPairsFilter)
66 
67 SKIMStreamDiPhoton = cms.FilteredStream(
68  responsible = 'PDWG',
69  name = 'DiPhoton',
70  paths = (CaloIdIsoPhotonPairsPath,R9IdPhotonPairsPath,MixedCaloR9IdPhotonPairsPath,MixedR9CaloIdPhotonPairsPath),
71  content = skimContent.outputCommands,
72  selectEvents = cms.untracked.PSet(),
73  dataTier = cms.untracked.string('RAW-RECO')
74  )
75 
76 
77 from Configuration.EventContent.EventContent_cff import AODEventContent
78 skimAodContent = AODEventContent.clone()
79 skimAodContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
80 skimAodContent.outputCommands.append("drop *_*_*_SKIM")
81 
82 #from Configuration.Skimming.PDWG_DoublePhotonSkim_cff import *
83 #diphotonSkimPath = cms.Path(diphotonSkimSequence)
84 #SKIMStreamDoublePhoton = cms.FilteredStream(
85 # responsible = 'PDWG',
86 # name = 'DoublePhoton',
87 # paths = (diphotonSkimPath),
88 # content = skimAodContent.outputCommands,
89 # selectEvents = cms.untracked.PSet(),
90 # dataTier = cms.untracked.string('AOD')
91 # )
92 
94 EXOHSCPPath = cms.Path(exoticaHSCPSeq)
95 SKIMStreamEXOHSCP = cms.FilteredStream(
96  responsible = 'PDWG',
97  name = 'EXOHSCP',
98  paths = (EXOHSCPPath),
99  content = EXOHSCPSkim_EventContent.outputCommands,
100  selectEvents = cms.untracked.PSet(),
101  dataTier = cms.untracked.string('USER')
102  )
103 
105 HWWmmPath = cms.Path(diMuonSequence)
106 HWWeePath = cms.Path(diElectronSequence)
107 HWWemPath = cms.Path(EleMuSequence)
108 SKIMStreamHWW = cms.FilteredStream(
109  responsible = 'PDWG',
110  name = 'HWW',
111  paths = (HWWmmPath,HWWeePath,HWWemPath),
112  content = skimAodContent.outputCommands,
113  selectEvents = cms.untracked.PSet(),
114  dataTier = cms.untracked.string('AOD')
115  )
116 
117 
119 HZZmmPath = cms.Path(zzdiMuonSequence)
120 HZZeePath = cms.Path(zzdiElectronSequence)
121 HZZemPath = cms.Path(zzeleMuSequence)
122 SKIMStreamHZZ = cms.FilteredStream(
123  responsible = 'PDWG',
124  name = 'HZZ',
125  paths = (HZZmmPath,HZZeePath,HZZemPath),
126  content = skimAodContent.outputCommands,
127  selectEvents = cms.untracked.PSet(),
128  dataTier = cms.untracked.string('AOD')
129  )
130 
131 
133 exoHPTEPath = cms.Path(exoDiHPTESequence)
134 SKIMStreamEXOHPTE = cms.FilteredStream(
135  responsible = 'PDWG',
136  name = 'EXOHPTE',
137  paths = (exoHPTEPath),
138  content = skimAodContent.outputCommands,
139  selectEvents = cms.untracked.PSet(),
140  dataTier = cms.untracked.string('AOD')
141  )
142 
143 #####################
144 # For the Data on Data Mixing in TSG
145 from HLTrigger.Configuration.HLT_Fake1_cff import fragment as _fragment
146 if "hltGtDigis" in _fragment.__dict__:
147  hltGtDigis = _fragment.hltGtDigis.clone()
148  hltGtDigisPath = cms.Path(hltGtDigis)
149 else:
150  hltBoolEnd = _fragmet.hltBoolEnd.clone()
151  hltGtDigisPath = cms.Path(hltBoolEnd)
152 
153 # The events to be used as PileUp
155 HLTZEROBIASPUSDPath = cms.Path(HLTZEROBIASPUSD)
156 SKIMStreamHLTZEROBIASPUSD = cms.FilteredStream(
157  responsible = 'PDWG',
158  name = 'HLTZEROBIASPUSD',
159  paths = (HLTZEROBIASPUSDPath),
160  content = skimRecoContent.outputCommands,
161  selectEvents = cms.untracked.PSet(),
162  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
163  )
164 
165 #The events to be used as signal
167 HLTZEROBIASSIGSDPath = cms.Path(HLTZEROBIASSIGSD)
168 SKIMStreamHLTZEROBIASSIGSD = cms.FilteredStream(
169  responsible = 'PDWG',
170  name = 'HLTZEROBIASSIGSD',
171  paths = (HLTZEROBIASSIGSDPath),
172  content = skimRecoContent.outputCommands,
173  selectEvents = cms.untracked.PSet(),
174  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
175  )
176 
177 ####################
178 
179 
180 
181 ## exo skims
182 """
183 from SUSYBSMAnalysis.Skimming.EXOLLResSkim_cff import *
184 exoLLResmmPath = cms.Path(exoLLResdiMuonSequence)
185 exoLLReseePath = cms.Path(exoLLResdiElectronSequence)
186 exoLLResemPath = cms.Path(exoLLResEleMuSequence)
187 SKIMStreamEXOLLRes = cms.FilteredStream(
188  responsible = 'EXO',
189  name = 'EXOLLRes',
190  paths = (exoLLResmmPath,exoLLReseePath,exoLLResemPath),
191  content = skimAodContent.outputCommands,
192  selectEvents = cms.untracked.PSet(),
193  dataTier = cms.untracked.string('AOD')
194  )
195 
196 from SUSYBSMAnalysis.Skimming.EXOEle_cff import *
197 exoElePath = cms.Path(exoEleLowetSeqReco)
198 SKIMStreamEXOEle = cms.FilteredStream(
199  responsible = 'EXO',
200  name = 'EXOEle',
201  paths = (exoElePath),
202  content = skimAodContent.outputCommands,
203  selectEvents = cms.untracked.PSet(),
204  dataTier = cms.untracked.string('AOD')
205  )
206 
207 from SUSYBSMAnalysis.Skimming.EXOMu_cff import *
208 exoMuPath = cms.Path(exoMuSequence)
209 SKIMStreamEXOMu = cms.FilteredStream(
210  responsible = 'EXO',
211  name = "EXOMu",
212  paths = (exoMuPath),
213  content = skimAodContent.outputCommands,
214  selectEvents = cms.untracked.PSet(),
215  dataTier = cms.untracked.string('AOD')
216  )
217 
218 from SUSYBSMAnalysis.Skimming.EXOTriLepton_cff import *
219 exoTriMuPath = cms.Path(exoTriMuonSequence)
220 SKIMStreamEXOTriMu = cms.FilteredStream(
221  responsible = 'EXO',
222  name = 'EXOTriMu',
223  paths = (exoTriMuPath),
224  content = skimAodContent.outputCommands,
225  selectEvents = cms.untracked.PSet(),
226  dataTier = cms.untracked.string('AOD')
227  )
228 exoTriElePath = cms.Path(exoTriElectronSequence)
229 SKIMStreamEXOTriEle = cms.FilteredStream(
230  responsible = 'EXO',
231  name = 'EXOTriEle',
232  paths = (exoTriElePath),
233  content = skimAodContent.outputCommands,
234  selectEvents = cms.untracked.PSet(),
235  dataTier = cms.untracked.string('AOD')
236  )
237 exo1E2MuPath = cms.Path(exo1E2MuSequence)
238 SKIMStreamEXO1E2Mu = cms.FilteredStream(
239  responsible = 'EXO',
240  name = 'EXO1E2Mu',
241  paths = (exo1E2MuPath),
242  content = skimAodContent.outputCommands,
243  selectEvents = cms.untracked.PSet(),
244  dataTier = cms.untracked.string('AOD')
245  )
246 
247 from SUSYBSMAnalysis.Skimming.EXODiLepton_cff import *
248 exoDiMuPath = cms.Path(exoDiMuSequence)
249 exoDiElePath = cms.Path(exoDiMuSequence)
250 exoEMuPath = cms.Path(exoEMuSequence)
251 SKIMStreamEXODiMu = cms.FilteredStream(
252  responsible = 'EXO',
253  name = 'EXODiMu',
254  paths = (exoDiMuPath),
255  content = skimAodContent.outputCommands,
256  selectEvents = cms.untracked.PSet(),
257  dataTier = cms.untracked.string('AOD')
258  )
259 SKIMStreamEXODiEle = cms.FilteredStream(
260  responsible = 'EXO',
261  name = 'EXODiEle',
262  paths = (exoDiElePath),
263  content = skimAodContent.outputCommands,
264  selectEvents = cms.untracked.PSet(),
265  dataTier = cms.untracked.string('AOD')
266  )
267 SKIMStreamEXOEMu = cms.FilteredStream(
268  responsible = 'EXO',
269  name = 'EXOEMu',
270  paths = (exoEMuPath),
271  content = skimAodContent.outputCommands,
272  selectEvents = cms.untracked.PSet(),
273  dataTier = cms.untracked.string('AOD')
274  )
275 """
DPG skims ###.