1 import FWCore.ParameterSet.Config
as cms
4 _pfMet = pfMet.clone(calculateSignificance =
False)
5 l1PFMetCalo = _pfMet.clone(src =
"l1pfCandidates:Calo")
6 l1PFMetPF = _pfMet.clone(src =
"l1pfCandidates:PF")
7 l1PFMetPuppi = _pfMet.clone(src =
"l1pfCandidates:Puppi")
9 l1PFMets = cms.Sequence(l1PFMetCalo + l1PFMetPF + l1PFMetPuppi)
12 _ak4PFJets = ak4PFJets.clone(doAreaFastjet =
False)
13 ak4PFL1Calo = _ak4PFJets.clone(src =
'l1pfCandidates:Calo')
14 ak4PFL1PF = _ak4PFJets.clone(src =
'l1pfCandidates:PF')
15 ak4PFL1Puppi = _ak4PFJets.clone(src =
'l1pfCandidates:Puppi')
17 _correctedJets = cms.EDProducer(
"L1TCorrectedPFJetProducer",
18 jets = cms.InputTag(
"_tag_"),
19 correctorFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200.root"),
20 correctorDir = cms.string(
"_dir_"),
21 copyDaughters = cms.bool(
False)
24 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
25 phase2_hgcalV10.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_106X.root")
26 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
27 phase2_hgcalV11.toModify(_correctedJets, correctorFile =
"L1Trigger/Phase2L1ParticleFlow/data/jecs/jecs.PU200_110X.root")
29 ak4PFL1CaloCorrected = _correctedJets.clone(jets =
'ak4PFL1Calo', correctorDir =
'L1CaloJets')
30 ak4PFL1PFCorrected = _correctedJets.clone(jets =
'ak4PFL1PF', correctorDir =
'L1PFJets')
31 ak4PFL1PuppiCorrected = _correctedJets.clone(jets =
'ak4PFL1Puppi', correctorDir =
'L1PuppiJets')
33 l1PFJets = cms.Sequence(
34 ak4PFL1Calo + ak4PFL1PF + ak4PFL1Puppi +
35 ak4PFL1CaloCorrected + ak4PFL1PFCorrected + ak4PFL1PuppiCorrected