test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
QCDAnalysis
UEAnalysis
python
UEAnalysisParticles_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
from
SimGeneral.HepPDTESSource.pythiapdt_cfi
import
*
4
from
RecoJets.Configuration.GenJetParticles_cff
import
*
5
# select charged GenParticles with pt > 0.29
6
#
7
# (threshold used to be 0.89, but tracking in 2_0_0
8
# saves tracks with pT > 0.29)
9
goodParticles = cms.EDFilter(
"GenParticleSelector"
,
10
filter = cms.bool(
False
),
11
src = cms.InputTag(
"genParticles"
),
12
cut = cms.string(
'pt > 0.0'
),
13
stableOnly = cms.bool(
True
)
14
)
15
16
chargeParticles = cms.EDFilter(
"GenParticleSelector"
,
17
filter = cms.bool(
False
),
18
src = cms.InputTag(
"genParticles"
),
19
cut = cms.string(
'charge != 0 & pt > 0.29'
),
20
stableOnly = cms.bool(
True
)
21
)
22
23
UEAnalysisParticles = cms.Sequence(genJetParticles*goodParticles*chargeParticles)
24
Config
pythiapdt_cfi
GenJetParticles_cff
Generated for CMSSW Reference Manual by
1.8.5