![]() |
Belle II Software
release-08-02-05
|
Helper class for setting additional TParticlePDG members and storing the ones it doesn't have yet. More...
#include <EvtGenParticlePDG.h>


Public Member Functions | |
| EvtGenParticlePDG (const char *name, const char *title, Double_t mass, Bool_t stable, Double_t width, Double_t charge, const char *ParticleClass, Int_t PDGcode, Int_t Anti, Int_t TrackingCode, Double_t Lifetime, Double_t Spin, Double_t maxWidth, int pythiaID) | |
| Construct with all values. | |
| Double_t | MaxWidth () const |
| Return max width (max_Dm in evt.pdl) | |
| Int_t | PythiaID () const |
| Return pythia id of this particle. | |
| std::string | __repr__ () const |
| Return a string repesentation of this particle to be used when printing the particle in python. | |
Protected Member Functions | |
| ClassDef (EvtGenParticlePDG, 1) | |
| ROOT Dictionary. | |
Protected Attributes | |
| Double_t | m_maxWidth {0} |
| max width of the particle (max_Dm in evt.pdl) | |
| Int_t | m_pythiaID {0} |
| pythia id of the particle | |
Helper class for setting additional TParticlePDG members and storing the ones it doesn't have yet.
ROOT defines the members for lifteme a but has no way to set them, so let's make a class which has. Also we need a few additional members to represent all data in evtgen/evt.pdl
Definition at line 22 of file EvtGenParticlePDG.h.