#ifndef TParticleClassPDG_hh
#define TParticleClassPDG_hh
#include "TNamed.h"
#include "TObjArray.h"
class TParticlePDG;
class TParticleClassPDG : public TNamed {
public:
protected:
   TObjArray*  fListOfParticles;		
   TParticleClassPDG(const TParticleClassPDG& pcp): TNamed(pcp), fListOfParticles(pcp.fListOfParticles) { }
   TParticleClassPDG& operator=(const TParticleClassPDG& pcp) 
   {if(this!=&pcp) {TNamed::operator=(pcp); fListOfParticles=pcp.fListOfParticles;}
       return *this;
   }
public:
   
   TParticleClassPDG(const char* name = 0);
   virtual ~TParticleClassPDG();
   
  
   Int_t   GetNParticles () { 
      return fListOfParticles->GetEntriesFast();
   }
   TParticlePDG* GetParticle(Int_t i) { 
      return (TParticlePDG*) fListOfParticles->At(i); 
   }
   TObjArray* GetListOfParticles() { return fListOfParticles; }
   
   void AddParticle(TObject* p) { fListOfParticles->Add(p); }
   
   virtual void    Print(Option_t* opt="") const; 
   Bool_t IsFolder() const { return kTRUE; }
   virtual void   Browse(TBrowser* b);
   ClassDef(TParticleClassPDG,1)		
};
#endif
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.