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_)
38 from RecoHI.HiTracking.highPurityGeneralTracks_cfi
import highPurityGeneralTracks
40 from RecoBTag.Configuration.RecoBTag_cff import impactParameterTagInfos, trackCountingHighEffBJetTags, trackCountingHighPurBJetTags, jetProbabilityBJetTags, jetBProbabilityBJetTags, secondaryVertexTagInfos, combinedSecondaryVertexV2BJetTags, simpleSecondaryVertexHighEffBJetTags, simpleSecondaryVertexHighPurBJetTags
41 ak5JetTracksAssociatorAtVertex
52 recoPFJetsHIpostAODTask = cms.Task(
56 hiFJRhoFlowModulation,
58 highPurityGeneralTracks,
60 ak5JetTracksAssociatorAtVertex,
61 impactParameterTagInfos,
62 trackCountingHighEffBJetTags,
63 trackCountingHighPurBJetTags,
64 jetProbabilityBJetTags,
65 jetBProbabilityBJetTags,
66 secondaryVertexTagInfos,
67 combinedSecondaryVertexV2BJetTags,
68 simpleSecondaryVertexHighEffBJetTags,
69 simpleSecondaryVertexHighPurBJetTags,
73 recoJetsHIpostAODTask = cms.Task(
74 recoPFJetsHIpostAODTask,