1 import FWCore.ParameterSet.Config
as cms
3 from RecoHI.HiJetAlgos.hiSignalParticleProducer_cfi
import hiSignalParticleProducer
as hiSignalGenParticles
8 from RecoHI.HiJetAlgos.hiSignalGenJetProducer_cfi
import hiSignalGenJetProducer
9 ak4HiSignalGenJets = hiSignalGenJetProducer.clone(src =
"ak4HiGenJets")
11 allPartons = cms.EDProducer(
13 src = cms.InputTag(
'hiSignalGenParticles'),
14 withLeptons = cms.bool(
False),
17 from Configuration.ProcessModifiers.genJetSubEvent_cff
import genJetSubEvent
18 genJetSubEvent.toModify(allPartons,src =
"genParticles")
20 cleanedPartons = hiPartons.clone(
24 hiGenJetsTask = cms.Task(
32 ak4HiGenJetsCleaned = heavyIonCleanedGenJets.clone(src =
"ak4HiGenJets")
33 hiCleanedGenJetsTask_ = hiGenJetsTask.copyAndExclude([hiSignalGenParticles,ak4HiSignalGenJets])
34 hiCleanedGenJetsTask_.add(cleanedPartons,ak4HiGenJetsCleaned)
35 genJetSubEvent.toReplaceWith(hiGenJetsTask,hiCleanedGenJetsTask_)
37 from RecoHI.HiJetAlgos.PackedPFTowers_cfi
import PackedPFTowers
39 from RecoHI.HiTracking.highPurityGeneralTracks_cfi
import highPurityGeneralTracks
41 from RecoBTag.Configuration.RecoBTag_cff import impactParameterTagInfos, trackCountingHighEffBJetTags, trackCountingHighPurBJetTags, jetProbabilityBJetTags, jetBProbabilityBJetTags, secondaryVertexTagInfos, combinedSecondaryVertexV2BJetTags, simpleSecondaryVertexHighEffBJetTags, simpleSecondaryVertexHighPurBJetTags
42 ak5JetTracksAssociatorAtVertex
53 recoPFJetsHIpostAODTask = cms.Task(
57 hiFJRhoFlowModulation,
59 highPurityGeneralTracks,
61 ak5JetTracksAssociatorAtVertex,
62 impactParameterTagInfos,
63 trackCountingHighEffBJetTags,
64 trackCountingHighPurBJetTags,
65 jetProbabilityBJetTags,
66 jetBProbabilityBJetTags,
67 secondaryVertexTagInfos,
68 combinedSecondaryVertexV2BJetTags,
69 simpleSecondaryVertexHighEffBJetTags,
70 simpleSecondaryVertexHighPurBJetTags,
74 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff
import run2_miniAOD_pp_on_AA_103X
77 _recoPFJetsHIpostAODTask = recoPFJetsHIpostAODTask.copy()
78 _recoPFJetsHIpostAODTask.add(ak4PFJets,pfNoPileUpJMETask,ak4PFJetsCHS)
79 run2_miniAOD_pp_on_AA_103X.toReplaceWith(recoPFJetsHIpostAODTask, _recoPFJetsHIpostAODTask)
82 recoJetsHIpostAODTask = cms.Task(
83 recoPFJetsHIpostAODTask,
genjet cleaning for improved matching in HI environment