#include <TGeoElement.h>
Inheritance diagram for TGeoElementTable:
Definition at line 364 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.
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.
Definition at line 391 of file TGeoElement.h.
Definition at line 391 of file TGeoElement.h.
TGeoElementTable::TGeoElementTable | ( | const TGeoElementTable & | ) | [protected] |
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] |
TGeoElementTable & TGeoElementTable::operator= | ( | const TGeoElementTable & | ) | [protected] |
Definition at line 832 of file TGeoElement.cxx.
References fIsotopes, fList, fListRN, fNelements, fNelementsRN, fNisotopes, and TObject::operator=().
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] |
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] |
Int_t TGeoElementTable::GetNelementsRN | ( | ) | const [inline] |
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, | |||
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] |
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] |
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] |
Int_t TGeoElementTable::GetNelements | ( | ) | const [inline] |
Int_t TGeoElementTable::GetNelementsRN | ( | ) | const [inline] |
void TGeoElementTable::ExportElementsRN | ( | const char * | filename = "" |
) |
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] |
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] |
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.