|
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_captureLevelProbability () |
| LUPI_HOST | GRIN_captureLevelProbability (SetupInfo &a_setupInfo, PoPI::Database const &a_pops, GIDI::GRIN::CaptureLevelProbability const *a_captureLevelProbability) |
| LUPI_HOST_DEVICE | ~GRIN_captureLevelProbability () |
| template<typename RNG> | |
| LUPI_HOST_DEVICE int | sampleCaptureLevel (ProtareSingle const *a_protare, double a_energy, RNG &&a_rng) |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
This class represents
Definition at line 1121 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::GRIN_captureLevelProbability::GRIN_captureLevelProbability | ( | ) |
Definition at line 374 of file MCGIDI_GRIN.cc.
| LUPI_HOST MCGIDI::GRIN_captureLevelProbability::GRIN_captureLevelProbability | ( | SetupInfo & | a_setupInfo, |
| PoPI::Database const & | a_pops, | ||
| GIDI::GRIN::CaptureLevelProbability const * | a_captureLevelProbability ) |
| a_setupInfo | [in] Used internally when constructing a Protare to pass information to other constructors. |
| a_captureLevelProbability | [in] GIDI instance with the data. |
Definition at line 383 of file MCGIDI_GRIN.cc.
| LUPI_HOST_DEVICE MCGIDI::GRIN_captureLevelProbability::~GRIN_captureLevelProbability | ( | ) |
Definition at line 397 of file MCGIDI_GRIN.cc.
|
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_protare | [in] The ProtareSingle this Reaction belongs to. |
| 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 3208 of file MCGIDI_headerSource.hpp.
Referenced by MCGIDI::GRIN_capture::sampleProducts().
| LUPI_HOST_DEVICE void MCGIDI::GRIN_captureLevelProbability::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 409 of file MCGIDI_GRIN.cc.