Hi Yang, You can see the list of known particles to TDatabasePDG at $ROOTSYS/etc/pdg_table.txt If you want to get access to the rho+ particle with PDG code 213, do root > gSystem->Load("libEG") root > TDatabasePDG db root > TParticlePDG *prho = db.GetParticle(213) root > prho->Dump() Rene Brun > Yang Ruizhe wrote: > > Hi, ROOTers! > > I am using ROOT 3.04/02. I meet something really confusing. When I am trying > to define a particle through TParticle or TParticlePDG, if the PDG number > > 99, it always returns a null pointer. Does anyone meet this before? Could you > explain for me? > > Thank you. > > Cheers, > Yang Ruizhe > > 2003.11.29 > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET