Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoJets.Configuration.RecoJets_cff import *
0004 from RecoJets.Configuration.JetIDProducers_cff import *
0005 from RecoJets.Configuration.RecoTrackJets_cff import *
0006 from RecoJets.Configuration.RecoJetAssociations_cff import *
0007 from RecoJets.Configuration.RecoPFJets_cff import *
0008 from RecoJets.Configuration.RecoJPTJets_cff import *
0009 from JetMETCorrections.Configuration.JetCorrectorsForReco_cff import *
0010 
0011 jetGlobalRecoTask = cms.Task(recoJetsTask, 
0012                              recoJetIdsTask, 
0013                              recoTrackJetsTask)
0014 jetGlobalReco = cms.Sequence(jetGlobalRecoTask)
0015 jetHighLevelRecoTask = cms.Task(recoPFJetsTask,
0016                                 jetCorrectorsForRecoTask,
0017                                 recoJetAssociationsTask,
0018                                 recoJetAssociationsExplicitTask,
0019                                 recoJPTJetsTask)
0020 jetHighLevelReco = cms.Sequence(jetHighLevelRecoTask)
0021 
0022 from RecoHI.HiJetAlgos.hiFJGridEmptyAreaCalculator_cff import hiFJGridEmptyAreaCalculator
0023 from RecoHI.HiJetAlgos.hiFJRhoProducer import hiFJRhoProducer
0024 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import kt4PFJetsForRho
0025 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
0026 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0027 from RecoHI.HiCentralityAlgos.pACentrality_cfi import pACentrality
0028 pA_2016.toModify(pACentrality, producePixelTracks = False)
0029 
0030 _jetHighLevelReco_pATask = jetHighLevelRecoTask.copy()
0031 _jetHighLevelReco_pATask.add(kt4PFJetsForRho)
0032 _jetHighLevelReco_pATask.add(hiFJRhoProducer)
0033 _jetHighLevelReco_pATask.add(hiFJGridEmptyAreaCalculator)
0034 _jetHighLevelReco_pATask.add(pACentrality)
0035 pA_2016.toReplaceWith(jetHighLevelRecoTask, _jetHighLevelReco_pATask)
0036 
0037 _jetGlobalReco_HITask = cms.Task(recoJetsHITask,recoJetIdsTask)
0038 _jetGlobalReco_HI = cms.Sequence(_jetGlobalReco_HITask)
0039 _jetHighLevelReco_HITask = cms.Task(recoPFJetsHITask,jetCorrectorsForRecoTask,recoJetAssociationsTask)
0040 _jetHighLevelReco_HI = cms.Sequence(_jetHighLevelReco_HITask)
0041 
0042 pp_on_AA.toReplaceWith(jetGlobalRecoTask,_jetGlobalReco_HITask)
0043 pp_on_AA.toReplaceWith(jetHighLevelRecoTask,_jetHighLevelReco_HITask)