ROOT » GEOM » GEOM » TGeoElementTable

class TGeoElementTable: public TObject


 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:
virtual~TGeoElementTable()
voidTObject::AbstractMethod(const char* method) const
voidAddElement(TGeoElement* elem)
voidAddElement(const char* name, const char* title, Int_t z, Double_t a)
voidAddElement(const char* name, const char* title, Int_t z, Int_t n, Double_t a)
voidAddElementRN(TGeoElementRN* elem)
voidAddIsotope(TGeoIsotope* isotope)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidBuildDefaultElements()
Bool_tCheckTable() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) 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 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)
voidExportElementsRN(const char* filename = "")
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
TGeoElement*FindElement(const char* name) const
TGeoIsotope*FindIsotope(const char* name) const
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()
TGeoElement*GetElement(Int_t z)
TGeoElementRN*GetElementRN(Int_t ENDFcode) const
TGeoElementRN*GetElementRN(Int_t a, Int_t z, Int_t iso = 0) const
TObjArray*GetElementsRN() const
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
Int_tGetNelements() const
Int_tGetNelementsRN() 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*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasDefaultElements() const
virtual ULong_tTObject::Hash() const
Bool_tHasRNElements() const
voidImportElementsRN()
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
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
TGeoElementTable()
TGeoElementTable(Int_t nelements)
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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TGeoElementTable&operator=(const TGeoElementTable&)
TGeoElementTable(const TGeoElementTable&)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGeoElementTable::EGeoETStatuskETDefaultElements
static TGeoElementTable::EGeoETStatuskETRNElements
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
TGeoElementTable::ElementRNMap_tfElementsRN! map of RN elements with ENDF key
TObjArray*fIsotopeslist of user-defined isotopes
TObjArray*fListlist of elements
TObjArray*fListRNlist of RN elements
Int_tfNelementsnumber of elements
Int_tfNelementsRNnumber of RN elements
Int_tfNisotopesnumber of isotopes

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoElementTable()
 default constructor
TGeoElementTable(Int_t nelements)
 constructor
TGeoElementTable(const TGeoElementTable& )
copy constructor
TGeoElementTable& operator=(const TGeoElementTable& )
assignment operator
~TGeoElementTable()
 destructor
void AddElement(const char* name, const char* title, Int_t z, Double_t a)
 Add an element to the table. Obsolete.
void AddElement(const char* name, const char* title, Int_t z, Int_t n, Double_t a)
 Add an element to the table.
void AddElement(TGeoElement* elem)
 Add a custom element to the table.
void AddElementRN(TGeoElementRN* elem)
 Add a radionuclide to the table and map it.
void AddIsotope(TGeoIsotope* isotope)
 Add isotope to the table.
void BuildDefaultElements()
 Creates the default element table
void ImportElementsRN()
 Creates the list of radionuclides.
Bool_t CheckTable() const
 Checks status of element table.
void ExportElementsRN(const char* filename = "")
 Export radionuclides in a file.
TGeoElement * FindElement(const char* name) const
 Search an element by symbol or full name
 Exact matching
TGeoIsotope * FindIsotope(const char* name) const
 Find existing isotope by name. Not optimized for a big number of isotopes.
TGeoElementRN * GetElementRN(Int_t ENDFcode) const
 Retreive a radionuclide by ENDF code.
TGeoElementRN * GetElementRN(Int_t a, Int_t z, Int_t iso = 0) const
 Retreive a radionuclide by a, z, and isomeric state.
void Print(Option_t* option = "") const
 Print table of elements. The accepted options are:
  ""  - prints everything by default
  "D" - prints default elements only
  "I" - prints isotopes
  "R" - prints radio-nuclides only if imported
  "U" - prints user-defined elements only
TGeoElementRN * GetElement()
{return fElem;}
TObjArray * GetElementsRN() const
{return fListRN;}
Bool_t HasDefaultElements() const
Bool_t HasRNElements() const
Int_t GetNelements() const
{return fNelements;}
Int_t GetNelementsRN() const
{return fNelementsRN;}