CMS 3D CMS Logo

jetProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
9 
10 
11 makePatJetsTask = cms.Task(
12  patJetCorrectionsTask,
13  patJetCharge,
14  patJetPartonMatch,
15  patJetGenJetMatch,
16  patJetFlavourIdLegacyTask,
17  patJetFlavourIdTask,
18  patJets
19  )
20 
22 _makePatJetsTaskHI2018 = cms.Task(
23  recoPFJetsHIpostAODTask,
24  recoGenJetsHIpostAODTask,
25  makePatJetsTask.copy()
26 )
27 _makePatJetsTaskHI = cms.Task(
28  recoGenJetsHIpostAODTask,
29  makePatJetsTask.copy()
30 )
31 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
32 pp_on_AA_2018.toReplaceWith(makePatJetsTask, _makePatJetsTaskHI2018)
33 from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff import pp_on_PbPb_run3
34 pp_on_PbPb_run3.toReplaceWith(makePatJetsTask, _makePatJetsTaskHI)
35 
36 makePatJets = cms.Sequence(makePatJetsTask)
37