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)
44 _makePatJetsWithDeepFlavorTask = makePatJetsTask.copy()
45 _makePatJetsWithDeepFlavorTask.add(
46 pfImpactParameterTagInfos,
47 pfSecondaryVertexTagInfos,
48 pfInclusiveSecondaryVertexFinderTagInfos,
52 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
53 run2_miniAOD_80XLegacy.toReplaceWith(
54 makePatJetsTask, _makePatJetsWithDeepFlavorTask