#include <PoPI.hpp>
Definition at line 748 of file PoPI.hpp.
◆ Decay()
Definition at line 151 of file PoPI_decayData.cc.
151 :
156
158
160}
#define PoPI_completeChars
#define PoPI_productsChars
◆ ~Decay()
◆ complete()
| bool PoPI::Decay::complete |
( |
| ) |
const |
|
inline |
Definition at line 762 of file PoPI.hpp.
762{ return( m_complete ); }
◆ index()
| int PoPI::Decay::index |
( |
void | | ) |
const |
|
inline |
Definition at line 760 of file PoPI.hpp.
760{ return( m_index ); }
◆ mode()
| std::string const & PoPI::Decay::mode |
( |
| ) |
const |
|
inline |
◆ products()
Definition at line 763 of file PoPI.hpp.
763{ return( m_products ); }
◆ toXMLList()
| void PoPI::Decay::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.
- Parameters
-
| 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 176 of file PoPI_decayData.cc.
176 {
177
179
180 std::string header = a_indent1 + "<decay index=\"" + indexString + "\"";
181 if( m_mode != "" ) header += " mode=\"" + m_mode + "\"";
182 if( m_complete ) header += " mode=\"true\"";
183 header += ">";
184 a_XMLList.push_back( std::move( header ) );
185
186 std::string indent2 = a_indent1 + " ";
187 m_products.toXMLList( a_XMLList, indent2 );
188
190}
void appendXMLEnd(std::vector< std::string > &a_XMLList, std::string const &a_label)
std::string to_string(G4FermiAtomicMass mass)
The documentation for this class was generated from the following files: