1 import FWCore.ParameterSet.Config
as cms
11 makePatJetsTask = cms.Task(
12 patJetCorrectionsTask,
16 patJetFlavourIdLegacyTask,
22 _makePatJetsTaskHI2018 = cms.Task(
23 recoPFJetsHIpostAODTask,
24 recoGenJetsHIpostAODTask,
25 makePatJetsTask.copy()
27 _makePatJetsTaskHI = cms.Task(
28 recoGenJetsHIpostAODTask,
29 makePatJetsTask.copy()
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)
36 makePatJets = cms.Sequence(makePatJetsTask)