File indexing completed on 2024-04-06 12:25:36
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PURECO")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0007
0008
0009 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
0010 process.source = cms.Source(
0011 "PoolSource",
0012 fileNames = cms.untracked.vstring(
0013 '/store/relval/CMSSW_7_2_0_pre6/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/PRE_LS172_V11-v1/00000/224918A9-C63F-E411-9E41-0025905A6118.root',
0014 '/store/relval/CMSSW_7_2_0_pre6/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/PRE_LS172_V11-v1/00000/80D36272-BB3F-E411-A865-0026189437EB.root',
0015 '/store/relval/CMSSW_7_2_0_pre6/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/PRE_LS172_V11-v1/00000/B449F5E7-BD3F-E411-A643-002618943874.root',
0016 '/store/relval/CMSSW_7_2_0_pre6/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/PRE_LS172_V11-v1/00000/E8CC1FE0-CA3F-E411-9060-0025905B8592.root'
0017 )
0018
0019 )
0020
0021 process.load('Configuration/EventContent/EventContent_cff')
0022 process.output = cms.OutputModule(
0023 "PoolOutputModule",
0024 outputCommands = process.RecoJetsAOD.outputCommands,
0025 fileName = cms.untracked.string('testJetRecoRECO.root'),
0026 dataset = cms.untracked.PSet(
0027 dataTier = cms.untracked.string(''),
0028 filterName = cms.untracked.string('')
0029 )
0030 )
0031 process.output.outputCommands.append('drop *_*_*_RECO')
0032
0033
0034
0035
0036 process.output.outputCommands.append('keep *_*_*_PURECO')
0037 process.output.outputCommands.append('keep recoPFCandidates_particleFlow_*_*')
0038
0039
0040
0041
0042 process.load('Configuration.StandardSequences.Services_cff')
0043 process.load('Configuration.StandardSequences.GeometryDB_cff')
0044 process.load('Configuration.StandardSequences.MagneticField_cff')
0045 process.load('Configuration.StandardSequences.Reconstruction_cff')
0046 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0047 from Configuration.AlCa.GlobalTag import GlobalTag
0048 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0049
0050 process.load('CommonTools.ParticleFlow.pfNoPileUpJME_cff')
0051 process.load("RecoJets/JetProducers/ak8PFJetsCS_cfi")
0052 process.load("RecoJets/JetProducers/ak8PFJetsCHSCS_cfi")
0053 process.load('CommonTools.PileupAlgos.softKiller_cfi')
0054
0055 process.recoPU = cms.Path(process.pfNoPileUpJMESequence*process.ak8PFJetsCS*process.ak8PFJetsCHSCS*process.particleFlowSKPtrs)
0056
0057 process.out = cms.EndPath(process.output)
0058
0059
0060 process.schedule = cms.Schedule(process.recoPU,process.out)