CMS 3D CMS Logo

RecoJetsGlobal_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
10 
11 jetGlobalRecoTask = cms.Task(recoJetsTask,
12  recoJetIdsTask,
13  recoTrackJetsTask)
14 jetGlobalReco = cms.Sequence(jetGlobalRecoTask)
15 jetHighLevelRecoTask = cms.Task(recoPFJetsTask,
16  jetCorrectorsForRecoTask,
17  recoJetAssociationsTask,
18  recoJetAssociationsExplicitTask,
19  recoJPTJetsTask)
20 jetHighLevelReco = cms.Sequence(jetHighLevelRecoTask)
21 
22 from RecoHI.HiJetAlgos.hiFJGridEmptyAreaCalculator_cff import hiFJGridEmptyAreaCalculator
23 from RecoHI.HiJetAlgos.hiFJRhoProducer import hiFJRhoProducer
24 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import kt4PFJetsForRho
25 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
26 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
27 from RecoHI.HiCentralityAlgos.pACentrality_cfi import pACentrality
28 pA_2016.toModify(pACentrality, producePixelTracks = False)
29 
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)
36 
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)
41 
42 pp_on_AA.toReplaceWith(jetGlobalRecoTask,_jetGlobalReco_HITask)
43 pp_on_AA.toReplaceWith(jetHighLevelRecoTask,_jetHighLevelReco_HITask)