|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <PoPI.hpp>
Public Member Functions | |
| Base (std::string const &a_id, Particle_class a_class) | |
| Base (HAPI::Node const &a_node, std::string const &a_label, Particle_class a_class) | |
| virtual | ~Base () |
| std::string const & | ID (void) const |
| std::size_t | index (void) const |
| void | setIndex (std::size_t a_index) |
| int | intid () const |
| Particle_class | Class (void) const |
| virtual bool | isParticle () const |
| bool | isAlias (void) const |
| bool | isMetaStableAlias (void) const |
| bool | isGaugeBoson () const |
| bool | isLepton () const |
| bool | isBaryon () const |
| bool | isUnorthodox () const |
| bool | isNucleus () const |
| bool | isNuclide () const |
| bool | isIsotope () const |
| bool | isChemicalElement () const |
Public Attributes | |
| friend | MetaStable |
| friend | Alias |
| friend | Baryon |
| friend | GaugeBoson |
| friend | Lepton |
| friend | Nucleus |
| friend | Nuclide |
| friend | Unorthodox |
This class is the base class for all Particle and SymbolBase instances.
| PoPI::Base::Base | ( | std::string const & | a_id, |
| Particle_class | a_class ) |
| a_id | [in] The PoPs id for this. |
| a_class | [in] The PoPI class for this. |
Definition at line 23 of file PoPI_base.cc.
Referenced by PoPI::IDBase::IDBase(), PoPI::IDBase::IDBase(), and PoPI::SymbolBase::SymbolBase().
| PoPI::Base::Base | ( | HAPI::Node const & | a_node, |
| std::string const & | a_label, | ||
| Particle_class | a_class ) |
Constructor that parses an HAPI instance.
| a_node | [in] The HAPI::Node to be parsed. |
| a_label | [in] This is either id or symbol. That is, it is the name of the attribute in a_node whose value represents this m_id member. |
| a_class | [in] The PoPI class for this. |
Definition at line 39 of file PoPI_base.cc.
|
virtual |
Definition at line 50 of file PoPI_base.cc.
|
inline |
Returns the value of the m_class member of this.
Definition at line 656 of file PoPI.hpp.
Referenced by PoPI::Database::addSymbol().
|
inline |
Returns a const reference to the m_id member of this.
Definition at line 652 of file PoPI.hpp.
Referenced by PoPI::Database::add(), PoPI::Alias::Alias(), PoPI::Nuclide::calculateNuclideGammaBranchStateInfos(), PoPI::Database::chemicalElementSymbol(), PoPI::Nucleus::energy(), PoPI::GaugeBoson::GaugeBoson(), PoPI::Database::isotopeSymbol(), PoPI::Lepton::Lepton(), PoPI::Nuclide::massValue(), PoPI::Particle::massValue(), PoPI::MetaStable::MetaStable(), PoPI::Particle::Particle(), PoPI::particleA(), GIDI::ParticleInfo::ParticleInfo(), PoPI::particleZ(), PoPI::particleZA(), PoPI::Database::print(), GIDI::Map::Map::replacementTarget(), PoPI::SymbolBase::symbol(), PoPI::Alias::toXMLList(), PoPI::MetaStable::toXMLList(), PoPI::Particle::toXMLList(), and PoPI::Unorthodox::Unorthodox().
|
inline |
Returns the value of the m_index member of this.
Definition at line 653 of file PoPI.hpp.
Referenced by PoPI::IDBase::addToDatabase(), PoPI::SymbolBase::addToSymbols(), and PoPI::Database::print().
|
inline |
Returns the value of the m_intid member.
Definition at line 655 of file PoPI.hpp.
Referenced by PoPI::Database::add(), PoPI::Nuclide::calculateNuclideGammaBranchStateInfos(), GIDI::GRIN::GRIN_continuumGammas::GRIN_continuumGammas(), and PoPI::Database::intid().
|
inline |
Returns true if this is an Alias or MetaStable instance and false otherwise.
Definition at line 658 of file PoPI.hpp.
Referenced by PoPI::Database::add(), G4GIDI_target::G4GIDI_target(), GIDI::ParticleInfo::ParticleInfo(), and PoPI::Database::print().
|
inline |
|
inline |
Returns true if this is a ChemicalElement instance and false otherwise.
Definition at line 670 of file PoPI.hpp.
Referenced by PoPI::Database::chemicalElementSymbol(), PoPI::particleZ(), PoPI::particleZ(), PoPI::particleZA(), and GIDI::Map::Protare::Protare().
|
inline |
Returns true if this is a GaugeBoson instance and false otherwise.
|
inline |
Returns true if this is a Isotope instance and false otherwise.
Definition at line 669 of file PoPI.hpp.
Referenced by PoPI::Database::chemicalElementSymbol(), PoPI::Database::isotopeSymbol(), PoPI::particleA(), and PoPI::particleZ().
|
inline |
|
inline |
Returns true if this is a MetaStable instance and false otherwise.
Definition at line 660 of file PoPI.hpp.
Referenced by isAlias(), and PoPI::particleMetaStableIndex().
|
inline |
Returns true if this is a Nucleus instance and false otherwise.
Definition at line 667 of file PoPI.hpp.
Referenced by PoPI::Database::chemicalElementSymbol(), PoPI::Database::isotopeSymbol(), PoPI::particleA(), PoPI::particleZ(), and GIDI::Map::Map::replacementTarget().
|
inline |
Returns true if this is a Nuclide instance and false otherwise.
Definition at line 668 of file PoPI.hpp.
Referenced by PoPI::Database::chemicalElementSymbol(), PoPI::Database::isotopeSymbol(), PoPI::particleA(), GIDI::ParticleInfo::ParticleInfo(), and PoPI::particleZ().
|
inlinevirtual |
Returns true if this is a Particle and false it this is a ChemicalElement or Isotope instance.
Reimplemented in PoPI::SymbolBase.
Definition at line 657 of file PoPI.hpp.
Referenced by G4GIDI_target::G4GIDI_target(), PoPI::Database::intid(), GIDI::ParticleInfo::ParticleInfo(), and PoPI::Database::print().
|
inline |
Returns true if this is a Unorthodox instance and false otherwise.
|
inline |
Sets the value of the m_index member of this to a_index.
Definition at line 654 of file PoPI.hpp.
Referenced by PoPI::Database::add(), and PoPI::Database::addSymbol().