![]() |
Belle II Software
release-08-02-04
|
Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl. More...
#include <EvtGenDatabasePDG.h>


Public Member Functions | |
| void | ReadEvtGenTable (const char *filename=nullptr) |
| Read EvtGen table. | |
| void | WriteEvtGenTable (std::ostream &out) |
| Write current database as EvtGen table to a stream. | |
| void | WriteEvtGenTable (const char *filename) |
| Write current database as EvtGen table to a file. | |
| TParticlePDG * | AddParticle (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) override |
| override old AddParticle | |
| EvtGenParticlePDG * | AddParticle (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_t pythiaID) |
| Add new particle with additional attributes. More... | |
Static Public Member Functions | |
| static EvtGenDatabasePDG * | Instance () |
| Instance method that loads the EvtGen table. | |
Private Member Functions | |
| EvtGenDatabasePDG () | |
| singleton. | |
| EvtGenDatabasePDG (const EvtGenDatabasePDG &)=delete | |
| singleton, make sure there's no copy constructor | |
| EvtGenDatabasePDG & | operator= (const EvtGenDatabasePDG &)=delete |
| singleton, make sure there's no assignment operator | |
| ClassDefOverride (EvtGenDatabasePDG, 1) | |
| Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl. | |
Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl.
Definition at line 21 of file EvtGenDatabasePDG.h.
| EvtGenParticlePDG * AddParticle | ( | 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_t | pythiaID | ||
| ) |
Add new particle with additional attributes.
Copy&Paste from original but with more constructor arguments
Definition at line 44 of file EvtGenDatabasePDG.cc.