TGeoElement Class Reference

#include <TGeoElement.h>

Inheritance diagram for TGeoElement:

TNamed TNamed TObject TObject TObject TObject TGeoElementRN TGeoElementRN List of all members.

Public Member Functions

 TGeoElement ()
 TGeoElement (const char *name, const char *title, Int_t z, Double_t a)
 TGeoElement (const char *name, const char *title, Int_t nisotopes)
 TGeoElement (const char *name, const char *title, Int_t z, Int_t n, Double_t a)
virtual ~TGeoElement ()
virtual Int_t ENDFCode () const
Int_t Z () const
Int_t N () const
Double_t Neff () const
Double_t A () const
void AddIsotope (TGeoIsotope *isotope, Double_t relativeAbundance)
Int_t GetNisotopes () const
TGeoIsotopeGetIsotope (Int_t i) const
Double_t GetRelativeAbundance (Int_t i) const
Bool_t HasIsotopes () const
Bool_t IsDefined () const
virtual Bool_t IsRadioNuclide () const
Bool_t IsUsed () const
virtual void Print (Option_t *option="") const
void SetDefined (Bool_t flag=kTRUE)
void SetUsed (Bool_t flag=kTRUE)
 TGeoElement ()
 TGeoElement (const char *name, const char *title, Int_t z, Double_t a)
 TGeoElement (const char *name, const char *title, Int_t nisotopes)
 TGeoElement (const char *name, const char *title, Int_t z, Int_t n, Double_t a)
virtual ~TGeoElement ()
virtual Int_t ENDFCode () const
Int_t Z () const
Int_t N () const
Double_t Neff () const
Double_t A () const
void AddIsotope (TGeoIsotope *isotope, Double_t relativeAbundance)
Int_t GetNisotopes () const
TGeoIsotopeGetIsotope (Int_t i) const
Double_t GetRelativeAbundance (Int_t i) const
Bool_t HasIsotopes () const
Bool_t IsDefined () const
virtual Bool_t IsRadioNuclide () const
Bool_t IsUsed () const
virtual void Print (Option_t *option="") const
void SetDefined (Bool_t flag=kTRUE)
void SetUsed (Bool_t flag=kTRUE)

Static Public Member Functions

static TGeoElementTableGetElementTable ()
static TGeoElementTableGetElementTable ()

Protected Types

enum  EGeoElement
enum  EGeoElement

Protected Attributes

Int_t fZ
Int_t fN
Int_t fNisotopes
Double_t fA
TObjArrayfIsotopes
Double_tfAbundances
TObjArrayfIsotopes
Double_tfAbundances

Private Member Functions

 TGeoElement (const TGeoElement &other)
TGeoElementoperator= (const TGeoElement &other)
 TGeoElement (const TGeoElement &other)
TGeoElementoperator= (const TGeoElement &other)

Detailed Description

Definition at line 46 of file TGeoElement.h.


Member Enumeration Documentation

enum TGeoElement::EGeoElement [protected]

Definition at line 49 of file TGeoElement.h.

enum TGeoElement::EGeoElement [protected]

Definition at line 49 of file TGeoElement.h.


Constructor & Destructor Documentation

TGeoElement::TGeoElement ( const TGeoElement other  )  [private]

TGeoElement::TGeoElement (  ) 

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  z,
Double_t  a 
)

Definition at line 83 of file TGeoElement.cxx.

References fA, fAbundances, fIsotopes, fN, fNisotopes, fZ, kFALSE, NULL, SetDefined(), and SetUsed().

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  nisotopes 
)

Definition at line 98 of file TGeoElement.cxx.

References fA, fAbundances, fIsotopes, fN, fNisotopes, fZ, kFALSE, SetDefined(), and SetUsed().

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  z,
Int_t  n,
Double_t  a 
)

Definition at line 113 of file TGeoElement.cxx.

References fA, fAbundances, fIsotopes, fN, fNisotopes, fZ, kFALSE, NULL, SetDefined(), and SetUsed().

virtual TGeoElement::~TGeoElement (  )  [inline, virtual]

Definition at line 73 of file TGeoElement.h.

TGeoElement::TGeoElement ( const TGeoElement other  )  [private]

TGeoElement::TGeoElement (  ) 

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  z,
Double_t  a 
)

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  nisotopes 
)

TGeoElement::TGeoElement ( const char *  name,
const char *  title,
Int_t  z,
Int_t  n,
Double_t  a 
)

virtual TGeoElement::~TGeoElement (  )  [inline, virtual]

Definition at line 73 of file TGeoElement.h.


Member Function Documentation

TGeoElement& TGeoElement::operator= ( const TGeoElement other  )  [private]

virtual Int_t TGeoElement::ENDFCode (  )  const [inline, virtual]

Definition at line 75 of file TGeoElement.h.

Int_t TGeoElement::Z (  )  const [inline]

Definition at line 76 of file TGeoElement.h.

References fZ.

Referenced by TGeoMixture::AddElement(), TGeoMixtureEditor::DoSelectElement(), TGeoMaterial::TGeoMaterial(), and TGeoManager::UpdateElements().

Int_t TGeoElement::N (  )  const [inline]

Definition at line 77 of file TGeoElement.h.

References fN.

Double_t TGeoElement::Neff (  )  const

Definition at line 196 of file TGeoElement.cxx.

References TObjArray::At(), fAbundances, fIsotopes, fN, fNisotopes, TGeoIsotope::GetN(), and i.

Referenced by Print(), and TGeoMaterial::SetRadLen().

Double_t TGeoElement::A (  )  const [inline]

Definition at line 79 of file TGeoElement.h.

References fA.

Referenced by TGeoMixture::AddElement(), TGeoMixture::AverageProperties(), TGeoMixture::DecayMaterial(), TGeoMaterial::DecayMaterial(), TGeoMixtureEditor::DoSelectElement(), TGeoMaterialEditor::DoZ(), TGeoMaterial::SetRadLen(), and TGeoMaterial::TGeoMaterial().

void TGeoElement::AddIsotope ( TGeoIsotope isotope,
Double_t  relativeAbundance 
)

Definition at line 153 of file TGeoElement.cxx.

References TObjArray::Add(), TObjArray::At(), TObject::Error(), fA, fAbundances, TObject::Fatal(), fIsotopes, fN, fNisotopes, fZ, TGeoIsotope::GetA(), TGeoIsotope::GetN(), TNamed::GetName(), TGeoIsotope::GetZ(), and i.

Referenced by TGDMLParse::EleProcess().

Int_t TGeoElement::GetNisotopes (  )  const [inline]

Definition at line 81 of file TGeoElement.h.

References fNisotopes.

TGeoIsotope * TGeoElement::GetIsotope ( Int_t  i  )  const

Definition at line 213 of file TGeoElement.cxx.

References TObjArray::At(), fIsotopes, fNisotopes, and NULL.

Referenced by Print().

Double_t TGeoElement::GetRelativeAbundance ( Int_t  i  )  const

Definition at line 223 of file TGeoElement.cxx.

References fAbundances, and fNisotopes.

Bool_t TGeoElement::HasIsotopes (  )  const [inline]

Definition at line 84 of file TGeoElement.h.

References fNisotopes, kFALSE, and kTRUE.

Referenced by Print().

Bool_t TGeoElement::IsDefined (  )  const [inline]

Definition at line 85 of file TGeoElement.h.

References kElemDefined, and TObject::TestBit().

Referenced by TGeoManager::UpdateElements().

virtual Bool_t TGeoElement::IsRadioNuclide (  )  const [inline, virtual]

Definition at line 86 of file TGeoElement.h.

References kFALSE.

Referenced by TGeoMixture::DecayMaterial(), TGeoMaterial::DecayMaterial(), TGeoMaterial::FillMaterialEvolution(), and TGeoMixture::FillMaterialEvolution().

Bool_t TGeoElement::IsUsed (  )  const [inline]

Definition at line 87 of file TGeoElement.h.

References kElemUsed, and TObject::TestBit().

Referenced by TGeoManager::UpdateElements().

void TGeoElement::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 128 of file TGeoElement.cxx.

References fA, fAbundances, fNisotopes, fZ, GetIsotope(), TNamed::GetName(), HasIsotopes(), i, Neff(), and TGeoIsotope::Print().

void TGeoElement::SetDefined ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 89 of file TGeoElement.h.

References flag, kElemDefined, and TObject::SetBit().

Referenced by TGeoMixture::AddElement(), TGeoElement(), and TGeoManager::UpdateElements().

void TGeoElement::SetUsed ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 90 of file TGeoElement.h.

References flag, kElemUsed, and TObject::SetBit().

Referenced by TGeoElement(), TGeoMaterial::TGeoMaterial(), and TGeoManager::UpdateElements().

TGeoElementTable * TGeoElement::GetElementTable (  )  [static]

Definition at line 142 of file TGeoElement.cxx.

References TObject::Error(), TGeoManager::GetElementTable(), gGeoManager, and NULL.

Referenced by TGeoElementRN::CheckDecays(), TGeoIsotope::FindIsotope(), G__G__Geom1_139_0_23(), G__setup_memfuncTGeoElement(), and TGeoIsotope::TGeoIsotope().

TGeoElement& TGeoElement::operator= ( const TGeoElement other  )  [private]

virtual Int_t TGeoElement::ENDFCode (  )  const [inline, virtual]

Definition at line 75 of file TGeoElement.h.

Int_t TGeoElement::Z (  )  const [inline]

Definition at line 76 of file TGeoElement.h.

References fZ.

Int_t TGeoElement::N (  )  const [inline]

Definition at line 77 of file TGeoElement.h.

References fN.

Double_t TGeoElement::Neff (  )  const

Double_t TGeoElement::A (  )  const [inline]

Definition at line 79 of file TGeoElement.h.

References fA.

void TGeoElement::AddIsotope ( TGeoIsotope isotope,
Double_t  relativeAbundance 
)

Int_t TGeoElement::GetNisotopes (  )  const [inline]

Definition at line 81 of file TGeoElement.h.

References fNisotopes.

TGeoIsotope* TGeoElement::GetIsotope ( Int_t  i  )  const

Double_t TGeoElement::GetRelativeAbundance ( Int_t  i  )  const

Bool_t TGeoElement::HasIsotopes (  )  const [inline]

Definition at line 84 of file TGeoElement.h.

References fNisotopes, kFALSE, and kTRUE.

Bool_t TGeoElement::IsDefined (  )  const [inline]

Definition at line 85 of file TGeoElement.h.

References kElemDefined, and TObject::TestBit().

virtual Bool_t TGeoElement::IsRadioNuclide (  )  const [inline, virtual]

Definition at line 86 of file TGeoElement.h.

References kFALSE.

Bool_t TGeoElement::IsUsed (  )  const [inline]

Definition at line 87 of file TGeoElement.h.

References kElemUsed, and TObject::TestBit().

virtual void TGeoElement::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

void TGeoElement::SetDefined ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 89 of file TGeoElement.h.

References flag, kElemDefined, and TObject::SetBit().

void TGeoElement::SetUsed ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 90 of file TGeoElement.h.

References flag, kElemUsed, and TObject::SetBit().

static TGeoElementTable* TGeoElement::GetElementTable (  )  [static]


Member Data Documentation

Int_t TGeoElement::fZ [protected]

Definition at line 55 of file TGeoElement.h.

Referenced by AddIsotope(), TGeoElementRN::AtomicNo(), TGeoElementRN::DecayResult(), Print(), TGeoElementRN::Print(), TGeoElementRN::SavePrimitive(), TGeoElement(), and Z().

Int_t TGeoElement::fN [protected]

Definition at line 56 of file TGeoElement.h.

Referenced by AddIsotope(), N(), Neff(), and TGeoElement().

Int_t TGeoElement::fNisotopes [protected]

Definition at line 57 of file TGeoElement.h.

Referenced by AddIsotope(), GetIsotope(), GetNisotopes(), GetRelativeAbundance(), HasIsotopes(), Neff(), Print(), and TGeoElement().

Double_t TGeoElement::fA [protected]

Definition at line 58 of file TGeoElement.h.

Referenced by A(), AddIsotope(), TGeoElementRN::DecayResult(), TGeoElementRN::MassNo(), Print(), TGeoElementRN::Print(), TGeoElementRN::SavePrimitive(), and TGeoElement().

TObjArray* TGeoElement::fIsotopes [protected]

Definition at line 59 of file TGeoElement.h.

Referenced by AddIsotope(), GetIsotope(), Neff(), and TGeoElement().

Double_t* TGeoElement::fAbundances [protected]

Definition at line 60 of file TGeoElement.h.

Referenced by AddIsotope(), GetRelativeAbundance(), Neff(), Print(), and TGeoElement().

TObjArray* TGeoElement::fIsotopes [protected]

Definition at line 59 of file TGeoElement.h.

Double_t* TGeoElement::fAbundances [protected]

Definition at line 60 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