library: libGeom #include "TGeoElement.h"

# TGeoElementTable

class description - source file - inheritance tree (.pdf)

## class TGeoElementTable : public TObject

| Inheritance Chart:

`TObject`

<-

`TGeoElementTable`

        private:

          void BuildDefaultElements()

        public:

                            TGeoElementTable()
                            TGeoElementTable(Int_t nelements)
                            TGeoElementTable(const TGeoElementTable&)
                    virtual ~TGeoElementTable()
                       void AddElement(const char* name, const char* title, Int_t z, Double_t a)
             static TClass* Class()
               TGeoElement* FindElement(const char* name)
               TGeoElement* GetElement(Int_t z)
                      Int_t GetNelements() const
            virtual TClass* IsA() const
          TGeoElementTable& operator=(const TGeoElementTable&)
               virtual void ShowMembers(TMemberInspector& insp, char* parent)
               virtual void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

               Int_t fNelements  number of elements
          TObjArray* fList       list of elements

## Class Description

     Full description with examples and pictures

TGeoElementTable()

     default constructor

TGeoElementTable(Int_t /*nelements*/)

     constructor

~TGeoElementTable()

     destructor

void AddElement(const char *name, const char *title, Int_t z, Double_t a)

     Add an element to the table.

void BuildDefaultElements()

     Creates the default element table

TGeoElement* FindElement(const char *name)

     Search an element by symbol or full name

### Inline Functions

                 TGeoElement* GetElement(Int_t z)
                        Int_t GetNelements() const
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
             TGeoElementTable TGeoElementTable(const TGeoElementTable&)
            TGeoElementTable& operator=(const TGeoElementTable&)

Author: Andrei Gheata 17/06/04
Last update: root/geom:$Name: $:$Id: TGeoElement.cxx,v 1.5 2005/04/20 15:22:54 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *