TGeoElementTable Class Reference

#include <TGeoElement.h>

Inheritance diagram for TGeoElementTable:

TObject TObject List of all members.

Public Types

enum  EGeoETStatus
enum  EGeoETStatus

Public Member Functions

 TGeoElementTable ()
 TGeoElementTable (Int_t nelements)
virtual ~TGeoElementTable ()
void AddElement (const char *name, const char *title, Int_t z, Double_t a)
void AddElement (const char *name, const char *title, Int_t z, Int_t n, Double_t a)
void AddElementRN (TGeoElementRN *elem)
void AddIsotope (TGeoIsotope *isotope)
void BuildDefaultElements ()
void ImportElementsRN ()
Bool_t CheckTable () const
TGeoElementFindElement (const char *name) const
TGeoIsotopeFindIsotope (const char *name) const
TGeoElementGetElement (Int_t z)
TGeoElementRNGetElementRN (Int_t ENDFcode) const
TGeoElementRNGetElementRN (Int_t a, Int_t z, Int_t iso=0) const
TObjArrayGetElementsRN () const
Bool_t HasDefaultElements () const
Bool_t HasRNElements () const
Int_t GetNelements () const
Int_t GetNelementsRN () const
void ExportElementsRN (const char *filename="")
 TGeoElementTable ()
 TGeoElementTable (Int_t nelements)
virtual ~TGeoElementTable ()
void AddElement (const char *name, const char *title, Int_t z, Double_t a)
void AddElement (const char *name, const char *title, Int_t z, Int_t n, Double_t a)
void AddElementRN (TGeoElementRN *elem)
void AddIsotope (TGeoIsotope *isotope)
void BuildDefaultElements ()
void ImportElementsRN ()
Bool_t CheckTable () const
TGeoElementFindElement (const char *name) const
TGeoIsotopeFindIsotope (const char *name) const
TGeoElementGetElement (Int_t z)
TGeoElementRNGetElementRN (Int_t ENDFcode) const
TGeoElementRNGetElementRN (Int_t a, Int_t z, Int_t iso=0) const
TObjArrayGetElementsRN () const
Bool_t HasDefaultElements () const
Bool_t HasRNElements () const
Int_t GetNelements () const
Int_t GetNelementsRN () const
void ExportElementsRN (const char *filename="")

Protected Member Functions

 TGeoElementTable (const TGeoElementTable &)
 map of RN elements with ENDF key
TGeoElementTableoperator= (const TGeoElementTable &)
 TGeoElementTable (const TGeoElementTable &)
 map of RN elements with ENDF key
TGeoElementTableoperator= (const TGeoElementTable &)

Private Types

typedef std::map< Int_t, TGeoElementRN * > ElementRNMap_t
typedef ElementRNMap_t::iterator ElementRNMapIt_t
typedef std::map< Int_t, TGeoElementRN * > ElementRNMap_t
typedef ElementRNMap_t::iterator ElementRNMapIt_t

Private Attributes

Int_t fNelements
Int_t fNelementsRN
Int_t fNisotopes
TObjArrayfList
TObjArrayfListRN
TObjArrayfIsotopes
ElementRNMap_t fElementsRN
TObjArrayfList
TObjArrayfListRN
TObjArrayfIsotopes

Detailed Description

Definition at line 364 of file TGeoElement.h.


Member Typedef Documentation

typedef std::map<Int_t, TGeoElementRN *> TGeoElementTable::ElementRNMap_t [private]

Definition at line 375 of file TGeoElement.h.

typedef ElementRNMap_t::iterator TGeoElementTable::ElementRNMapIt_t [private]

Definition at line 376 of file TGeoElement.h.

typedef std::map<Int_t, TGeoElementRN *> TGeoElementTable::ElementRNMap_t [private]

Definition at line 375 of file TGeoElement.h.

typedef ElementRNMap_t::iterator TGeoElementTable::ElementRNMapIt_t [private]

Definition at line 376 of file TGeoElement.h.


Member Enumeration Documentation

enum TGeoElementTable::EGeoETStatus

Definition at line 391 of file TGeoElement.h.

enum TGeoElementTable::EGeoETStatus

Definition at line 391 of file TGeoElement.h.


Constructor & Destructor Documentation

TGeoElementTable::TGeoElementTable ( const TGeoElementTable  )  [protected]

map of RN elements with ENDF key

Definition at line 819 of file TGeoElement.cxx.

TGeoElementTable::TGeoElementTable (  ) 

TGeoElementTable::TGeoElementTable ( Int_t  nelements  ) 

Definition at line 805 of file TGeoElement.cxx.

References BuildDefaultElements(), fIsotopes, fList, fListRN, fNelements, fNelementsRN, and fNisotopes.

TGeoElementTable::~TGeoElementTable (  )  [virtual]

Definition at line 848 of file TGeoElement.cxx.

References TObjArray::Delete(), fIsotopes, fList, and fListRN.

TGeoElementTable::TGeoElementTable ( const TGeoElementTable  )  [protected]

map of RN elements with ENDF key

TGeoElementTable::TGeoElementTable (  ) 

TGeoElementTable::TGeoElementTable ( Int_t  nelements  ) 

virtual TGeoElementTable::~TGeoElementTable (  )  [virtual]


Member Function Documentation

TGeoElementTable & TGeoElementTable::operator= ( const TGeoElementTable  )  [protected]

Definition at line 832 of file TGeoElement.cxx.

References fIsotopes, fList, fListRN, fNelements, fNelementsRN, fNisotopes, and TObject::operator=().

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

Definition at line 866 of file TGeoElement.cxx.

References TObjArray::AddAtAndExpand(), fList, and fNelements.

Referenced by BuildDefaultElements().

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

Definition at line 874 of file TGeoElement.cxx.

References TObjArray::AddAtAndExpand(), fList, and fNelements.

void TGeoElementTable::AddElementRN ( TGeoElementRN elem  ) 

Definition at line 882 of file TGeoElement.cxx.

References TObjArray::Add(), TGeoElementRN::ENDFCode(), fElementsRN, fListRN, fNelementsRN, GetElementRN(), and HasRNElements().

Referenced by ImportElementsRN().

void TGeoElementTable::AddIsotope ( TGeoIsotope isotope  ) 

Definition at line 894 of file TGeoElement.cxx.

References TObjArray::Add(), TObject::Error(), FindIsotope(), fIsotopes, and TNamed::GetName().

Referenced by TGeoIsotope::TGeoIsotope().

void TGeoElementTable::BuildDefaultElements (  ) 

Definition at line 906 of file TGeoElement.cxx.

References AddElement(), HasDefaultElements(), kETDefaultElements, kTRUE, and TObject::SetBit().

Referenced by TGeoElementTable().

void TGeoElementTable::ImportElementsRN (  ) 

Definition at line 1028 of file TGeoElement.cxx.

References TGeoElementRN::AddDecay(), AddElementRN(), CheckTable(), TObject::Error(), fclose(), fopen, TString::Form(), fp, TSystem::Getenv(), gSystem, HasRNElements(), i, kETRNElements, kTRUE, line, TGeoDecayChannel::ReadDecay(), TGeoElementRN::ReadElementRN(), and TObject::SetBit().

Bool_t TGeoElementTable::CheckTable (  )  const

Definition at line 1068 of file TGeoElement.cxx.

References TGeoElementRN::CheckDecays(), fListRN, HasDefaultElements(), HasRNElements(), kFALSE, kTRUE, and result().

Referenced by ImportElementsRN().

TGeoElement * TGeoElementTable::FindElement ( const char *  name  )  const

Definition at line 1107 of file TGeoElement.cxx.

References TObjArray::FindObject(), fList, TNamed::GetTitle(), and s.

TGeoIsotope * TGeoElementTable::FindIsotope ( const char *  name  )  const

Definition at line 1124 of file TGeoElement.cxx.

References TObjArray::FindObject(), fIsotopes, and NULL.

Referenced by AddIsotope(), and TGeoIsotope::FindIsotope().

TGeoElement* TGeoElementTable::GetElement ( Int_t  z  )  [inline]

Definition at line 404 of file TGeoElement.h.

References TObjArray::At(), and fList.

Referenced by TGeoMixtureEditor::DoAddElem(), TGeoManagerEditor::DoCreateMaterial(), TGeoMixtureEditor::DoSelectElement(), and TGeoManager::UpdateElements().

TGeoElementRN * TGeoElementTable::GetElementRN ( Int_t  ENDFcode  )  const

Definition at line 1132 of file TGeoElement.cxx.

References fElementsRN, fListRN, and HasRNElements().

Referenced by AddElementRN(), and GetElementRN().

TGeoElementRN * TGeoElementTable::GetElementRN ( Int_t  a,
Int_t  z,
Int_t  iso = 0 
) const

Definition at line 1146 of file TGeoElement.cxx.

References TGeoElementRN::ENDF(), and GetElementRN().

TObjArray* TGeoElementTable::GetElementsRN (  )  const [inline]

Definition at line 407 of file TGeoElement.h.

References fListRN.

Bool_t TGeoElementTable::HasDefaultElements (  )  const [inline]

Definition at line 408 of file TGeoElement.h.

References kETDefaultElements, and TObject::TestBit().

Referenced by BuildDefaultElements(), and CheckTable().

Bool_t TGeoElementTable::HasRNElements (  )  const [inline]

Definition at line 409 of file TGeoElement.h.

References kETRNElements, and TObject::TestBit().

Referenced by AddElementRN(), CheckTable(), ExportElementsRN(), GetElementRN(), and ImportElementsRN().

Int_t TGeoElementTable::GetNelements (  )  const [inline]

Definition at line 411 of file TGeoElement.h.

References fNelements.

Int_t TGeoElementTable::GetNelementsRN (  )  const [inline]

Definition at line 412 of file TGeoElement.h.

References fNelementsRN.

void TGeoElementTable::ExportElementsRN ( const char *  filename = ""  ) 

Definition at line 1082 of file TGeoElement.cxx.

References TObject::Error(), fListRN, HasRNElements(), i, out, TGeoElementRN::SavePrimitive(), and sname.

TGeoElementTable& TGeoElementTable::operator= ( const TGeoElementTable  )  [protected]

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

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

void TGeoElementTable::AddElementRN ( TGeoElementRN elem  ) 

void TGeoElementTable::AddIsotope ( TGeoIsotope isotope  ) 

void TGeoElementTable::BuildDefaultElements (  ) 

void TGeoElementTable::ImportElementsRN (  ) 

Bool_t TGeoElementTable::CheckTable (  )  const

TGeoElement* TGeoElementTable::FindElement ( const char *  name  )  const

TGeoIsotope* TGeoElementTable::FindIsotope ( const char *  name  )  const

TGeoElement* TGeoElementTable::GetElement ( Int_t  z  )  [inline]

Definition at line 404 of file TGeoElement.h.

References TObjArray::At(), and fList.

TGeoElementRN* TGeoElementTable::GetElementRN ( Int_t  ENDFcode  )  const

TGeoElementRN* TGeoElementTable::GetElementRN ( Int_t  a,
Int_t  z,
Int_t  iso = 0 
) const

TObjArray* TGeoElementTable::GetElementsRN (  )  const [inline]

Definition at line 407 of file TGeoElement.h.

References fListRN.

Bool_t TGeoElementTable::HasDefaultElements (  )  const [inline]

Definition at line 408 of file TGeoElement.h.

References kETDefaultElements, and TObject::TestBit().

Bool_t TGeoElementTable::HasRNElements (  )  const [inline]

Definition at line 409 of file TGeoElement.h.

References kETRNElements, and TObject::TestBit().

Int_t TGeoElementTable::GetNelements (  )  const [inline]

Definition at line 411 of file TGeoElement.h.

References fNelements.

Int_t TGeoElementTable::GetNelementsRN (  )  const [inline]

Definition at line 412 of file TGeoElement.h.

References fNelementsRN.

void TGeoElementTable::ExportElementsRN ( const char *  filename = ""  ) 


Member Data Documentation

Int_t TGeoElementTable::fNelements [private]

Definition at line 368 of file TGeoElement.h.

Referenced by AddElement(), GetNelements(), operator=(), and TGeoElementTable().

Int_t TGeoElementTable::fNelementsRN [private]

Definition at line 369 of file TGeoElement.h.

Referenced by AddElementRN(), GetNelementsRN(), operator=(), and TGeoElementTable().

Int_t TGeoElementTable::fNisotopes [private]

Definition at line 370 of file TGeoElement.h.

Referenced by operator=(), and TGeoElementTable().

TObjArray* TGeoElementTable::fList [private]

Definition at line 371 of file TGeoElement.h.

Referenced by AddElement(), FindElement(), GetElement(), operator=(), TGeoElementTable(), and ~TGeoElementTable().

TObjArray* TGeoElementTable::fListRN [private]

Definition at line 372 of file TGeoElement.h.

Referenced by AddElementRN(), CheckTable(), ExportElementsRN(), GetElementRN(), GetElementsRN(), operator=(), TGeoElementTable(), and ~TGeoElementTable().

TObjArray* TGeoElementTable::fIsotopes [private]

Definition at line 373 of file TGeoElement.h.

Referenced by AddIsotope(), FindIsotope(), operator=(), TGeoElementTable(), and ~TGeoElementTable().

ElementRNMap_t TGeoElementTable::fElementsRN [private]

Definition at line 377 of file TGeoElement.h.

Referenced by AddElementRN(), and GetElementRN().

TObjArray* TGeoElementTable::fList [private]

Definition at line 371 of file TGeoElement.h.

TObjArray* TGeoElementTable::fListRN [private]

Definition at line 372 of file TGeoElement.h.

TObjArray* TGeoElementTable::fIsotopes [private]

Definition at line 373 of file TGeoElement.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:46 2011 for ROOT_528-00b_version by  doxygen 1.5.1