CMS 3D CMS Logo

printGenParticles_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 printGenParticles = cms.EDAnalyzer("ParticleListDrawer",
6  src = cms.InputTag("genParticles"),
7  maxEventsToPrint = cms.untracked.int32(-1),
8  useMessageLogger = cms.untracked.bool(True)
9 )
10 
11 printInitSubset = cms.EDAnalyzer("ParticleListDrawer",
12  src = cms.InputTag("initSubset"),
13  maxEventsToPrint = cms.untracked.int32(-1),
14  useMessageLogger = cms.untracked.bool(True)
15 )
16 
17 printDecaySubset = cms.EDAnalyzer("ParticleListDrawer",
18  src = cms.InputTag("decaySubset"),
19  maxEventsToPrint = cms.untracked.int32(-1),
20  useMessageLogger = cms.untracked.bool(True)
21 )
22 
23 printGenParticlesAndSubsets = cms.Sequence(printGenParticles *
24  printInitSubset *
25  printDecaySubset
26  )