|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | GRIN_captureToCompound () |
| LUPI_HOST | GRIN_captureToCompound (SetupInfo &a_setupInfo, PoPI::Database const &a_pops, std::string a_compoundId) |
| LUPI_HOST_DEVICE | ~GRIN_captureToCompound () |
| LUPI_HOST_DEVICE std::size_t | index () const |
| template<typename RNG> | |
| LUPI_HOST_DEVICE int | sampleCaptureLevel (ProtareSingle const *a_protare, double a_energy, RNG &&a_rng, bool a_checkEnergy) const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
This class represents
Definition at line 1090 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::GRIN_captureToCompound::GRIN_captureToCompound | ( | ) |
Definition at line 314 of file MCGIDI_GRIN.cc.
| LUPI_HOST MCGIDI::GRIN_captureToCompound::GRIN_captureToCompound | ( | SetupInfo & | a_setupInfo, |
| PoPI::Database const & | a_pops, | ||
| std::string | a_compoundId ) |
| a_setupInfo | [in] Used internally when constructing a Protare to pass information to other constructors. |
| a_compoundId | [in] The GNDS PoPs' id of the compound level. |
Definition at line 323 of file MCGIDI_GRIN.cc.
| LUPI_HOST_DEVICE MCGIDI::GRIN_captureToCompound::~GRIN_captureToCompound | ( | ) |
Definition at line 349 of file MCGIDI_GRIN.cc.
|
inline |
Definition at line 1101 of file MCGIDI.hpp.
Referenced by GRIN_captureToCompound(), and sampleCaptureLevel().
|
inline |
This method samples a capture state level and returns an index into the a_protare->m_nuclideGammaBranchStateInfos vector of the sampled state level.
| a_energy | [in] The neutron separation energy plus the projectile energy. |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
Definition at line 3180 of file MCGIDI_headerSource.hpp.
Referenced by MCGIDI::GRIN_captureLevelProbability::sampleCaptureLevel().
| LUPI_HOST_DEVICE void MCGIDI::GRIN_captureToCompound::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 361 of file MCGIDI_GRIN.cc.