1 import FWCore.ParameterSet.Config
as cms
11 jetGlobalRecoTask = cms.Task(recoJetsTask,
14 jetGlobalReco = cms.Sequence(jetGlobalRecoTask)
15 jetHighLevelRecoTask = cms.Task(recoPFJetsTask,
16 jetCorrectorsForRecoTask,
17 recoJetAssociationsTask,
18 recoJetAssociationsExplicitTask,
20 jetHighLevelReco = cms.Sequence(jetHighLevelRecoTask)
22 from RecoHI.HiJetAlgos.hiFJGridEmptyAreaCalculator_cff
import hiFJGridEmptyAreaCalculator
23 from RecoHI.HiJetAlgos.hiFJRhoProducer
import hiFJRhoProducer
25 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
26 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
27 from RecoHI.HiCentralityAlgos.pACentrality_cfi
import pACentrality
28 pA_2016.toModify(pACentrality, producePixelTracks =
False)
30 _jetHighLevelReco_pATask = jetHighLevelRecoTask.copy()
31 _jetHighLevelReco_pATask.add(kt4PFJetsForRho)
32 _jetHighLevelReco_pATask.add(hiFJRhoProducer)
33 _jetHighLevelReco_pATask.add(hiFJGridEmptyAreaCalculator)
34 _jetHighLevelReco_pATask.add(pACentrality)
35 pA_2016.toReplaceWith(jetHighLevelRecoTask, _jetHighLevelReco_pATask)
37 _jetGlobalReco_HITask = cms.Task(recoJetsHITask,recoJetIdsTask)
38 _jetGlobalReco_HI = cms.Sequence(_jetGlobalReco_HITask)
39 _jetHighLevelReco_HITask = cms.Task(recoPFJetsHITask,jetCorrectorsForRecoTask,recoJetAssociationsTask)
40 _jetHighLevelReco_HI = cms.Sequence(_jetHighLevelReco_HITask)
42 pp_on_AA_2018.toReplaceWith(jetGlobalRecoTask,_jetGlobalReco_HITask)
43 pp_on_AA_2018.toReplaceWith(jetHighLevelRecoTask,_jetHighLevelReco_HITask)