|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <PoPI.hpp>
Public Member Functions | |
| ParseIdInfo (std::string const &a_id) | |
| bool | isSupported () |
| std::string const & | Id () |
| bool | isNuclear () |
| bool | isNucleus () |
| bool | isChemicalElement () |
| bool | isAnti () |
| std::string const & | symbol () |
| int | Z () |
| int | A () |
| int | index () |
| std::string const & | qualifier () |
| void | print (bool a_terse, std::string const &a_indent="") const |
| PoPI::ParseIdInfo::ParseIdInfo | ( | std::string const & | a_id | ) |
This class breaks down a PoPs id for a nuclide or nuclear into its components (e.g., Z, A, index). The a_id can also be a nuclear meta-stable or one of the light paritlce aliases (i.e., "d", "t", "h" or "a"). If a_id is a light particle alias, its nucleus equavalent is used. Also, "p" is treated as "h1", and "n" returns Z = 0 and A = 1. Currently, no other PoPs id's are supported.
| a_id | [in] The PoPs id of the particle. |
Definition at line 1024 of file PoPI_chemicalElement.cc.
Referenced by ParseIdInfo().
|
inline |
Returns the value of the m_A member.
Definition at line 291 of file PoPI.hpp.
Referenced by MCGIDI::MCGIDI_popsIntid(), and PoPI::MetaStable::MetaStable().
|
inline |
|
inline |
Returns the value of the m_index member.
Definition at line 292 of file PoPI.hpp.
Referenced by PoPI::MetaStable::MetaStable().
|
inline |
|
inline |
|
inline |
Returns the value of the m_isNuclear member.
Definition at line 285 of file PoPI.hpp.
Referenced by MCGIDI::MCGIDI_popsIntid(), PoPI::MetaStable::MetaStable(), and GIDI::Map::Map::protare().
|
inline |
Returns the value of the m_isNucleus member.
Definition at line 286 of file PoPI.hpp.
Referenced by PoPI::MetaStable::MetaStable().
|
inline |
Returns the value of the *m_isSupported.
Definition at line 283 of file PoPI.hpp.
Referenced by MCGIDI::MCGIDI_popsIntid(), and GIDI::Map::Map::protare().
| void PoPI::ParseIdInfo::print | ( | bool | a_terse, |
| std::string const & | a_indent = "" ) const |
This method prints the contents of this. This is mainly for debugging.
| a_terse | [in] If true, all members are printed on one line with no description. Otherwise, each member is printed on a separate line with a description. |
| a_indent | [in] The amount of indentation on each line before anything is printed. |
Definition at line 1120 of file PoPI_chemicalElement.cc.
|
inline |
|
inline |
Returns a reference to the m_symbol member.
Definition at line 289 of file PoPI.hpp.
Referenced by ParseIdInfo(), and GIDI::Map::Map::protare().
|
inline |
Returns the value of the m_Z member.
Definition at line 290 of file PoPI.hpp.
Referenced by MCGIDI::MCGIDI_popsIntid(), and PoPI::MetaStable::MetaStable().