1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.Eras.Modifier_run2_miniAOD_devel_cff
import run2_miniAOD_devel
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)
17 _stdalgos = _chsalgos_81x
20 pileupJetId = cms.EDProducer(
'PileupJetIdProducer',
21 produceJetIds = cms.bool(
True),
22 jetids = cms.InputTag(
""),
23 runMvas = cms.bool(
True),
24 jets = cms.InputTag(
"ak4PFJetsCHS"),
25 vertexes = cms.InputTag(
"offlinePrimaryVertices"),
26 algos = cms.VPSet(_stdalgos),
27 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
28 jec = cms.string(
"AK4PFchs"),
29 applyJec = cms.bool(
True),
30 inputIsCorrected = cms.bool(
False),
31 residualsFromTxt = cms.bool(
False),
34 run2_miniAOD_devel.toModify(pileupJetId, algos = _chsalgos_102x)
37 pileupJetIdCalculator = pileupJetId.clone(
38 runMvas = cms.bool(
False),
39 algos = cms.VPSet(cutbased),
43 pileupJetIdEvaluator = pileupJetId.clone(
44 produceJetIds = cms.bool(
False),
45 jetids = cms.InputTag(
"pileupJetIdCalculator"),
48 pileUpJetIDTask = cms.Task(pileupJetId,
49 pileupJetIdCalculator,