|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | NuclideGammaBranchInfo () |
| LUPI_HOST | NuclideGammaBranchInfo (PoPI::NuclideGammaBranchInfo const &a_nuclideGammaBranchInfo, std::map< std::string, int > &a_stateNamesToIndices, bool a_makePhotonEmissionProbabilitiesOne) |
| LUPI_HOST_DEVICE double | probability () const |
| LUPI_HOST_DEVICE double | photonEmissionProbability () const |
| LUPI_HOST_DEVICE double | gammaEnergy () const |
| LUPI_HOST_DEVICE int | residualStateIndex () const |
| LUPI_HOST_DEVICE bool | residualStateKindIsContinuum () const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST void | print (ProtareSingle const *a_protareSingle, std::string const &a_indent, std::string const &a_iFormat, std::string const &a_energyFormat, std::string const &a_dFormat) const |
Definition at line 938 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::NuclideGammaBranchInfo::NuclideGammaBranchInfo | ( | ) |
Definition at line 26 of file MCGIDI_nuclideGammaBranching.cc.
| MCGIDI::NuclideGammaBranchInfo::NuclideGammaBranchInfo | ( | PoPI::NuclideGammaBranchInfo const & | a_nuclideGammaBranchInfo, |
| std::map< std::string, int > & | a_stateNamesToIndices, | ||
| bool | a_makePhotonEmissionProbabilitiesOne ) |
Definition at line 38 of file MCGIDI_nuclideGammaBranching.cc.
|
inline |
Returns the value of the m_gammaEnergy.
Definition at line 954 of file MCGIDI.hpp.
Referenced by NuclideGammaBranchInfo(), and MCGIDI::ProtareSingle::sampleBranchingGammas().
|
inline |
Returns the value of the m_photonEmissionProbability.
Definition at line 953 of file MCGIDI.hpp.
Referenced by NuclideGammaBranchInfo(), and MCGIDI::ProtareSingle::sampleBranchingGammas().
| LUPI_HOST void MCGIDI::NuclideGammaBranchInfo::print | ( | ProtareSingle const * | a_protareSingle, |
| std::string const & | a_indent, | ||
| std::string const & | a_iFormat, | ||
| std::string const & | a_energyFormat, | ||
| std::string const & | a_dFormat ) const |
Print to std::cout the content of this. This is mainly meant for debugging.
| a_protareSingle | [in] The ProtareSingle instance this resides in. |
| a_indent | [in] The buffer to read or write data to depending on a_mode. |
| a_iFormat | [in] C printf format specifier for any interger that is printed (e.g., "%3d"). |
| a_energyFormat | [in] C printf format specifier for any interger that is printed (e.g., "%20.12e"). |
| a_dFormat | [in] C printf format specifier for any interger that is printed (e.g., "%14.7e"). |
Definition at line 77 of file MCGIDI_nuclideGammaBranching.cc.
|
inline |
Returns the value of the m_probability.
Definition at line 952 of file MCGIDI.hpp.
Referenced by NuclideGammaBranchInfo(), and MCGIDI::ProtareSingle::sampleBranchingGammas().
|
inline |
Returns the value of the m_residualStateIndex.
Definition at line 955 of file MCGIDI.hpp.
Referenced by MCGIDI::ProtareSingle::sampleBranchingGammas().
|
inline |
Returns the value of the **m_residualStateKindIsContinuum. **.
Definition at line 956 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE void MCGIDI::NuclideGammaBranchInfo::serialize | ( | LUPI::DataBuffer & | a_buffer, |
| LUPI::DataBuffer::Mode | a_mode ) |
This method serializes this for broadcasting as needed for MPI and GPUs. The method can count the number of required bytes, pack this or unpack this depending on a_mode.
| a_buffer | [in] The buffer to read or write data to depending on a_mode. |
| a_mode | [in] Specifies the action of this method. |
Definition at line 59 of file MCGIDI_nuclideGammaBranching.cc.