Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.EventContent.EventContent_cff import FEVTEventContent
0004 skimContent = FEVTEventContent.clone()
0005 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
0006 skimContent.outputCommands.append("drop *_*_*_SKIM")
0007 
0008 from Configuration.EventContent.EventContent_cff import RAWMINIAODEventContent 
0009 skimMiniAODContent = RAWMINIAODEventContent.clone()
0010 skimMiniAODContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
0011 skimMiniAODContent.outputCommands.append("drop *_*_*_SKIM")
0012 
0013 ###### HCAL DPG Skims #########
0014 
0015 from DPGAnalysis.Skims.SinglePhotonJetPlusHOFilter_cff import *
0016 SinglePhotonJetPlusHOFilterPath = cms.Path( SinglePhotonJetPlusHOFilterSequence )
0017 SKIMStreamSinglePhotonJetPlusHOFilter = cms.FilteredStream(
0018     responsible = 'HCAL DPG',
0019     name = 'SinglePhotonJetPlusHOFilter',
0020     paths = ( SinglePhotonJetPlusHOFilterPath ),
0021     content = skimContent.outputCommands,
0022     selectEvents = cms.untracked.PSet(),
0023     dataTier = cms.untracked.string('RAW-RECO')
0024 )
0025 from DPGAnalysis.Skims.JetHTJetPlusHOFilter_cff import *
0026 JetHTJetPlusHOFilterPath = cms.Path( JetHTJetPlusHOFilterSequence )
0027 SKIMStreamJetHTJetPlusHOFilter = cms.FilteredStream(
0028     responsible = 'HCAL DPG',
0029     name = 'JetHTJetPlusHOFilter',
0030     paths = ( JetHTJetPlusHOFilterPath ),
0031     content = skimContent.outputCommands,
0032     selectEvents = cms.untracked.PSet(),
0033     dataTier = cms.untracked.string('RAW-RECO')
0034 )
0035 
0036 #############
0037 from  DPGAnalysis.Skims.logErrorSkim_cff import *
0038 pathlogerror =cms.Path(logerrorseq)
0039 
0040 SKIMStreamLogError = cms.FilteredStream(
0041     responsible = 'reco convener',
0042     name = 'LogError',
0043     paths = (pathlogerror),
0044     content = skimContent.outputCommands,
0045     selectEvents = cms.untracked.PSet(),
0046     dataTier = cms.untracked.string('RAW-RECO')
0047     )
0048 
0049 #############
0050 pathlogerrormonitor =cms.Path(logerrormonitorseq)
0051 
0052 SKIMStreamLogErrorMonitor = cms.FilteredStream(
0053     responsible = 'reco convener',
0054     name = 'LogErrorMonitor',
0055     paths = (pathlogerrormonitor),
0056     content = cms.untracked.vstring('drop *_*_*_*', 'keep edmErrorSummaryEntrys_*_*_*'),
0057     selectEvents = cms.untracked.PSet(),
0058     dataTier = cms.untracked.string('USER')
0059     )
0060 
0061 ##############
0062 #from  DPGAnalysis.Skims.BeamBkgSkim_cff import *
0063 #pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq)
0064 
0065 #SKIMStreamBeamBkg = cms.FilteredStream(
0066 #    responsible = 'PFG',
0067 #    name = 'BeamBkg',
0068 #    paths = (pathpfgskim3noncross),
0069 #    content = skimContent.outputCommands,
0070 #    selectEvents = cms.untracked.PSet(),
0071 #    dataTier = cms.untracked.string('RAW-RECO')
0072 #    )
0073 
0074 ###########
0075     
0076 #from DPGAnalysis.Skims.cscSkim_cff import *
0077 #pathCSCSkim =cms.Path(cscSkimseq)  
0078 #pathCSCHLTSkim = cms.Path(cscHLTSkimSeq)
0079 #pathCSCAloneSkim = cms.Path(cscSkimAloneSeq)
0080 
0081 #SKIMStreamCSC = cms.FilteredStream(
0082 #    responsible = 'DPG',
0083 #    name = 'CSC',
0084 #    paths = (pathCSCSkim),
0085 #    content = skimContent.outputCommands,
0086 #    selectEvents = cms.untracked.PSet(),
0087 #    dataTier = cms.untracked.string('RAW-RECO')
0088 #    )
0089 #SKIMStreamCSCHLT = cms.FilteredStream(
0090 #    responsible = 'DPG',
0091 #    name = 'CSCHLT',
0092 #    paths = (pathCSCHLTSkim),
0093 #    content = skimContent.outputCommands,
0094 #    selectEvents = cms.untracked.PSet(),
0095 #    dataTier = cms.untracked.string('RAW-RECO')
0096 #    )
0097 #SKIMStreamCSCAlone = cms.FilteredStream(
0098 #    responsible = 'DPG',
0099 #    name = 'CSCAlone',
0100 #    paths = (pathCSCAloneSkim),
0101 #    content = skimContent.outputCommands,
0102 #    selectEvents = cms.untracked.PSet(),
0103 #    dataTier = cms.untracked.string('RAW-RECO')
0104 #   )
0105 
0106 #####################
0107 
0108 #from DPGAnalysis.Skims.dtActivitySkim_cff import *
0109 #pathdtSkim =cms.Path(dtSkimseq)  
0110 #pathHLTdtSkim =cms.Path(dtHLTSkimseq)
0111     
0112 #SKIMStreamDT = cms.FilteredStream(
0113 #    responsible = 'DPG',
0114 #    name = 'DT',
0115 #    paths = (pathHLTdtSkim),
0116 #    content = skimContent.outputCommands,
0117 #    selectEvents = cms.untracked.PSet(),
0118 #    dataTier = cms.untracked.string('RAW-RECO')
0119 #    )
0120 
0121 #####################
0122 
0123 from DPGAnalysis.Skims.EcalActivitySkim_cff import *
0124 EcalActivityPath = cms.Path( ecalActivitySeq )
0125 SKIMStreamEcalActivity = cms.FilteredStream(
0126     responsible = 'ECAL DPG',
0127     name = 'EcalActivity',
0128     paths = ( EcalActivityPath ),
0129     content = skimContent.outputCommands,
0130     selectEvents = cms.untracked.PSet(),
0131     dataTier = cms.untracked.string('RAW-RECO')
0132     )
0133 
0134 
0135 #####################
0136 
0137 #from DPGAnalysis.Skims.L1MuonBitSkim_cff import *
0138 #pathL1MuBitSkim =cms.Path(l1MuBitsSkimseq)  
0139 
0140 #SKIMStreamL1MuBit = cms.FilteredStream(
0141 #    responsible = 'DPG',
0142 #    name = 'L1MuBit',
0143 #    paths = (pathL1MuBitSkim),
0144 #    content = skimContent.outputCommands,
0145 #    selectEvents = cms.untracked.PSet(),
0146 #    dataTier = cms.untracked.string('RAW-RECO')
0147 #    )
0148 
0149 #####################
0150 
0151 #from DPGAnalysis.Skims.RPCSkim_cff import *
0152 #pathrpcTecSkim =cms.Path(rpcTecSkimseq)  
0153 
0154 #SKIMStreamRPC = cms.FilteredStream(
0155 #    responsible = 'DPG',
0156 #    name = 'RPC',
0157 #    paths = (pathrpcTecSkim),
0158 #    content = skimContent.outputCommands,
0159 #    selectEvents = cms.untracked.PSet(),
0160 #    dataTier = cms.untracked.string('RAW-RECO')
0161 #    )
0162 
0163 #####################
0164 
0165 #from DPGAnalysis.Skims.singleMuonSkim_cff import *
0166 #from DPGAnalysis.Skims.singleElectronSkim_cff import *
0167 #from DPGAnalysis.Skims.muonTagProbeFilters_cff import *
0168 #from DPGAnalysis.Skims.electronTagProbeFilters_cff import *
0169 #from DPGAnalysis.Skims.singlePhotonSkim_cff import *
0170 #from DPGAnalysis.Skims.jetSkim_cff import *
0171 #from DPGAnalysis.Skims.METSkim_cff import *
0172 #from DPGAnalysis.Skims.singlePfTauSkim_cff import *
0173 
0174 #singleMuPt5SkimPath=cms.Path(singleMuPt5RecoQualitySeq)
0175 #singleElectronPt5SkimPath=cms.Path(singleElectronPt5RecoQualitySeq)
0176 #singlePhotonPt5SkimPath=cms.Path(singlePhotonPt5QualitySeq)
0177 #muonJPsiMMSkimPath=cms.Path(muonJPsiMMRecoQualitySeq)
0178 #jetSkimPath=cms.Path(jetRecoQualitySeq)
0179 #singlePfTauPt15SkimPath=cms.Path(singlePfTauPt15QualitySeq)
0180 #SKIMStreamTPG = cms.FilteredStream(
0181 #    responsible = 'TPG',
0182 #    name = 'TPG',
0183 #    paths = (singleMuPt5SkimPath,singleElectronPt5SkimPath,singlePhotonPt5SkimPath,muonJPsiMMSkimPath,jetSkimPath,singlePfTauPt15SkimPath),
0184 #    content = skimContent.outputCommands,
0185 #    selectEvents = cms.untracked.PSet(),
0186 #    dataTier = cms.untracked.string('USER')
0187 #    )
0188     
0189 #####################
0190 
0191 #from DPGAnalysis.Skims.ecalrechitsSkim_cff import *
0192 #ecalrechitSkimPath = cms.Path(ecalrechitSkim)
0193 #SKIMStreamEcalRH = cms.FilteredStream(
0194 #    responsible = 'Ecal DPG',
0195 #    name = 'EcalRH',
0196 #    paths = (ecalrechitSkimPath),
0197 #    content = skimContent.outputCommands,
0198 #    selectEvents = cms.untracked.PSet(),
0199 #    dataTier = cms.untracked.string('RAW-RECO')
0200 #    )
0201 
0202 #####################
0203 
0204 #from DPGAnalysis.Skims.goodvertexSkim_cff import *
0205 #goodvertexSkimPath = cms.Path(goodvertexSkim)
0206 #SKIMStreamGoodVtx = cms.FilteredStream(
0207 #    responsible = 'Tracking POG',
0208 #    name = 'GoodVtx',
0209 #    paths = (goodvertexSkimPath),
0210 #    content = skimContent.outputCommands,
0211 #    selectEvents = cms.untracked.PSet(),
0212 #    dataTier = cms.untracked.string('RAW-RECO')
0213 #    )
0214 
0215 #############
0216 
0217 #from DPGAnalysis.Skims.goodcollSkim_cff import *
0218 #pathgoodcoll1 = cms.Path(goodcollL1requirement)
0219 #pathgoodcolhf = cms.Path(goodcollHFrequirement)
0220 
0221 #SKIMStreamGoodCol = cms.FilteredStream(
0222 #    responsible = 'PVT',
0223 #    name = 'GoodCol',
0224 #    paths = (goodvertexSkimPath,pathgoodcoll1,pathgoodcolhf),
0225 #    content = skimContent.outputCommands,
0226 #    selectEvents = cms.untracked.PSet(),
0227 #    dataTier = cms.untracked.string('RAW-RECO')
0228 #    )
0229 
0230 #####################
0231 
0232 #from DPGAnalysis.Skims.muonTracksSkim_cff import *
0233 #muonTracksSkimPath = cms.Path(muonTracksSkim)
0234 #SKIMStreamMuonTrack = cms.FilteredStream(
0235 #        responsible = 'Muon POG',
0236 #        name = 'MuonTrack',
0237 #        paths = (muonTracksSkimPath),
0238 #        content = skimContent.outputCommands,
0239 #        selectEvents = cms.untracked.PSet(),
0240 #        dataTier = cms.untracked.string('RAW-RECO')
0241 #        )
0242 
0243 #####################
0244 
0245 #SKIMStreamMuonDPG = cms.FilteredStream(
0246 #        responsible = 'Muon DPG',
0247 #        name = 'MuonDPG',
0248 #        paths = (muonTracksSkimPath,pathdtSkim,pathHLTdtSkim,pathCSCHLTSkim,pathCSCAloneSkim,pathrpcTecSkim,),
0249 #        content = skimContent.outputCommands,
0250 #        selectEvents = cms.untracked.PSet(),
0251 #        dataTier = cms.untracked.string('RAW-RECO')
0252 #        )
0253 
0254 #####################
0255 
0256 #from DPGAnalysis.Skims.valSkim_cff import *
0257 #relvaltrackSkimPath = cms.Path( relvaltrackSkim )
0258 #relvalmuonSkimPath = cms.Path( relvalmuonSkim )
0259 #SKIMStreamValSkim = cms.FilteredStream(
0260 #    responsible = 'RECO',
0261 #    name = 'ValSkim',
0262 #    paths = (relvaltrackSkimPath,relvalmuonSkimPath),
0263 #    content = skimContent.outputCommands,
0264 #    selectEvents = cms.untracked.PSet(),
0265 #    dataTier = cms.untracked.string('RAW-RECO')
0266 #    )
0267 
0268 #####################
0269 
0270 #from DPGAnalysis.Skims.WZEGSkim_cff import *
0271 #WZEGSkimPath = cms.Path ( WZfilterSkim )
0272 #SKIMStreamWZEG = cms.FilteredStream(
0273 #    responsible = 'ECAL DPG & EGM POG',
0274 #    name = 'WZEG',
0275 #    paths = ( WZEGSkimPath ),
0276 #    content = skimContent.outputCommands,
0277 #    selectEvents = cms.untracked.PSet(),
0278 #    dataTier = cms.untracked.string('RAW-RECO')
0279 #    )
0280 
0281 
0282 #####################
0283 
0284 
0285 from DPGAnalysis.Skims.WMuSkim_cff import *
0286 WMuPath = cms.Path( pfMetWMuNuSeq )
0287 SKIMStreamWMu = cms.FilteredStream(
0288     responsible = 'DDT Test',
0289     name = 'WMu',
0290     paths = ( WMuPath ),
0291     content = skimContent.outputCommands,
0292     selectEvents = cms.untracked.PSet(),
0293     dataTier = cms.untracked.string('RAW-RECO')
0294     )
0295 
0296 
0297 from DPGAnalysis.Skims.WElectronSkim_cff import *
0298 WElectronPath = cms.Path( elecMetSeq )
0299 SKIMStreamWElectron = cms.FilteredStream(
0300     responsible = 'Egamma POG',
0301     name = 'WElectron',
0302     paths = ( WElectronPath ),
0303     content = skimContent.outputCommands,
0304     selectEvents = cms.untracked.PSet(),
0305     dataTier = cms.untracked.string('RAW-RECO')
0306     )
0307 
0308 
0309 
0310 from DPGAnalysis.Skims.TopMuEGSkim_cff import *
0311 TopMuEGPath = cms.Path( TopMuEGsequence )
0312 SKIMStreamTopMuEG = cms.FilteredStream(
0313     responsible = 'BTV',
0314     name = 'TopMuEG',
0315     paths = ( TopMuEGPath ),
0316     content = skimContent.outputCommands,
0317     selectEvents = cms.untracked.PSet(),
0318     dataTier = cms.untracked.string('RAW-RECO')
0319     )
0320 
0321 
0322 
0323 from DPGAnalysis.Skims.ZMuSkim_cff import *
0324 from DPGAnalysis.Skims.ZmmgSkim_cff import *
0325 
0326 ZMuSkimPath = cms.Path(diMuonSelSeq)
0327 ZmmgSkimPath = cms.Path(ZmmgSkimSeq)
0328 WtcMetSkimPath = cms.Path(tcMetWMuNuSeq)
0329 WpfMetSkimPath = cms.Path(pfMetWMuNuSeq)
0330 #SKIMStreamWZMu   = cms.FilteredStream(
0331 #    responsible = 'Muon DPG-POG-MuEW',
0332 #    name = 'WZMu',
0333 #    paths = (ZMuSkimPath, WtcMetSkimPath, WpfMetSkimPath),
0334 #    content = skimContent.outputCommands,
0335 #    selectEvents = cms.untracked.PSet(),
0336 #    dataTier = cms.untracked.string('RAW-RECO')
0337 #    )
0338 SKIMStreamZMu   = cms.FilteredStream(
0339     responsible = 'Muon DPG-POG-MuEW',
0340     name = 'ZMu',
0341     paths = (ZMuSkimPath),
0342     content = skimContent.outputCommands,
0343     selectEvents = cms.untracked.PSet(),
0344     dataTier = cms.untracked.string('RAW-RECO')
0345     )
0346 SKIMStreamZmmg   = cms.FilteredStream(
0347     responsible = 'ECAL DPG',
0348     name = 'Zmmg',
0349     paths = (ZmmgSkimPath),
0350     content = skimContent.outputCommands,
0351     selectEvents = cms.untracked.PSet(),
0352     dataTier = cms.untracked.string('RAW-RECO')
0353     )
0354 #SKIMStreamWMu   = cms.FilteredStream(
0355 #    responsible = 'Muon DPG-POG-MuEW',
0356 #    name = 'WMu',
0357 #    paths = (WtcMetSkimPath, WpfMetSkimPath),
0358 #    content = skimContent.outputCommands,
0359 #    selectEvents = cms.untracked.PSet(),
0360 #    dataTier = cms.untracked.string('RAW-RECO')
0361 #    )
0362 
0363 #####################
0364 
0365 #from DPGAnalysis.Skims.TkSDSkim_cff import *
0366 #TkSDSkimPath = cms.Path (TkSD_Seq)
0367 #SKIMStreamTkSD = cms.FilteredStream(
0368 #    responsible = 'Tracker DPG & Tracking POG',
0369 #    name = 'TkSD',
0370 #    paths = ( TkSDSkimPath ),
0371 #    content = skimContent.outputCommands,
0372 #    selectEvents = cms.untracked.PSet(),
0373 #    dataTier = cms.untracked.string('RAW-RECO')
0374 #    )
0375 
0376 #####################
0377 
0378 from DPGAnalysis.Skims.WElectronSkim_cff import *
0379 WElectronPath = cms.Path( elecMetSeq )
0380 SKIMStreamWElectron = cms.FilteredStream(
0381     responsible = 'ECAL DPG',
0382     name = 'WElectron',
0383     paths = ( WElectronPath ),
0384     content = WElectronSkimContent.outputCommands,
0385     selectEvents = cms.untracked.PSet(),
0386     dataTier = cms.untracked.string('USER')
0387     )
0388 
0389 #####################
0390 
0391 from DPGAnalysis.Skims.ZElectronSkim_cff import *
0392 ZElectronPathGsf = cms.Path( zdiElectronSequence )
0393 
0394 SKIMStreamZElectron = cms.FilteredStream(
0395     responsible = 'ECAL DPG',
0396     name = 'ZElectron',
0397     paths = ( ZElectronPathGsf ),
0398     content = skimContent.outputCommands,
0399     selectEvents = cms.untracked.PSet(),
0400     dataTier = cms.untracked.string('RAW-RECO')
0401     )
0402 
0403 #####################
0404 
0405 from DPGAnalysis.Skims.HighMETSkim_cff import *
0406 condPath = cms.Path(CondMETSelSeq)
0407 #pfPath = cms.Path(pfMETSelSeq)
0408 #caloPath = cms.Path(caloMETSelSeq)
0409 #miniPath = cms.Path(miniMETSelSeq)
0410 SKIMStreamHighMET   = cms.FilteredStream(
0411             responsible = 'MET Group',
0412             name = 'HighMET',
0413             paths = (condPath),
0414 #           paths = (pfPath),
0415 #           paths = (caloPath),
0416 #           paths = (miniPath),
0417             content = skimContent.outputCommands,
0418             selectEvents = cms.untracked.PSet(),
0419             dataTier = cms.untracked.string('RAW-RECO')
0420             )
0421 
0422 #####################
0423 
0424 ###### MuTau Skim #########
0425 from DPGAnalysis.Skims.MuTauSkim_cff import *
0426 MuTauPath = cms.Path( mutauSkimSequence )
0427 SKIMStreamMuTau = cms.FilteredStream(
0428     responsible = 'Tau POG',
0429     name = 'MuTau',
0430     paths = ( MuTauPath ),
0431     content = skimMiniAODContent.outputCommands,
0432     selectEvents = cms.untracked.PSet(),
0433     dataTier = cms.untracked.string('USER')
0434     )
0435 
0436 ##########################
0437 
0438 
0439 from DPGAnalysis.Skims.ZHbbSkim_cff import *
0440 ZHbbSkimPath = cms.Path(ZHbbSkim)
0441 SKIMStreamZHbb = cms.FilteredStream(
0442     responsible = 'BTV',
0443     name = 'ZHbb',
0444     paths = (ZHbbSkimPath),
0445     content = skimContent.outputCommands,
0446     selectEvents = cms.untracked.PSet(),
0447     dataTier = cms.untracked.string('RAW-RECO')
0448     )
0449 
0450 
0451 
0452