1 import FWCore.ParameterSet.Config
as cms
3 from L1Trigger.Phase2L1ParticleFlow.l1SeedConePFJetProducer_cfi
import l1SeedConePFJetProducer
4 from L1Trigger.Phase2L1ParticleFlow.l1SeedConePFJetEmulatorProducer_cfi
import l1SeedConePFJetEmulatorProducer
5 from L1Trigger.Phase2L1ParticleFlow.l1tDeregionizerProducer_cfi
import l1tDeregionizerProducer
as l1tLayer2Deregionizer, l1tDeregionizerProducerExtended
as l1tLayer2DeregionizerExtended
6 l1tSCPFL1PF = l1SeedConePFJetProducer.clone(L1PFObjects =
'l1tLayer1:PF')
7 l1tSCPFL1Puppi = l1SeedConePFJetProducer.clone()
8 l1tSCPFL1PuppiEmulator = l1SeedConePFJetEmulatorProducer.clone(L1PFObjects =
'l1tLayer2Deregionizer:Puppi')
9 l1tSCPFL1PuppiCorrectedEmulator = l1SeedConePFJetEmulatorProducer.clone(L1PFObjects =
'l1tLayer2Deregionizer:Puppi',
11 correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs_20220308.root",
12 correctorDir =
"L1PuppiSC4EmuJets")
14 _correctedJets = cms.EDProducer(
"L1TCorrectedPFJetProducer",
15 jets = cms.InputTag(
"_tag_"),
16 correctorFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs_20220308.root"),
17 correctorDir = cms.string(
"_dir_"),
18 copyDaughters = cms.bool(
False),
19 emulate = cms.bool(
False)
23 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
24 phase2_hgcalV10.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_106X.root")
25 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
26 phase2_hgcalV11.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs_20220308.root")
28 from L1Trigger.Phase2L1ParticleFlow.l1tMHTPFProducer_cfi
import l1tMHTPFProducer
29 l1tSCPFL1PuppiCorrectedEmulatorMHT = l1tMHTPFProducer.clone(jets =
'l1tSCPFL1PuppiCorrectedEmulator')
31 L1TPFJetsTask = cms.Task(
32 l1tLayer2Deregionizer, l1tSCPFL1PF, l1tSCPFL1Puppi, l1tSCPFL1PuppiEmulator, l1tSCPFL1PuppiCorrectedEmulator, l1tSCPFL1PuppiCorrectedEmulatorMHT
35 l1tSCPFL1PuppiExtended = l1SeedConePFJetProducer.clone(L1PFObjects =
'l1tLayer1Extended:Puppi')
36 l1tSCPFL1PuppiExtendedEmulator = l1SeedConePFJetEmulatorProducer.clone(L1PFObjects =
'l1tLayer2DeregionizerExtended:Puppi')
37 l1tSCPFL1PuppiExtendedCorrectedEmulator = l1SeedConePFJetEmulatorProducer.clone(L1PFObjects =
'l1tLayer2DeregionizerExtended:Puppi',
39 correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs_20220308.root",
40 correctorDir =
"L1PuppiSC4EmuJets")
42 L1TPFJetsTask = cms.Task(
43 l1tLayer2Deregionizer, l1tSCPFL1PF, l1tSCPFL1Puppi, l1tSCPFL1PuppiEmulator, l1tSCPFL1PuppiCorrectedEmulator, l1tSCPFL1PuppiCorrectedEmulatorMHT
46 L1TPFJetsExtendedTask = cms.Task(
47 l1tLayer2DeregionizerExtended, l1tSCPFL1PuppiExtended, l1tSCPFL1PuppiExtendedEmulator, l1tSCPFL1PuppiExtendedCorrectedEmulator
50 L1TPFJetsEmulationTask = cms.Task(
51 l1tLayer2Deregionizer, l1tSCPFL1PuppiEmulator, l1tSCPFL1PuppiCorrectedEmulator, l1tSCPFL1PuppiCorrectedEmulatorMHT