11#include <framework/particledb/EvtGenParticlePDG.h>
12#include <TDatabasePDG.h>
32 TParticlePDG*
AddParticle(
const char* name,
const char* title, Double_t mass, Bool_t stable, Double_t width,
33 Double_t charge,
const char* ParticleClass, Int_t PDGcode, Int_t Anti, Int_t TrackingCode)
override
35 return AddParticle(name, title, mass, stable, width, charge, ParticleClass, PDGcode, Anti, TrackingCode, 0, 0, 0, 0);
39 Double_t charge,
const char* ParticleClass, Int_t PDGcode, Int_t Anti, Int_t TrackingCode,
40 Double_t Lifetime, Double_t Spin, Double_t maxWidth, Int_t pythiaID);
Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl.
static EvtGenDatabasePDG * Instance()
Instance method that loads the EvtGen table.
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
void WriteEvtGenTable(std::ostream &out)
Write current database as EvtGen table to a stream.
ClassDefOverride(EvtGenDatabasePDG, 1)
Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl.
EvtGenDatabasePDG()
singleton.
void ReadEvtGenTable(const char *filename=nullptr)
Read EvtGen table.
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
Helper class for setting additional TParticlePDG members and storing the ones it doesn't have yet.
Abstract base class for different kinds of events.