CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/Skims_DPG_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from Configuration.EventContent.EventContent_cff import FEVTEventContent
00004 skimContent = FEVTEventContent.clone()
00005 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00006 skimContent.outputCommands.append("drop *_*_*_SKIM")
00007 
00008 
00009 
00010 #############
00011 from  DPGAnalysis.Skims.logErrorSkim_cff import *
00012 pathlogerror =cms.Path(logerrorseq)
00013 
00014 SKIMStreamLogError = cms.FilteredStream(
00015     responsible = 'reco convener',
00016     name = 'LogError',
00017     paths = (pathlogerror),
00018     content = skimContent.outputCommands,
00019     selectEvents = cms.untracked.PSet(),
00020     dataTier = cms.untracked.string('RAW-RECO')
00021     )
00022 
00023 #############
00024 pathlogerrormonitor =cms.Path(logerrormonitorseq)
00025 
00026 SKIMStreamLogErrorMonitor = cms.FilteredStream(
00027     responsible = 'reco convener',
00028     name = 'LogErrorMonitor',
00029     paths = (pathlogerrormonitor),
00030     content = cms.untracked.vstring('drop *_*_*_*', 'keep edmErrorSummaryEntrys_*_*_*'),
00031     selectEvents = cms.untracked.PSet(),
00032     dataTier = cms.untracked.string('USER')
00033     )
00034 
00035 ##############
00036 #from  DPGAnalysis.Skims.BeamBkgSkim_cff import *
00037 #pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq)
00038 
00039 #SKIMStreamBeamBkg = cms.FilteredStream(
00040 #    responsible = 'PFG',
00041 #    name = 'BeamBkg',
00042 #    paths = (pathpfgskim3noncross),
00043 #    content = skimContent.outputCommands,
00044 #    selectEvents = cms.untracked.PSet(),
00045 #    dataTier = cms.untracked.string('RAW-RECO')
00046 #    )
00047 
00048 ###########
00049     
00050 #from DPGAnalysis.Skims.cscSkim_cff import *
00051 #pathCSCSkim =cms.Path(cscSkimseq)  
00052 #pathCSCHLTSkim = cms.Path(cscHLTSkimSeq)
00053 #pathCSCAloneSkim = cms.Path(cscSkimAloneSeq)
00054 
00055 #SKIMStreamCSC = cms.FilteredStream(
00056 #    responsible = 'DPG',
00057 #    name = 'CSC',
00058 #    paths = (pathCSCSkim),
00059 #    content = skimContent.outputCommands,
00060 #    selectEvents = cms.untracked.PSet(),
00061 #    dataTier = cms.untracked.string('RAW-RECO')
00062 #    )
00063 #SKIMStreamCSCHLT = cms.FilteredStream(
00064 #    responsible = 'DPG',
00065 #    name = 'CSCHLT',
00066 #    paths = (pathCSCHLTSkim),
00067 #    content = skimContent.outputCommands,
00068 #    selectEvents = cms.untracked.PSet(),
00069 #    dataTier = cms.untracked.string('RAW-RECO')
00070 #    )
00071 #SKIMStreamCSCAlone = cms.FilteredStream(
00072 #    responsible = 'DPG',
00073 #    name = 'CSCAlone',
00074 #    paths = (pathCSCAloneSkim),
00075 #    content = skimContent.outputCommands,
00076 #    selectEvents = cms.untracked.PSet(),
00077 #    dataTier = cms.untracked.string('RAW-RECO')
00078 #   )
00079 
00080 #####################
00081 
00082 #from DPGAnalysis.Skims.dtActivitySkim_cff import *
00083 #pathdtSkim =cms.Path(dtSkimseq)  
00084 #pathHLTdtSkim =cms.Path(dtHLTSkimseq)
00085     
00086 #SKIMStreamDT = cms.FilteredStream(
00087 #    responsible = 'DPG',
00088 #    name = 'DT',
00089 #    paths = (pathHLTdtSkim),
00090 #    content = skimContent.outputCommands,
00091 #    selectEvents = cms.untracked.PSet(),
00092 #    dataTier = cms.untracked.string('RAW-RECO')
00093 #    )
00094 
00095 #####################
00096 
00097 from DPGAnalysis.Skims.EcalActivitySkim_cff import *
00098 EcalActivityPath = cms.Path( ecalActivitySeq )
00099 SKIMStreamEcalActivity = cms.FilteredStream(
00100     responsible = 'ECAL DPG',
00101     name = 'EcalActivity',
00102     paths = ( EcalActivityPath ),
00103     content = skimContent.outputCommands,
00104     selectEvents = cms.untracked.PSet(),
00105     dataTier = cms.untracked.string('RAW-RECO')
00106     )
00107 
00108 
00109 #####################
00110 
00111 #from DPGAnalysis.Skims.L1MuonBitSkim_cff import *
00112 #pathL1MuBitSkim =cms.Path(l1MuBitsSkimseq)  
00113 
00114 #SKIMStreamL1MuBit = cms.FilteredStream(
00115 #    responsible = 'DPG',
00116 #    name = 'L1MuBit',
00117 #    paths = (pathL1MuBitSkim),
00118 #    content = skimContent.outputCommands,
00119 #    selectEvents = cms.untracked.PSet(),
00120 #    dataTier = cms.untracked.string('RAW-RECO')
00121 #    )
00122 
00123 #####################
00124 
00125 #from DPGAnalysis.Skims.RPCSkim_cff import *
00126 #pathrpcTecSkim =cms.Path(rpcTecSkimseq)  
00127 
00128 #SKIMStreamRPC = cms.FilteredStream(
00129 #    responsible = 'DPG',
00130 #    name = 'RPC',
00131 #    paths = (pathrpcTecSkim),
00132 #    content = skimContent.outputCommands,
00133 #    selectEvents = cms.untracked.PSet(),
00134 #    dataTier = cms.untracked.string('RAW-RECO')
00135 #    )
00136 
00137 #####################
00138 
00139 #from DPGAnalysis.Skims.singleMuonSkim_cff import *
00140 #from DPGAnalysis.Skims.singleElectronSkim_cff import *
00141 #from DPGAnalysis.Skims.muonTagProbeFilters_cff import *
00142 #from DPGAnalysis.Skims.electronTagProbeFilters_cff import *
00143 #from DPGAnalysis.Skims.singlePhotonSkim_cff import *
00144 #from DPGAnalysis.Skims.jetSkim_cff import *
00145 #from DPGAnalysis.Skims.METSkim_cff import *
00146 #from DPGAnalysis.Skims.singlePfTauSkim_cff import *
00147 
00148 #singleMuPt5SkimPath=cms.Path(singleMuPt5RecoQualitySeq)
00149 #singleElectronPt5SkimPath=cms.Path(singleElectronPt5RecoQualitySeq)
00150 #singlePhotonPt5SkimPath=cms.Path(singlePhotonPt5QualitySeq)
00151 #muonJPsiMMSkimPath=cms.Path(muonJPsiMMRecoQualitySeq)
00152 #jetSkimPath=cms.Path(jetRecoQualitySeq)
00153 #singlePfTauPt15SkimPath=cms.Path(singlePfTauPt15QualitySeq)
00154 #SKIMStreamTPG = cms.FilteredStream(
00155 #    responsible = 'TPG',
00156 #    name = 'TPG',
00157 #    paths = (singleMuPt5SkimPath,singleElectronPt5SkimPath,singlePhotonPt5SkimPath,muonJPsiMMSkimPath,jetSkimPath,singlePfTauPt15SkimPath),
00158 #    content = skimContent.outputCommands,
00159 #    selectEvents = cms.untracked.PSet(),
00160 #    dataTier = cms.untracked.string('USER')
00161 #    )
00162     
00163 #####################
00164 
00165 #from DPGAnalysis.Skims.ecalrechitsSkim_cff import *
00166 #ecalrechitSkimPath = cms.Path(ecalrechitSkim)
00167 #SKIMStreamEcalRH = cms.FilteredStream(
00168 #    responsible = 'Ecal DPG',
00169 #    name = 'EcalRH',
00170 #    paths = (ecalrechitSkimPath),
00171 #    content = skimContent.outputCommands,
00172 #    selectEvents = cms.untracked.PSet(),
00173 #    dataTier = cms.untracked.string('RAW-RECO')
00174 #    )
00175 
00176 #####################
00177 
00178 #from DPGAnalysis.Skims.goodvertexSkim_cff import *
00179 #goodvertexSkimPath = cms.Path(goodvertexSkim)
00180 #SKIMStreamGoodVtx = cms.FilteredStream(
00181 #    responsible = 'Tracking POG',
00182 #    name = 'GoodVtx',
00183 #    paths = (goodvertexSkimPath),
00184 #    content = skimContent.outputCommands,
00185 #    selectEvents = cms.untracked.PSet(),
00186 #    dataTier = cms.untracked.string('RAW-RECO')
00187 #    )
00188 
00189 #############
00190 
00191 #from DPGAnalysis.Skims.goodcollSkim_cff import *
00192 #pathgoodcoll1 = cms.Path(goodcollL1requirement)
00193 #pathgoodcolhf = cms.Path(goodcollHFrequirement)
00194 
00195 #SKIMStreamGoodCol = cms.FilteredStream(
00196 #    responsible = 'PVT',
00197 #    name = 'GoodCol',
00198 #    paths = (goodvertexSkimPath,pathgoodcoll1,pathgoodcolhf),
00199 #    content = skimContent.outputCommands,
00200 #    selectEvents = cms.untracked.PSet(),
00201 #    dataTier = cms.untracked.string('RAW-RECO')
00202 #    )
00203 
00204 #####################
00205 
00206 #from DPGAnalysis.Skims.muonTracksSkim_cff import *
00207 #muonTracksSkimPath = cms.Path(muonTracksSkim)
00208 #SKIMStreamMuonTrack = cms.FilteredStream(
00209 #        responsible = 'Muon POG',
00210 #        name = 'MuonTrack',
00211 #        paths = (muonTracksSkimPath),
00212 #        content = skimContent.outputCommands,
00213 #        selectEvents = cms.untracked.PSet(),
00214 #        dataTier = cms.untracked.string('RAW-RECO')
00215 #        )
00216 
00217 #####################
00218 
00219 #SKIMStreamMuonDPG = cms.FilteredStream(
00220 #        responsible = 'Muon DPG',
00221 #        name = 'MuonDPG',
00222 #        paths = (muonTracksSkimPath,pathdtSkim,pathHLTdtSkim,pathCSCHLTSkim,pathCSCAloneSkim,pathrpcTecSkim,),
00223 #        content = skimContent.outputCommands,
00224 #        selectEvents = cms.untracked.PSet(),
00225 #        dataTier = cms.untracked.string('RAW-RECO')
00226 #        )
00227 
00228 #####################
00229 
00230 #from DPGAnalysis.Skims.valSkim_cff import *
00231 #relvaltrackSkimPath = cms.Path( relvaltrackSkim )
00232 #relvalmuonSkimPath = cms.Path( relvalmuonSkim )
00233 #SKIMStreamValSkim = cms.FilteredStream(
00234 #    responsible = 'RECO',
00235 #    name = 'ValSkim',
00236 #    paths = (relvaltrackSkimPath,relvalmuonSkimPath),
00237 #    content = skimContent.outputCommands,
00238 #    selectEvents = cms.untracked.PSet(),
00239 #    dataTier = cms.untracked.string('RAW-RECO')
00240 #    )
00241 
00242 #####################
00243 
00244 #from DPGAnalysis.Skims.WZEGSkim_cff import *
00245 #WZEGSkimPath = cms.Path ( WZfilterSkim )
00246 #SKIMStreamWZEG = cms.FilteredStream(
00247 #    responsible = 'ECAL DPG & EGM POG',
00248 #    name = 'WZEG',
00249 #    paths = ( WZEGSkimPath ),
00250 #    content = skimContent.outputCommands,
00251 #    selectEvents = cms.untracked.PSet(),
00252 #    dataTier = cms.untracked.string('RAW-RECO')
00253 #    )
00254 
00255 
00256 #####################
00257 
00258 from DPGAnalysis.Skims.WMuSkim_cff import *
00259 from DPGAnalysis.Skims.ZMuSkim_cff import *
00260 from DPGAnalysis.Skims.ZmmgSkim_cff import *
00261 
00262 ZMuSkimPath = cms.Path(diMuonSelSeq)
00263 ZmmgSkimPath = cms.Path(ZmmgSkimSeq)
00264 WtcMetSkimPath = cms.Path(tcMetWMuNuSeq)
00265 WpfMetSkimPath = cms.Path(pfMetWMuNuSeq)
00266 #SKIMStreamWZMu   = cms.FilteredStream(
00267 #    responsible = 'Muon DPG-POG-MuEW',
00268 #    name = 'WZMu',
00269 #    paths = (ZMuSkimPath, WtcMetSkimPath, WpfMetSkimPath),
00270 #    content = skimContent.outputCommands,
00271 #    selectEvents = cms.untracked.PSet(),
00272 #    dataTier = cms.untracked.string('RAW-RECO')
00273 #    )
00274 SKIMStreamZMu   = cms.FilteredStream(
00275     responsible = 'Muon DPG-POG-MuEW',
00276     name = 'ZMu',
00277     paths = (ZMuSkimPath),
00278     content = skimContent.outputCommands,
00279     selectEvents = cms.untracked.PSet(),
00280     dataTier = cms.untracked.string('RAW-RECO')
00281     )
00282 SKIMStreamZmmg   = cms.FilteredStream(
00283     responsible = 'ECAL DPG',
00284     name = 'Zmmg',
00285     paths = (ZmmgSkimPath),
00286     content = skimContent.outputCommands,
00287     selectEvents = cms.untracked.PSet(),
00288     dataTier = cms.untracked.string('RAW-RECO')
00289     )
00290 #SKIMStreamWMu   = cms.FilteredStream(
00291 #    responsible = 'Muon DPG-POG-MuEW',
00292 #    name = 'WMu',
00293 #    paths = (WtcMetSkimPath, WpfMetSkimPath),
00294 #    content = skimContent.outputCommands,
00295 #    selectEvents = cms.untracked.PSet(),
00296 #    dataTier = cms.untracked.string('RAW-RECO')
00297 #    )
00298 
00299 #####################
00300 
00301 #from DPGAnalysis.Skims.TkSDSkim_cff import *
00302 #TkSDSkimPath = cms.Path (TkSD_Seq)
00303 #SKIMStreamTkSD = cms.FilteredStream(
00304 #    responsible = 'Tracker DPG & Tracking POG',
00305 #    name = 'TkSD',
00306 #    paths = ( TkSDSkimPath ),
00307 #    content = skimContent.outputCommands,
00308 #    selectEvents = cms.untracked.PSet(),
00309 #    dataTier = cms.untracked.string('RAW-RECO')
00310 #    )
00311 
00312 #####################
00313 
00314 from DPGAnalysis.Skims.WElectronSkim_cff import *
00315 WElectronPath = cms.Path( elecMetSeq )
00316 SKIMStreamWElectron = cms.FilteredStream(
00317     responsible = 'ECAL DPG',
00318     name = 'WElectron',
00319     paths = ( WElectronPath ),
00320     content = WElectronSkimContent.outputCommands,
00321     selectEvents = cms.untracked.PSet(),
00322     dataTier = cms.untracked.string('USER')
00323     )
00324 
00325 #####################
00326 
00327 from DPGAnalysis.Skims.ZElectronSkim_cff import *
00328 #ZElectronPathPhoton = cms.Path( tagPhotonSeq )
00329 #ZElectronPathTrack = cms.Path( tagTrackSeq )
00330 ZElectronPathGsf = cms.Path( tagGsfSeq )
00331 SKIMStreamZElectron = cms.FilteredStream(
00332     responsible = 'ECAL DPG',
00333     name = 'ZElectron',
00334     paths = ( ZElectronPathGsf ),
00335     content = skimContent.outputCommands,
00336     selectEvents = cms.untracked.PSet(),
00337     dataTier = cms.untracked.string('RAW-RECO')
00338     )
00339 
00340 
00341 #####################
00342 
00343 from DPGAnalysis.Skims.HighMETSkim_cff import *
00344 pfPath = cms.Path(pfMETSelSeq)
00345 tcPath = cms.Path(tcMETSelSeq)
00346 SKIMStreamHighMET   = cms.FilteredStream(
00347             responsible = 'MET Group',
00348             name = 'HighMET',
00349             paths = (pfPath,tcPath),
00350             content = skimContent.outputCommands,
00351             selectEvents = cms.untracked.PSet(),
00352             dataTier = cms.untracked.string('RAW-RECO')
00353             )
00354 
00355 #####################
00356 
00357 
00358 #####################
00359 
00360 from DPGAnalysis.Skims.ZHbbSkim_cff import *
00361 ZHbbSkimPath = cms.Path(ZHbbSkim)
00362 SKIMStreamZHbb = cms.FilteredStream(
00363     responsible = 'BTV',
00364     name = 'ZHbb',
00365     paths = (ZHbbSkimPath),
00366     content = skimContent.outputCommands,
00367     selectEvents = cms.untracked.PSet(),
00368     dataTier = cms.untracked.string('RAW-RECO')
00369     )
00370 
00371 #####################
00372 
00373 from DPGAnalysis.Skims.HighLumiFilter_cfi import highLumiFilter
00374 HighLumiSkimPath = cms.Path(highLumiFilter)
00375 SKIMStreamHighLumi = cms.FilteredStream(
00376     responsible = 'Tracking POG',
00377     name = 'HighLumi',
00378     paths = (HighLumiSkimPath),
00379     content = skimContent.outputCommands,
00380     selectEvents = cms.untracked.PSet(),
00381     dataTier = cms.untracked.string('RAW-RECO')
00382     )
00383 
00384