VGM Version 5.3
|
VGM implementation for Geant4 element. 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 (G4Element *element) | |
virtual | ~Element () |
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 () |
Protected Member Functions | |
Element () | |
Element (const Element &rhs) | |
Geant4GM::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 29 of file Element.cxx.
Geant4GM::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 47 of file Element.cxx.
Geant4GM::Element::Element | ( | G4Element * | element | ) |
Standard constructor to define element from the G4 object
Definition at line 88 of file Element.cxx.
|
virtual |
Definition at line 110 of file Element.cxx.
|
protected |
Protected default constructor
Definition at line 98 of file Element.cxx.
|
protected |
Protected copy constructor
Definition at line 104 of file Element.cxx.
|
virtual |
Return the name of this element.
Implements VGM::IElement.
Definition at line 135 of file Element.cxx.
|
virtual |
Return the symbol of this element.
Implements VGM::IElement.
Definition at line 138 of file Element.cxx.
|
virtual |
Return the effective atomic number.
Implements VGM::IElement.
Definition at line 141 of file Element.cxx.
|
virtual |
Return the effective number of nucleons.
Implements VGM::IElement.
Definition at line 144 of file Element.cxx.
|
virtual |
Return the effective effective mass of a mole in g/mole.
Implements VGM::IElement.
Definition at line 147 of file Element.cxx.
|
virtual |
Return the number of isotopes constituing this element.
Implements VGM::IElement.
Definition at line 153 of file Element.cxx.
|
virtual |
Return the i-th isotope constituing this element.
Implements VGM::IElement.
Definition at line 159 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 168 of file Element.cxx.