5 _stdalgos_4x = cms.VPSet(full, cutbased,PhilV1)
6 _stdalgos_5x = cms.VPSet(full_5x,cutbased,PhilV1)
8 _chsalgos_4x = cms.VPSet(full, cutbased)
9 _chsalgos_5x = cms.VPSet(full_5x_chs,cutbased)
10 _chsalgos = _chsalgos_5x
14 cmssw_version = os.environ[
"CMSSW_VERSION"].
replace(
"CMSSW_",
"")
18 if cmssw_version.startswith(
"4"):
19 _stdalgos = _stdalgos_4x
20 _chsalgos = _chsalgos_4x
22 _stdalgos = _stdalgos_5x
23 _chsalgos = _chsalgos_5x
25 pileupJetIdProducer = cms.EDProducer(
'PileupJetIdProducer',
26 produceJetIds = cms.bool(
True),
27 jetids = cms.InputTag(
""),
28 runMvas = cms.bool(
True),
29 jets = cms.InputTag(
"selectedPatJetsPFlow"),
30 vertexes = cms.InputTag(
"offlinePrimaryVertices"),
31 algos = cms.VPSet(_stdalgos),
33 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
34 jec = cms.string(
"AK5PF"),
35 applyJec = cms.bool(
False),
36 inputIsCorrected = cms.bool(
True),
37 residualsFromTxt = cms.bool(
False),
38 residualsTxt = cms.FileInPath(
"RecoJets/JetProducers/data/dummy.txt"),
41 pileupJetIdProducerChs = cms.EDProducer(
'PileupJetIdProducer',
42 produceJetIds = cms.bool(
True),
43 jetids = cms.InputTag(
""),
44 runMvas = cms.bool(
True),
45 jets = cms.InputTag(
"selectedPatJetsPFlow"),
46 vertexes = cms.InputTag(
"offlinePrimaryVertices"),
47 algos = cms.VPSet(_chsalgos),
49 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
50 jec = cms.string(
"AK5PFchs"),
51 applyJec = cms.bool(
False),
52 inputIsCorrected = cms.bool(
True),
53 residualsFromTxt = cms.bool(
False),
54 residualsTxt = cms.FileInPath(
"RecoJets/JetProducers/data/dummy.txt"),