VGM Version 5.3
|
VGM implementation for Root element using TGeoElement object. More...
#include <Element.h>
Public Member Functions | |
Element (const std::string &name, const std::string &symbol, double z, double a) | |
Element (const std::string &name, const std::string &symbol, const VGM::IsotopeVector &isotopes, const VGM::RelAbundanceVector &relAbundances) | |
Element (TGeoElement *geoElement) | |
virtual | ~Element () |
Element & | operator= (const Element &rhs) |
virtual std::string | Name () const |
Return the name of this element. | |
virtual std::string | Symbol () const |
Return the symbol of this element. | |
virtual double | Z () const |
Return the effective atomic number. | |
virtual double | N () const |
Return the effective number of nucleons. | |
virtual double | A () const |
Return the effective effective mass of a mole in g/mole. | |
virtual int | NofIsotopes () const |
Return the number of isotopes constituing this element. | |
virtual VGM::IIsotope * | Isotope (int i) const |
Return the i-th isotope constituing this element. | |
virtual double | RelAbundance (int i) const |
Return the relative abundance (the fraction of nb of atomes per volume) of the i-th isotope constituing this material. | |
Public Member Functions inherited from VGM::IElement | |
virtual | ~IElement () |
VGM implementation for Root element using TGeoElement object.
RootGM::Element::Element | ( | const std::string & | name, |
const std::string & | symbol, | ||
double | z, | ||
double | a ) |
Standard constructor to define element from parameters
name | its name (must be unique in the factory) |
symbol | its symbol |
z | the effective atomic number |
a | the effective mass of a mole in g/mole |
Definition at line 32 of file Element.cxx.
RootGM::Element::Element | ( | const std::string & | name, |
const std::string & | symbol, | ||
const VGM::IsotopeVector & | isotopes, | ||
const VGM::RelAbundanceVector & | relAbundances ) |
Standard constructor to define element from parameters
name | its name (must be unique in the factory) |
symbol | its symbol |
isotopes | the vector if isotopes |
relAbundances | the vector of relative abundances of isotopes |
Definition at line 50 of file Element.cxx.
RootGM::Element::Element | ( | TGeoElement * | geoElement | ) |
Standard constructor to define element from TGeoElement
geoElement | TGeoElement |
Definition at line 91 of file Element.cxx.
|
virtual |
Definition at line 102 of file Element.cxx.
|
virtual |
Return the name of this element.
Implements VGM::IElement.
Definition at line 127 of file Element.cxx.
|
virtual |
Return the symbol of this element.
Implements VGM::IElement.
Definition at line 130 of file Element.cxx.
|
virtual |
Return the effective atomic number.
Implements VGM::IElement.
Definition at line 133 of file Element.cxx.
|
virtual |
Return the effective number of nucleons.
Implements VGM::IElement.
Definition at line 136 of file Element.cxx.
|
virtual |
Return the effective effective mass of a mole in g/mole.
Implements VGM::IElement.
Definition at line 139 of file Element.cxx.
|
virtual |
Return the number of isotopes constituing this element.
Implements VGM::IElement.
Definition at line 145 of file Element.cxx.
|
virtual |
Return the i-th isotope constituing this element.
Implements VGM::IElement.
Definition at line 148 of file Element.cxx.
|
virtual |
Return the relative abundance (the fraction of nb of atomes per volume) of the i-th isotope constituing this material.
Implements VGM::IElement.
Definition at line 157 of file Element.cxx.