|
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_capture () |
| LUPI_HOST | GRIN_capture (SetupInfo &a_setupInfo, GIDI::GRIN::GRIN_continuumGammas const &GRIN_continuumGammas) |
| LUPI_HOST_DEVICE | ~GRIN_capture () |
| LUPI_HOST void | setUserParticleIndex (int a_particleIndex, int a_userParticleIndex) |
| LUPI_HOST void | setUserParticleIndexViaIntid (int a_particleIntid, int a_userParticleIndex) |
| template<typename RNG, typename PUSHBACK> | |
| LUPI_HOST_DEVICE bool | sampleProducts (ProtareSingle const *a_protare, double a_projectileEnergy, Sampling::Input &a_input, RNG &&a_rng, PUSHBACK &&a_push_back, Sampling::ProductHandler &a_products) const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
Thiis class represents GRIN capture continuum reaction data which has simulated (i.e., modelled) levels.
Definition at line 1144 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::GRIN_capture::GRIN_capture | ( | ) |
Definition at line 445 of file MCGIDI_GRIN.cc.
| LUPI_HOST MCGIDI::GRIN_capture::GRIN_capture | ( | SetupInfo & | a_setupInfo, |
| GIDI::GRIN::GRIN_continuumGammas const & | GRIN_continuumGammas ) |
| a_setupInfo | [in] Used internally when constructing a Protare to pass information to other constructors. |
| GRIN_continuumGammas | [in] GIDI instance containing the GRIN capture data. |
Definition at line 459 of file MCGIDI_GRIN.cc.
| LUPI_HOST_DEVICE MCGIDI::GRIN_capture::~GRIN_capture | ( | ) |
Definition at line 484 of file MCGIDI_GRIN.cc.
|
inline |
This method adds sampled products to a_products.
| a_protare | [in] The ProtareSingle this Reaction belongs to. |
| a_projectileEnergy | [in] The energy of the projectile. |
| a_input | [in] Sample options requested by user. |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
| a_products | [in] The object to add all sampled products to. |
Definition at line 3069 of file MCGIDI_headerSource.hpp.
| LUPI_HOST_DEVICE void MCGIDI::GRIN_capture::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 522 of file MCGIDI_GRIN.cc.
| LUPI_HOST void MCGIDI::GRIN_capture::setUserParticleIndex | ( | int | a_particleIndex, |
| int | a_userParticleIndex ) |
Updates the m_userParticleIndex to a_userParticleIndex for all particles with PoPs index a_particleIndex.
| a_particleIndex | [in] The PoPs index of the particle whose user index is to be set. |
| a_userParticleIndex | [in] The particle index specified by the user. |
Definition at line 496 of file MCGIDI_GRIN.cc.
| LUPI_HOST void MCGIDI::GRIN_capture::setUserParticleIndexViaIntid | ( | int | a_particleIntid, |
| int | a_userParticleIndex ) |
Updates the m_userParticleIndex to a_userParticleIndex for all particles with PoPs intid a_particleIntid.
| a_particleIntid | [in] The PoPs intid of the particle whose user index is to be set. |
| a_userParticleIndex | [in] The particle index specified by the user. |
Definition at line 508 of file MCGIDI_GRIN.cc.