|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <PoPI.hpp>
Public Member Functions | |
| 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 |
| virtual double | massValue (char const *a_unit) 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 |
| 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::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 |
Friends | |
| class | Unorthodox |
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::Particle::Particle | ( | HAPI::Node const & | a_node, |
| Particle_class | a_class, | ||
| std::string const & | a_family, | ||
| int | a_hasNucleus = 0 ) |
| a_node | [in] The HAPI::Node node to be parsed. |
| a_class | [in] The class of the particle. |
| a_family | [in] The family of the particle. |
| a_hasNucleus | [in] Indicates if the particle is or contains a nucleus. 0 = no, -1 = yes and 1 = is nucleus. |
Definition at line 25 of file PoPI_particle.cc.
Referenced by PoPI::Baryon::Baryon(), PoPI::GaugeBoson::GaugeBoson(), PoPI::Lepton::Lepton(), PoPI::Nucleus::Nucleus(), PoPI::Nuclide::Nuclide(), and PoPI::Unorthodox::Unorthodox().
|
virtual |
Definition at line 44 of file PoPI_particle.cc.
|
inline |
Returns a const reference to the m_baseId member.
Definition at line 873 of file PoPI.hpp.
Referenced by PoPI::Baryon::Baryon().
|
inline |
|
inline |
Returns a const reference to the m_decayData member.
Definition at line 887 of file PoPI.hpp.
Referenced by PoPI::Nuclide::calculateNuclideGammaBranchStateInfos().
|
inline |
Returns a const reference to the m_family member.
Definition at line 874 of file PoPI.hpp.
Referenced by toXMLList().
|
inline |
|
inline |
Returns the value of the m_hasNucleus member.
Definition at line 876 of file PoPI.hpp.
Referenced by GIDI::Map::Map::replacementTarget().
|
inline |
Returns the value of the m_anti member.
Definition at line 875 of file PoPI.hpp.
Referenced by PoPI::Baryon::Baryon(), PoPI::GaugeBoson::GaugeBoson(), PoPI::Lepton::Lepton(), PoPI::Nucleus::Nucleus(), PoPI::Nuclide::Nuclide(), and PoPI::Unorthodox::Unorthodox().
|
inlinevirtual |
Returns a const reference to the m_mass member.
Definition at line 878 of file PoPI.hpp.
Referenced by PoPI::Nucleus::massValue(), PoPI::Nuclide::massValue(), and massValue().
|
virtual |
Returns the mass of the particle 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 in PoPI::Nucleus, and PoPI::Nuclide.
Definition at line 56 of file PoPI_particle.cc.
Referenced by PoPI::DecayMode::calculateNuclideGammaBranchStateInfo(), PoPI::GammaDecayData::calculateNuclideGammaBranchStateInfo(), PoPI::Database::massValue(), and GIDI::ParticleInfo::ParticleInfo().
|
inline |
Returns the value of massValue( a_unit.c_str( ) ).
Definition at line 880 of file PoPI.hpp.
Referenced by massValue().
|
inline |
|
inline |
| void PoPI::Particle::toXMLList | ( | std::vector< std::string > & | a_XMLList, |
| std::string const & | a_indent1 ) const |
Adds the contents of this to a_XMLList where each item in a_XMLList is one line (without linefeeds) to output as an XML representation of this.
| 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. |
Definition at line 73 of file PoPI_particle.cc.
|
virtual |
Currently there are no extra attributes to add. Ergo, returns an empty string.
Reimplemented in PoPI::Lepton, and PoPI::Nucleus.
Definition at line 95 of file PoPI_particle.cc.
Referenced by toXMLList().
|
virtual |
Currently there are no extra child nodes to add.
| 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 in PoPI::Nucleus, and PoPI::Nuclide.
Definition at line 107 of file PoPI_particle.cc.
Referenced by toXMLList().
|
friend |
Definition at line 893 of file PoPI.hpp.
Referenced by Unorthodox.