CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HiGenCleaner_cff.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
5 genPartons = myPartons.clone(
6  src = "hiGenParticles"
7 )
8 
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)
15  )
16 
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)
23  )
24 heavyIonCleanedTask = cms.Task(genPartons,hiPartons,heavyIonCleanedGenJets)
25 heavyIonCleaned = cms.Sequence(heavyIonCleanedTask)