VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::Element Class Reference

VGM implementation for Geant4 element. More...

#include <Element.h>

Inheritance diagram for Geant4GM::Element:

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::IIsotopeIsotope (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)
 

Detailed Description

VGM implementation for Geant4 element.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Element.h.

Constructor & Destructor Documentation

◆ Element() [1/5]

Geant4GM::Element::Element ( const std::string & name,
const std::string & symbol,
double z,
double a )

Standard constructor to define element from parameters

Parameters
nameits name (must be unique in the factory)
symbolits symbol
zthe effective atomic number
athe effective mass of a mole in g/mole

Definition at line 29 of file Element.cxx.

◆ Element() [2/5]

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

Parameters
nameits name (must be unique in the factory)
symbolits symbol
isotopesthe vector if isotopes
relAbundancesthe vector of relative abundances of isotopes

Definition at line 47 of file Element.cxx.

◆ Element() [3/5]

Geant4GM::Element::Element ( G4Element * element)

Standard constructor to define element from the G4 object

Definition at line 88 of file Element.cxx.

◆ ~Element()

Geant4GM::Element::~Element ( )
virtual

Definition at line 110 of file Element.cxx.

◆ Element() [4/5]

Geant4GM::Element::Element ( )
protected

Protected default constructor

Definition at line 98 of file Element.cxx.

◆ Element() [5/5]

Geant4GM::Element::Element ( const Element & rhs)
protected

Protected copy constructor

Definition at line 104 of file Element.cxx.

Member Function Documentation

◆ Name()

std::string Geant4GM::Element::Name ( ) const
virtual

Return the name of this element.

Implements VGM::IElement.

Definition at line 135 of file Element.cxx.

◆ Symbol()

std::string Geant4GM::Element::Symbol ( ) const
virtual

Return the symbol of this element.

Implements VGM::IElement.

Definition at line 138 of file Element.cxx.

◆ Z()

double Geant4GM::Element::Z ( ) const
virtual

Return the effective atomic number.

Implements VGM::IElement.

Definition at line 141 of file Element.cxx.

◆ N()

double Geant4GM::Element::N ( ) const
virtual

Return the effective number of nucleons.

Implements VGM::IElement.

Definition at line 144 of file Element.cxx.

◆ A()

double Geant4GM::Element::A ( ) const
virtual

Return the effective effective mass of a mole in g/mole.

Implements VGM::IElement.

Definition at line 147 of file Element.cxx.

◆ NofIsotopes()

int Geant4GM::Element::NofIsotopes ( ) const
virtual

Return the number of isotopes constituing this element.

Implements VGM::IElement.

Definition at line 153 of file Element.cxx.

◆ Isotope()

VGM::IIsotope * Geant4GM::Element::Isotope ( int i) const
virtual

Return the i-th isotope constituing this element.

Implements VGM::IElement.

Definition at line 159 of file Element.cxx.

◆ RelAbundance()

double Geant4GM::Element::RelAbundance ( int i) const
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.


The documentation for this class was generated from the following files: