CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/QCDAnalysis/UEAnalysis/python/UEAnalysisParticles_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
00004 from RecoJets.Configuration.GenJetParticles_cff import *
00005 # select charged genParticles with pt > 0.29
00006 # 
00007 # (threshold used to be 0.89, but tracking in 2_0_0 
00008 #  saves tracks with pT > 0.29)
00009 goodParticles = cms.EDFilter("GenParticleSelector",
00010     filter = cms.bool(False),
00011     src = cms.InputTag("genParticles"),
00012     cut = cms.string('pt > 0.0'),
00013     stableOnly = cms.bool(True)
00014 )
00015 
00016 chargeParticles = cms.EDFilter("GenParticleSelector",
00017     filter = cms.bool(False),
00018     src = cms.InputTag("genParticles"),
00019     cut = cms.string('charge != 0 & pt > 0.29'),
00020     stableOnly = cms.bool(True)
00021 )
00022 
00023 UEAnalysisParticles = cms.Sequence(genJetParticles*goodParticles*chargeParticles)
00024