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_FULL_cff import fragment as _fragment
146 hltGtDigis = _fragment.hltGtDigis.clone()
147 hltGtDigisPath = cms.Path(hltGtDigis)
148 
149 # The events to be used as PileUp
151 HLTZEROBIASPUSDPath = cms.Path(HLTZEROBIASPUSD)
152 SKIMStreamHLTZEROBIASPUSD = cms.FilteredStream(
153  responsible = 'PDWG',
154  name = 'HLTZEROBIASPUSD',
155  paths = (HLTZEROBIASPUSDPath),
156  content = skimRecoContent.outputCommands,
157  selectEvents = cms.untracked.PSet(),
158  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
159  )
160 
161 #The events to be used as signal
163 HLTZEROBIASSIGSDPath = cms.Path(HLTZEROBIASSIGSD)
164 SKIMStreamHLTZEROBIASSIGSD = cms.FilteredStream(
165  responsible = 'PDWG',
166  name = 'HLTZEROBIASSIGSD',
167  paths = (HLTZEROBIASSIGSDPath),
168  content = skimRecoContent.outputCommands,
169  selectEvents = cms.untracked.PSet(),
170  dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future
171  )
172 
173 ####################
174 
175 
176 
177 ## exo skims
178 """
179 from SUSYBSMAnalysis.Skimming.EXOLLResSkim_cff import *
180 exoLLResmmPath = cms.Path(exoLLResdiMuonSequence)
181 exoLLReseePath = cms.Path(exoLLResdiElectronSequence)
182 exoLLResemPath = cms.Path(exoLLResEleMuSequence)
183 SKIMStreamEXOLLRes = cms.FilteredStream(
184  responsible = 'EXO',
185  name = 'EXOLLRes',
186  paths = (exoLLResmmPath,exoLLReseePath,exoLLResemPath),
187  content = skimAodContent.outputCommands,
188  selectEvents = cms.untracked.PSet(),
189  dataTier = cms.untracked.string('AOD')
190  )
191 
192 from SUSYBSMAnalysis.Skimming.EXOEle_cff import *
193 exoElePath = cms.Path(exoEleLowetSeqReco)
194 SKIMStreamEXOEle = cms.FilteredStream(
195  responsible = 'EXO',
196  name = 'EXOEle',
197  paths = (exoElePath),
198  content = skimAodContent.outputCommands,
199  selectEvents = cms.untracked.PSet(),
200  dataTier = cms.untracked.string('AOD')
201  )
202 
203 from SUSYBSMAnalysis.Skimming.EXOMu_cff import *
204 exoMuPath = cms.Path(exoMuSequence)
205 SKIMStreamEXOMu = cms.FilteredStream(
206  responsible = 'EXO',
207  name = "EXOMu",
208  paths = (exoMuPath),
209  content = skimAodContent.outputCommands,
210  selectEvents = cms.untracked.PSet(),
211  dataTier = cms.untracked.string('AOD')
212  )
213 
214 from SUSYBSMAnalysis.Skimming.EXOTriLepton_cff import *
215 exoTriMuPath = cms.Path(exoTriMuonSequence)
216 SKIMStreamEXOTriMu = cms.FilteredStream(
217  responsible = 'EXO',
218  name = 'EXOTriMu',
219  paths = (exoTriMuPath),
220  content = skimAodContent.outputCommands,
221  selectEvents = cms.untracked.PSet(),
222  dataTier = cms.untracked.string('AOD')
223  )
224 exoTriElePath = cms.Path(exoTriElectronSequence)
225 SKIMStreamEXOTriEle = cms.FilteredStream(
226  responsible = 'EXO',
227  name = 'EXOTriEle',
228  paths = (exoTriElePath),
229  content = skimAodContent.outputCommands,
230  selectEvents = cms.untracked.PSet(),
231  dataTier = cms.untracked.string('AOD')
232  )
233 exo1E2MuPath = cms.Path(exo1E2MuSequence)
234 SKIMStreamEXO1E2Mu = cms.FilteredStream(
235  responsible = 'EXO',
236  name = 'EXO1E2Mu',
237  paths = (exo1E2MuPath),
238  content = skimAodContent.outputCommands,
239  selectEvents = cms.untracked.PSet(),
240  dataTier = cms.untracked.string('AOD')
241  )
242 
243 from SUSYBSMAnalysis.Skimming.EXODiLepton_cff import *
244 exoDiMuPath = cms.Path(exoDiMuSequence)
245 exoDiElePath = cms.Path(exoDiMuSequence)
246 exoEMuPath = cms.Path(exoEMuSequence)
247 SKIMStreamEXODiMu = cms.FilteredStream(
248  responsible = 'EXO',
249  name = 'EXODiMu',
250  paths = (exoDiMuPath),
251  content = skimAodContent.outputCommands,
252  selectEvents = cms.untracked.PSet(),
253  dataTier = cms.untracked.string('AOD')
254  )
255 SKIMStreamEXODiEle = cms.FilteredStream(
256  responsible = 'EXO',
257  name = 'EXODiEle',
258  paths = (exoDiElePath),
259  content = skimAodContent.outputCommands,
260  selectEvents = cms.untracked.PSet(),
261  dataTier = cms.untracked.string('AOD')
262  )
263 SKIMStreamEXOEMu = cms.FilteredStream(
264  responsible = 'EXO',
265  name = 'EXOEMu',
266  paths = (exoEMuPath),
267  content = skimAodContent.outputCommands,
268  selectEvents = cms.untracked.PSet(),
269  dataTier = cms.untracked.string('AOD')
270  )
271 """
DPG skims ###.