1 import FWCore.ParameterSet.Config
as cms
3 from L1Trigger.Phase2L1ParticleFlow.l1tSeedConePFJetProducer_cfi
import l1tSeedConePFJetProducer, l1tSeedConePFJetEmulatorProducer
4 from L1Trigger.Phase2L1ParticleFlow.l1tDeregionizerProducer_cfi
import l1tDeregionizerProducer
as l1tLayer2Deregionizer
5 l1tSCPFL1PF = l1tSeedConePFJetProducer.clone(L1PFObjects =
'l1tLayer1:PF')
6 l1tSCPFL1Puppi = l1tSeedConePFJetProducer.clone()
7 l1tSCPFL1PuppiEmulator = l1tSeedConePFJetEmulatorProducer.clone(L1PFObjects =
'l1tLayer2Deregionizer:Puppi')
9 _correctedJets = cms.EDProducer(
"L1TCorrectedPFJetProducer",
10 jets = cms.InputTag(
"_tag_"),
11 correctorFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_110X.root"),
12 correctorDir = cms.string(
"_dir_")
15 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
16 phase2_hgcalV10.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_106X.root")
17 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
18 phase2_hgcalV11.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_110X.root")
20 l1tSCPFL1PuppiCorrectedEmulator = _correctedJets.clone(jets =
'l1tSCPFL1PuppiEmulator', correctorDir =
'L1PuppiSC4EmuDeregJets')
22 from L1Trigger.Phase2L1ParticleFlow.l1tMHTPFProducer_cfi
import l1tMHTPFProducer
23 l1tSCPFL1PuppiCorrectedEmulatorMHT = l1tMHTPFProducer.clone()
25 L1TPFJetsTask = cms.Task(
26 l1tLayer2Deregionizer, l1tSCPFL1PF, l1tSCPFL1Puppi, l1tSCPFL1PuppiEmulator, l1tSCPFL1PuppiCorrectedEmulator, l1tSCPFL1PuppiCorrectedEmulatorMHT