Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("FWLitePlots")
00004
00005
00006 import FWCore.PythonUtilities.LumiList as LumiList
00007
00008
00009
00010 process = cms.Process("FWLitePlots")
00011
00012
00013 JSONfile = 'DCSTRONLY_132440-140388'
00014 myList = LumiList.LumiList (filename = JSONfile).getCMSSWString().split(',')
00015
00016
00017
00018 process.jetStudies = cms.PSet(
00019
00020 jetSrc = cms.InputTag('selectedPatJets'),
00021 pfJetSrc = cms.InputTag('selectedPatJetsAK5PF'),
00022 metSrc = cms.InputTag('patMETs'),
00023 pfMetSrc = cms.InputTag('patMETsPF'),
00024 useCalo = cms.bool(True)
00025 )
00026
00027
00028 process.pfJetStudies = process.jetStudies.clone( useCalo = cms.bool(False) )
00029
00030
00031 process.load('PhysicsTools.SelectorUtils.pfJetIDSelector_cfi')
00032 process.load('PhysicsTools.SelectorUtils.jetIDSelector_cfi')
00033
00034 process.plotParameters = cms.PSet (
00035 doTracks = cms.bool(False),
00036 useMC = cms.bool(False)
00037 )
00038
00039
00040 process.inputs = cms.PSet (
00041 fileNames = cms.vstring(
00042 'reco_7TeV_380_pat.root'
00043 ),
00044 lumisToProcess = cms.untracked.VLuminosityBlockRange( myList )
00045
00046 )
00047
00048 process.outputs = cms.PSet (
00049 outputName = cms.string('jetPlots.root')
00050 )