ROOT logo
ROOT » GEOM » GEOM » TGeoElement

class TGeoElement: public TNamed


 TGeoElement      - base class for chemical elements
 TGeoElementRN    - class representing a radionuclide
 TGeoElemIter     - iterator for decay branches
 TGeoDecayChannel - a decay channel for a radionuclide
 TGeoElementTable - table of elements


Function Members (Methods)

public:
TGeoElement()
TGeoElement(const char* name, const char* title, Int_t nisotopes)
TGeoElement(const char* name, const char* title, Int_t z, Double_t a)
TGeoElement(const char* name, const char* title, Int_t z, Int_t n, Double_t a)
virtual~TGeoElement()
Double_tA() const
voidTObject::AbstractMethod(const char* method) const
voidAddIsotope(TGeoIsotope* isotope, Double_t relativeAbundance)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
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
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual Int_tENDFCode() 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()
static TGeoElementTable*GetElementTable()
virtual const char*TObject::GetIconName() const
TGeoIsotope*GetIsotope(Int_t i) const
virtual const char*TNamed::GetName() const
Int_tGetNisotopes() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetRelativeAbundance(Int_t i) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Bool_tHasIsotopes() 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() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsDefined() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsRadioNuclide() const
virtual Bool_tTNamed::IsSortable() const
Bool_tIsUsed() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
Int_tN() const
Double_tNeff() const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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 = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") 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 = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetDefined(Bool_t flag = kTRUE)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUsed(Bool_t flag = kTRUE)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() 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
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) 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_tZ() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
TGeoElement(const TGeoElement& other)
TGeoElement&operator=(const TGeoElement& other)

Data Members

public:
enum EGeoElement { kElemUsed
kElemDefined
kElementChecked
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Double_tfAA of element
Double_t*fAbundances[fNisotopes] Array of relative isotope abundances
TObjArray*fIsotopesList of isotopes
Int_tfNNumber of nucleons
TStringTNamed::fNameobject identifier
Int_tfNisotopesNumber of isotopes for the element
TStringTNamed::fTitleobject title
Int_tfZZ of element

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoElement()
 Default constructor
TGeoElement(const char* name, const char* title, Int_t z, Double_t a)
 Obsolete constructor
TGeoElement(const char* name, const char* title, Int_t nisotopes)
 Element having isotopes.
TGeoElement(const char* name, const char* title, Int_t z, Int_t n, Double_t a)
 Constructor
void Print(Option_t* option = "") const
 Print this isotope
TGeoElementTable * GetElementTable()
 Returns pointer to the table.
void AddIsotope(TGeoIsotope* isotope, Double_t relativeAbundance)
 Add an isotope for this element. All isotopes have to be isotopes of the same element.
Double_t Neff() const
 Returns effective number of nucleons.
TGeoIsotope * GetIsotope(Int_t i) const
 Return i-th isotope in the element.
Double_t GetRelativeAbundance(Int_t i) const
 Return relative abundance of i-th isotope in this element.
TGeoElement(const TGeoElement& other)
TGeoElement & operator=(const TGeoElement& other)
virtual ~TGeoElement()
 destructor
{;}
Int_t ENDFCode() const
 methods
{ return 0;}
Int_t Z() const
{return fZ;}
Int_t N() const
{return fN;}
Double_t A() const
{return fA;}
Int_t GetNisotopes() const
{return fNisotopes;}
Bool_t HasIsotopes() const
{return (fNisotopes==0)?kFALSE:kTRUE;}
Bool_t IsDefined() const
Bool_t IsRadioNuclide() const
{return kFALSE;}
Bool_t IsUsed() const
void SetDefined(Bool_t flag = kTRUE)
void SetUsed(Bool_t flag = kTRUE)