Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:25

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("SKIM")
0003 process.load('FWCore.MessageService.MessageLogger_cfi')
0004 process.load('JetMETCorrections.Configuration.jecHLTFilters_cfi')
0005 #############   Set the number of events #############
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(100)
0008 )
0009 #############   Define the source file ###############
0010 process.source = cms.Source("PoolSource",
0011     fileNames = cms.untracked.vstring(
0012 '/store/mc/Summer09/QCDDiJet_Pt15to20/AODSIM/MC_31X_V3_AODSIM-v1/0046/CEDF080D-CC8F-DE11-A831-001E682F84DE.root')
0013 )
0014 
0015 #############   Path       ###########################
0016 process.skimPath = cms.Path(process.HLTDiJetAve30U8E29)
0017 
0018 #############   output module ########################
0019 process.compress = cms.OutputModule("PoolOutputModule",
0020     outputCommands = cms.untracked.vstring(
0021         'drop *',
0022         'keep *_sisCone5CaloJets_*_*',
0023         'keep *_sisCone7CaloJets_*_*',
0024         'keep *_kt4CaloJets_*_*',
0025         'keep *_kt6CaloJets_*_*',
0026         'keep *_antikt5CaloJets_*_*',
0027         'keep *_iterativeCone5CaloJets_*_*',  
0028         'keep *_sisCone5PFJets_*_*',
0029         'keep *_sisCone7PFJets_*_*',
0030         'keep *_kt4PFJets_*_*',
0031         'keep *_kt6PFJets_*_*',
0032         'keep *_antikt5PFJets_*_*',
0033         'keep *_iterativeCone5CaloJets_*_*',
0034         'keep *_iterativeCone5JetExtender_*_*',
0035         'keep *_sisCone5JetExtender_*_*',
0036         'keep *_kt4JetExtender_*_*',
0037         'keep *_TriggerResults_*_*',
0038         'keep *_hltTriggerSummaryAOD_*_*', 
0039         'keep *_towerMaker_*_*',
0040         'keep *_EventAuxilary_*_*',
0041         'keep *_pixelVertices_*_*',
0042         'keep *_metHO_*_*',
0043         'keep *_metNoHF_*_*',
0044         'keep *_metNoHFHO_*_*', 
0045         'keep *_met_*_*'),
0046     SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('skimPath')), 
0047     fileName = cms.untracked.string('JetAOD_HLTDiJetAve30.root')
0048 )
0049 
0050 process.p = cms.EndPath(process.compress)
0051 #############   Format MessageLogger #################
0052 process.MessageLogger.cerr.FwkReport.reportEvery = 10