CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenJetParticles_cff.py
Go to the documentation of this file.
2 
3 #
4 #
5 # ShR 27 Mar 07: move modules producing candidates for Jets from RecoGenJets.cff
6 #
7 #
8 genParticlesForJets = cms.EDProducer("InputGenJetsParticleSelector",
9  src = cms.InputTag("genParticles"),
10  ignoreParticleIDs = cms.vuint32(
11  1000022,
12  1000012, 1000014, 1000016,
13  2000012, 2000014, 2000016,
14  1000039, 5100039,
15  4000012, 4000014, 4000016,
16  9900012, 9900014, 9900016,
17  39),
18  partonicFinalState = cms.bool(False),
19  excludeResonances = cms.bool(False),
20  excludeFromResonancePids = cms.vuint32(12, 13, 14, 16),
21  tausAsJets = cms.bool(False)
22 )
23 
24 genParticlesForJetsNoNu = genParticlesForJets.clone()
25 genParticlesForJetsNoNu.ignoreParticleIDs += cms.vuint32( 12,14,16)
26 
27 genParticlesForJetsNoMuNoNu = genParticlesForJets.clone()
28 genParticlesForJetsNoMuNoNu.ignoreParticleIDs += cms.vuint32( 12,13,14,16)
29 
30 genJetParticles = cms.Sequence(genParticlesForJets+genParticlesForJetsNoNu)