TDatabasePDG


class description - source file - inheritance tree

class TDatabasePDG : public TNamed


    public:
TDatabasePDG TDatabasePDG() TDatabasePDG TDatabasePDG(TDatabasePDG&) virtual void ~TDatabasePDG() void AddParticle(Text_t* name, Text_t* title, Double_t Mass, Bool_t Stable, Double_t DecayWidth, Double_t Charge, Text_t* Type, Int_t pdgCode) TClass* Class() Int_t ConvertIsajetToPdg(Int_t isaNumber) TParticlePDG* GetParticle(Int_t pdgCode) TParticlePDG* GetParticle(Text_t* name) void Init() TDatabasePDG* Instance() virtual TClass* IsA() const THashList* ParticleList() virtual void Print(Option_t* opt) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
static TDatabasePDG* fgInstance THashList* fParticleList

Class Description


TDatabasePDG() :TNamed("PDGDB","The PDG particle data base")

~TDatabasePDG()

void AddParticle(const Text_t *name, const Text_t *title, Double_t mass, Bool_t stable, Double_t width, Double_t charge, Text_t *type, Int_t PDGcode)
  Particle definition normal constructor. If the particle is set to be
  stable, the decay width parameter does have no meaning and can be set to
  any value. The parameters granularity, LowerCutOff and HighCutOff are
  used for the construction of the mean free path look up tables. The
  granularity will be the number of logwise energy points for which the
  mean free path will be calculated.


Int_t ConvertIsajetToPdg(Int_t isaNumber)
  Converts the ISAJET Particle number into the PDG MC number


void Init()
  Defines particles according to the Particle Data Group

  For questions regarding distribution or content of the MC particle
  codes, contact
  Gary Wagman (GSWagman@LBL.BITNET, LBL::GSWagman, or GSWagman@LBL.GOV).
  (510)486-6610


TParticlePDG* GetParticle(const Text_t *name)
  Get a pointer to the particle object according to the name given


TParticlePDG* GetParticle(Int_t PDGcode)
  Get a pointer to the particle object according to the MC code number


void Print(Option_t *option)



Inline Functions


           TDatabasePDG* Instance()
        const THashList* ParticleList()
                 TClass* Class()
                 TClass* IsA()
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
            TDatabasePDG TDatabasePDG(TDatabasePDG&)


Author: Pasha Murat 12/02/99
Last update: 2.22/09 13/07/99 13.07.53 by Rene Brun


ROOT page - Class index - Top of the page

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.