1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
6 _stdalgos_5x = cms.VPSet(full_5x,cutbased,PhilV1)
9 _chsalgos_5x = cms.VPSet(full_5x_chs,cutbased)
10 _chsalgos_74x = cms.VPSet(full_74x_chs,cutbased)
11 _chsalgos_76x = cms.VPSet(full_76x_chs,cutbased)
12 _chsalgos_80x = cms.VPSet(full_80x_chs,cutbased)
13 _chsalgos_81x = cms.VPSet(full_81x_chs,cutbased)
14 _chsalgos_94x = cms.VPSet(full_94x_chs,cutbased)
15 _chsalgos_102x = cms.VPSet(full_102x_chs,cutbased)
16 _chsalgos_106X_UL17 = cms.VPSet(full_106x_UL17_chs,cutbased)
18 _stdalgos = _chsalgos_81x
21 pileupJetId = cms.EDProducer(
'PileupJetIdProducer',
22 produceJetIds = cms.bool(
True),
23 jetids = cms.InputTag(
""),
24 runMvas = cms.bool(
True),
25 jets = cms.InputTag(
"ak4PFJetsCHS"),
26 vertexes = cms.InputTag(
"offlinePrimaryVertices"),
27 algos = cms.VPSet(_stdalgos),
28 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
29 jec = cms.string(
"AK4PFchs"),
30 applyJec = cms.bool(
True),
31 inputIsCorrected = cms.bool(
False),
32 residualsFromTxt = cms.bool(
False),
33 usePuppi = cms.bool(
False),
36 run2_miniAOD_UL.toModify(pileupJetId, algos = _chsalgos_106X_UL17)
39 pileupJetIdCalculator = pileupJetId.clone(
40 runMvas = cms.bool(
False),
41 algos = cms.VPSet(cutbased),
45 pileupJetIdEvaluator = pileupJetId.clone(
46 produceJetIds = cms.bool(
False),
47 jetids = cms.InputTag(
"pileupJetIdCalculator"),
50 pileUpJetIDTask = cms.Task(pileupJetId,
51 pileupJetIdCalculator,