Skip to content

Commit

Permalink
Merge pull request #24655 from stepobr/from-CMSSW_10_3_0_pre4
Browse files Browse the repository at this point in the history
Fixing RECO in pp_on_AA era jet reconstruction
  • Loading branch information
cmsbuild committed Oct 3, 2018
2 parents f850c1c + 00abcf2 commit e07a28e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion RecoHI/HiJetAlgos/python/HiRecoPFJets_cff.py
Expand Up @@ -10,7 +10,11 @@
useHF = cms.bool(False)
)


#dummy sequence to speed-up reconstruction in pp_on_AA era
pfNoPileUpJMEHI = cms.EDFilter('GenericPFCandidateSelector',
src = cms.InputTag('particleFlow'),
cut = cms.string("pt>9999")
)

ak5PFJets = cms.EDProducer(
"FastjetJetProducer",
Expand Down
6 changes: 3 additions & 3 deletions RecoJets/Configuration/python/RecoPFJets_cff.py
Expand Up @@ -106,13 +106,14 @@
)
recoPFJetsWithSubstructure=cms.Sequence(recoPFJetsWithSubstructureTask)

from RecoHI.HiJetAlgos.HiRecoPFJets_cff import PFTowers, akPu3PFJets, akPu4PFJets, kt4PFJetsForRho, hiFJRhoProducer, akCs4PFJets

from RecoHI.HiJetAlgos.HiRecoPFJets_cff import PFTowers, akPu3PFJets, akPu4PFJets, kt4PFJetsForRho, hiFJRhoProducer, akCs4PFJets, pfNoPileUpJMEHI
recoPFJetsHITask =cms.Task(fixedGridRhoAll,
fixedGridRhoFastjetAll,
fixedGridRhoFastjetCentral,
fixedGridRhoFastjetCentralChargedPileUp,
fixedGridRhoFastjetCentralNeutral,
pfNoPileUpJMEHI,
ak4PFJets,
ak4PFJetsCHS,
ak8PFJetsCHS,
Expand All @@ -122,6 +123,5 @@
kt4PFJetsForRho,
hiFJRhoProducer,
akCs4PFJets

)
recoPFJetsHI = cms.Sequence(recoPFJetsHITask)
3 changes: 3 additions & 0 deletions RecoJets/JetProducers/python/ak4PFJets_cfi.py
Expand Up @@ -33,3 +33,6 @@
doAreaFastjet = cms.bool(True),
jetPtMin = cms.double(100.0)
)
from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
pp_on_AA_2018.toModify(ak4PFJets,src = "pfNoPileUpJMEHI", inputEtMin = 9999)
pp_on_AA_2018.toModify(ak4PFJetsCHS,src = "pfNoPileUpJMEHI", inputEtMin = 9999)
3 changes: 3 additions & 0 deletions RecoJets/JetProducers/python/ak8PFJets_cfi.py
Expand Up @@ -23,6 +23,9 @@
src = cms.InputTag("pfNoPileUpJME")
)

from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
pp_on_AA_2018.toModify(ak8PFJetsCHS,src = "pfNoPileUpJMEHI", inputEtMin = 9999)

ak8PFJetsCS = ak8PFJets.clone(
useConstituentSubtraction = cms.bool(True),
csRParam = cms.double(0.4),
Expand Down

0 comments on commit e07a28e

Please sign in to comment.