22 ClassImp(TParticleClassPDG);
27 TParticleClassPDG::TParticleClassPDG(
const char* name): TNamed(name,name)
29 fListOfParticles =
new TObjArray(5);
35 TParticleClassPDG::~TParticleClassPDG() {
36 delete fListOfParticles;
46 void TParticleClassPDG::Print(Option_t *)
const
48 printf(
"Particle class: %-20s",GetName());
49 if (fListOfParticles) {
50 int banner_printed = 0;
51 TIter next(fListOfParticles);
53 while ((p = (TParticlePDG*)next())) {
54 if (! banner_printed) {
66 void TParticleClassPDG::Browse(TBrowser* b)
68 if (fListOfParticles) fListOfParticles->Browse(b);