#include "TDecayChannel.h"
#include "TParticlePDG.h"
#include "TParticleClassPDG.h"
ClassImp(TParticleClassPDG)
TParticleClassPDG::TParticleClassPDG(const char* name): TNamed(name,name)
{
   
   fListOfParticles  = new TObjArray(5);
}
TParticleClassPDG::~TParticleClassPDG() {
   
   delete fListOfParticles;
}
void TParticleClassPDG::Print(Option_t *) const
{
   printf("Particle class: %-20s",GetName());
   if (fListOfParticles) {
      int banner_printed = 0;
      TIter next(fListOfParticles);
      TParticlePDG *p;
      while ((p = (TParticlePDG*)next())) {
         if (! banner_printed) {
            p->Print("banner");
            banner_printed = 1;
         }
         p->Print("");
      }
   }
}
void TParticleClassPDG::Browse(TBrowser* b)
{
   
   if (fListOfParticles) fListOfParticles->Browse(b);
}
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.