library: libEG
#include "TParticlePDG.h"

TParticlePDG


class description - header file - source file
viewCVS header - viewCVS source

class TParticlePDG: public TNamed

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TParticlePDG()
TParticlePDG(int pdg_code)
TParticlePDG(const char* Name, const char* Title, Double_t Mass, Bool_t Stable, Double_t Width, Double_t Charge, const char* ParticleClass, Int_t PdgCode, Int_t Anti, Int_t TrackingCode)
virtual~TParticlePDG()
voidTObject::AbstractMethod(const char* method) const
Int_tAddDecayChannel(Int_t Type, Double_t BranchingRatio, Int_t NDaughters, Int_t* DaughterPdgCode)
TParticlePDG*AntiParticle()
virtual voidTObject::AppendPad(Option_t* option = "")
Int_tBeauty() const
virtual voidTObject::Browse(TBrowser* b)
Double_tCharge() const
Int_tCharm() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
TDecayChannel*DecayChannel(Int_t i)
TObjArray*DecayList()
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Double_tI3() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Double_tIsospin() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
Double_tLifetime() const
virtual voidTNamed::ls(Option_t* option = "") const
Double_tMass() const
voidTObject::MayNotUse(const char* method) const
Int_tNDecayChannels() const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
Int_tParity() const
const char*ParticleClass() const
Int_tPdgCode() const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual voidPrintDecayChannel(TDecayChannel* dc, Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidSetAntiParticle(TParticlePDG* ap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
Double_tSpin() const
Int_tStable() const
Int_tStrangeness() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Int_tTop() const
Int_tTrackingCode() const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
Double_tWidth() const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
Int_tX() const
Int_tY() const
protected:
TParticlePDG(const TParticlePDG&)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TParticlePDG&operator=(const TParticlePDG&)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfPdgCodePDG code of the particle
Double_tfMassparticle mass in GeV
Double_tfChargecharge in units of |e|/3
Double_tfLifetimeproper lifetime in nanoseconds
Double_tfWidthtotal width in GeV
Int_tfParity
Double_tfSpin
Double_tfIsospinisospin
Double_tfI3i3
Int_tfStrangenessflavours are defined if i3 != -1
Int_tfCharm1 or -1 for C-particles,
Int_tfBeauty
Int_tfTop
Int_tfYX,Y: quantum numbers for the 4-th generation
Int_tfX
Int_tfStable1 if stable, 0 otherwise
TObjArray*fDecayListarray of decay channels
TStringfParticleClasslepton, meson etc
Int_tfTrackingCodeG3 tracking code of the particle
TParticlePDG*fAntiParticlepointer to antiparticle
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Description

TParticlePDG()
default constructor
TParticlePDG(Int_t )
 empty for the time  being
TParticlePDG(const char* Name, const char* Title, Double_t Mass, Bool_t Stable, Double_t Width, Double_t Charge, const char* ParticleClass, Int_t PdgCode, Int_t Anti, Int_t TrackingCode)
TParticlePDG(const TParticlePDG& pdg)
copy constructor
TParticlePDG& operator=(const TParticlePDG& pdg)
assignement operator
~TParticlePDG()
destructor
Int_t AddDecayChannel(Int_t Type, Double_t BranchingRatio, Int_t NDaughters, Int_t* DaughterPdgCode)
 add new decay channel, Particle owns those...
TDecayChannel* DecayChannel(Int_t i)
return pointer to decay channel object at index i
void PrintDecayChannel(TDecayChannel* dc, Option_t* option)
print the list of decays
void Print(Option_t *)
  Print the entire information of this kind of particle

const char* ParticleClass()
{ return fParticleClass.Data(); }
Int_t TrackingCode()
{ return fTrackingCode; }
TParticlePDG* AntiParticle()
{ return fAntiParticle; }
void SetAntiParticle(TParticlePDG* ap)
{ fAntiParticle = ap; }

Author: Pasha Murat 12/02/99
Last update: root/eg:$Name: $:$Id: TParticlePDG.cxx,v 1.12 2006/08/24 16:31:21 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.