2 import FWCore.ParameterSet.Config
as cms
5 genPartons = myPartons.clone(
6 src = cms.InputTag(
"hiGenParticles")
9 hiPartons = cms.EDProducer(
'HiPartonCleaner',
10 src = cms.InputTag(
'genPartons'),
11 deltaR = cms.double(0.25),
12 ptCut = cms.double(20),
13 createNewCollection = cms.untracked.bool(
True),
14 fillDummyEntries = cms.untracked.bool(
True)
17 heavyIonCleanedGenJets = cms.EDProducer(
'HiGenJetCleaner',
18 src = cms.InputTag(
'iterativeCone5HiGenJets'),
19 deltaR = cms.double(0.25),
20 ptCut = cms.double(20),
21 createNewCollection = cms.untracked.bool(
True),
22 fillDummyEntries = cms.untracked.bool(
True)
24 heavyIonCleanedTask = cms.Task(genPartons,hiPartons,heavyIonCleanedGenJets)
25 heavyIonCleaned = cms.Sequence(heavyIonCleanedTask)