Belle II Software light-2406-ragdoll
|
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. | |
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.
|
inlineprivate |
|
inlineoverride |
override old AddParticle
Definition at line 32 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.
|
static |
Instance method that loads the EvtGen table.
Definition at line 25 of file EvtGenDatabasePDG.cc.
void ReadEvtGenTable | ( | const char * | filename = nullptr | ) |
Read EvtGen table.
Definition at line 88 of file EvtGenDatabasePDG.cc.
void WriteEvtGenTable | ( | const char * | filename | ) |
Write current database as EvtGen table to a file.
Definition at line 204 of file EvtGenDatabasePDG.cc.
void WriteEvtGenTable | ( | std::ostream & | out | ) |
Write current database as EvtGen table to a stream.
Definition at line 181 of file EvtGenDatabasePDG.cc.