Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:35:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("RECO4")
0004 
0005 process.load('Configuration/StandardSequences/Services_cff')
0006 process.load('FWCore/MessageService/MessageLogger_cfi')
0007 process.load("Configuration.StandardSequences.GeometryDB_cff")
0008 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0009 process.load('Configuration/StandardSequences/Reconstruction_cff')
0010 process.load('Configuration/StandardSequences/EndOfProcess_cff')
0011 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0012 process.load('Configuration/EventContent/EventContent_cff')
0013 process.load('RecoJets.Configuration.RecoJPTJets_cff')
0014 process.load('JetMETCorrections.Configuration.CorrectedJetProducersAllAlgos_cff')
0015 process.load('JetMETCorrections.Configuration.CorrectedJetProducers_cff')
0016 process.load('JetMETCorrections.Configuration.JetCorrectors_cff')
0017 
0018 from Configuration.AlCa.GlobalTag import GlobalTag
0019 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(100)
0023 )
0024 
0025 #################################################################  
0026 
0027 ### For 219, file from RelVal
0028 process.source = cms.Source("PoolSource",
0029    fileNames = cms.untracked.vstring(
0030    '/store/relval/CMSSW_10_6_4/RelValProdTTbar_13_pmx25ns/MINIAODSIM/PUpmx25ns_106X_upgrade2018_realistic_v9-v1/10000/87AD30D2-F673-F54C-8974-CB916CC66098.root'
0031    )
0032 )
0033 process.RECOoutput = cms.OutputModule("PoolOutputModule",
0034     outputCommands = cms.untracked.vstring("keep *_JetPlusTrackZSPCorJetAntiKt4PAT_*_*"),
0035     fileName = cms.untracked.string('file:jptreco.root')
0036 )
0037 
0038 ##########
0039 process.endjob_step = cms.EndPath(process.endOfProcess)
0040 process.RECOoutput_step = cms.EndPath(process.RECOoutput)
0041 
0042 process.load("RecoJets.JetPlusTracks.PATJetPlusTrackCorrections_cff")
0043 process.p01=cms.Path(process.PATJetPlusTrackCorrectionsAntiKt4)
0044 
0045 process.p1 =cms.Schedule(
0046                      process.p01,
0047                      process.endjob_step,
0048                      process.RECOoutput_step
0049 )
0050 
0051 # Automatic addition of the customisation function from Configuration.DataProcessing.Utils
0052 from Configuration.DataProcessing.Utils import addMonitoring
0053 
0054 #call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
0055 process = addMonitoring(process)