|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <PoPI.hpp>
Public Member Functions | |
| Nucleus (HAPI::Node const &node, Database *a_DB, Nuclide *a_parent) | |
| virtual | ~Nucleus () |
| Nuclide const * | nuclide () const |
| int | Z (void) const |
| int | A (void) const |
| std::string const & | levelName () const |
| int | levelIndex (void) const |
| std::string const & | atomsID (void) const |
| double | massValue (char const *a_unit) const |
| PQ_suite const & | energy (void) const |
| double | energy (std::string const &a_unit) const |
| virtual std::string | toXMLListExtraAttributes (void) const |
| virtual void | toXMLListExtraElements (std::vector< std::string > &a_XMLList, std::string const &a_indent1) const |
| Public Member Functions inherited from PoPI::Particle | |
| Particle (HAPI::Node const &a_node, Particle_class a_class, std::string const &a_family, int a_hasNucleus=0) | |
| virtual | ~Particle () |
| std::string const & | baseId (void) const |
| std::string const & | family (void) const |
| bool | isAnti () const |
| int | hasNucleus (void) const |
| virtual PQ_suite const & | mass (void) const |
| double | massValue (std::string const &a_unit) const |
| PQ_suite const & | spin () const |
| PQ_suite const & | parity () const |
| PQ_suite const & | charge () const |
| PQ_suite const & | halflife () const |
| DecayData const & | decayData () const |
| void | toXMLList (std::vector< std::string > &a_XMLList, std::string const &a_indent1) const |
| Public Member Functions inherited from PoPI::IDBase | |
| IDBase (std::string const &a_id, Particle_class a_class) | |
| IDBase (HAPI::Node const &a_node, Particle_class a_class) | |
| virtual | ~IDBase () |
| std::size_t | addToDatabase (Database *a_DB) |
| double | massValue2 (Database const &a_DB, std::string const &a_unit) const |
| Public Member Functions inherited from PoPI::Base | |
| 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 |
Additional Inherited Members | |
| Public Attributes inherited from PoPI::Base | |
| friend | MetaStable |
| friend | Alias |
| friend | Baryon |
| friend | GaugeBoson |
| friend | Lepton |
| friend | Nucleus |
| friend | Nuclide |
| friend | Unorthodox |
| PoPI::Nucleus::Nucleus | ( | HAPI::Node const & | a_node, |
| Database * | a_DB, | ||
| Nuclide * | a_nuclide ) |
Constructor that parses an HAPI instance to create a PoPs nucleus node.
| a_node | [in] The HAPI::Node to be parsed. |
| a_DB | [in] The PoPI::Database:: instance to add the constructed **Nucleus to. |
| a_nuclide | [in] This nuclide instance that will contain this. |
Definition at line 31 of file PoPI_nucleus.cc.
|
virtual |
Definition at line 51 of file PoPI_nucleus.cc.
|
inline |
Returns a const reference to the m_A member.
Definition at line 976 of file PoPI.hpp.
Referenced by Nucleus(), and PoPI::particleA().
| std::string const & PoPI::Nucleus::atomsID | ( | void | ) | const |
Returns the atomic ID of the parent nuclide.
Definition at line 61 of file PoPI_nucleus.cc.
| double PoPI::Nucleus::energy | ( | std::string const & | a_unit | ) | const |
Returns the excitation energy of the nucleus in units of a_unit. Currently not fully implement and does not support a_unit.
| a_unit | [in] The unit to return the mass in. |
Definition at line 102 of file PoPI_nucleus.cc.
|
inline |
|
inline |
|
inline |
|
virtual |
Returns the mass of the nucleus in units of a_unit. Currently not fully implement and does not support a_unit.
| a_unit | [in] The unit to return the mass in. |
Reimplemented from PoPI::Particle.
Definition at line 74 of file PoPI_nucleus.cc.
|
inline |
|
virtual |
Returns the index attribute.
Reimplemented from PoPI::Particle.
Definition at line 118 of file PoPI_nucleus.cc.
|
virtual |
Added the m_energy stuff to a_XMLList.
| a_XMLList | [in] The list to add an XML output representation of this to. |
| a_indent1 | [in] The amount of indentation to added to each line added to a_XMLList. |
Reimplemented from PoPI::Particle.
Definition at line 130 of file PoPI_nucleus.cc.
|
inline |
Returns a const reference to the m_Z member.
Definition at line 975 of file PoPI.hpp.
Referenced by Nucleus(), and PoPI::particleZ().