File indexing completed on 2023-03-17 11:10:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("myprocess")
0004 process.TFileService=cms.Service("TFileService",fileName=cms.string('JECplots.root'))
0005
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 from Configuration.AlCa.GlobalTag import GlobalTag
0009 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc')
0010
0011
0012 process.load('JetMETCorrections.Configuration.JetCorrectors_cff')
0013
0014
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(1000)
0018 )
0019
0020 process.source = cms.Source("PoolSource",
0021 fileNames = cms.untracked.vstring('/store/relval/CMSSW_7_2_0_pre7/RelValProdTTbar/AODSIM/PRE_STA72_V4-v1/00000/3E58BB46-BD4B-E411-B2EC-002618943856.root')
0022 )
0023 process.TFileService=cms.Service("TFileService",fileName=cms.string('plots.root'))
0024
0025
0026
0027
0028
0029
0030
0031 process.testPF = cms.EDAnalyzer('PFJetCorrectorOnTheFly',
0032 JetCorrector = cms.InputTag('ak4PFL2L3ResidualCorrector'),
0033 JetCollectionName = cms.InputTag('ak4PFJets'),
0034 MinRawJetPt = cms.double(7),
0035 Debug = cms.bool(True)
0036 )
0037
0038
0039 process.p = cms.Path(process.ak4PFL2L3ResidualCorrectorChain * process.testPF)
0040