#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);
}
Last change: Wed Jun 25 08:50:29 2008
Last generated: 2008-06-25 08:50
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.