Module to analyze the particle listing as provided by common event generators. More...
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
ParticleListDrawer (const edm::ParameterSet &) | |
~ParticleListDrawer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
std::string | getParticleName (int id) const |
Private Attributes | |
int | maxEventsToPrint_ |
unsigned int | nEventAnalyzed_ |
edm::ESHandle< ParticleDataTable > | pdt_ |
bool | printOnlyHardInteraction_ |
bool | printVertex_ |
edm::InputTag | src_ |
bool | useMessageLogger_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Module to analyze the particle listing as provided by common event generators.
Module to analyze the particle listing as provided by common event generators equivalent to PYLIST(1) (from pythia). It is expected to run on vectors of reo::GenParticles. For an example of use have a look to:
PhysicsTools/HepMCCandAlgos/test/testParticleTreeDrawer.py
Caveats: Status 3 particles can have daughters both with status 2 and 3. In pythia this is not the same mother-daughter. The relations are correct but special care has to be taken when looking at mother-daughter relation which involve status 2 and 3 particles.
Definition at line 41 of file ParticleListDrawer.cc.
|
explicit |
Definition at line 59 of file ParticleListDrawer.cc.
|
inline |
Definition at line 44 of file ParticleListDrawer.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 79 of file ParticleListDrawer.cc.
References gather_cfg::cout, spr::find(), newFWLiteAna::found, edm::Event::getByLabel(), edm::EventSetup::getData(), getParticleName(), edm::InputTag::label(), maxEventsToPrint_, nEventAnalyzed_, dbtoconf::out, AlCaHLTBitMon_ParallelJobs::p, pdt_, printOnlyHardInteraction_, printVertex_, src_, and useMessageLogger_.
|
private |
Definition at line 68 of file ParticleListDrawer.cc.
References errorMatrix2Lands_multiChannel::id, and pdt_.
Referenced by analyze().
|
private |
Definition at line 52 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file ParticleListDrawer.cc.
Referenced by analyze(), and getParticleName().
|
private |
Definition at line 54 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 50 of file ParticleListDrawer.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file ParticleListDrawer.cc.
Referenced by analyze().