|
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_inelastic () |
| LUPI_HOST | GRIN_inelastic (SetupInfo &a_setupInfo, GIDI::GRIN::GRIN_continuumGammas const &GRIN_continuumGammas) |
| LUPI_HOST_DEVICE | ~GRIN_inelastic () |
| 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) |
This class represents GRIN inelastic continuum reaction data which has simulated levels.
Definition at line 1055 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::GRIN_inelastic::GRIN_inelastic | ( | ) |
Definition at line 195 of file MCGIDI_GRIN.cc.
Referenced by GRIN_inelastic(), and GRIN_inelastic().
| LUPI_HOST MCGIDI::GRIN_inelastic::GRIN_inelastic | ( | 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 204 of file MCGIDI_GRIN.cc.
| LUPI_HOST_DEVICE MCGIDI::GRIN_inelastic::~GRIN_inelastic | ( | ) |
Definition at line 230 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 3119 of file MCGIDI_headerSource.hpp.
| LUPI_HOST_DEVICE void MCGIDI::GRIN_inelastic::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 269 of file MCGIDI_GRIN.cc.
| LUPI_HOST void MCGIDI::GRIN_inelastic::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 242 of file MCGIDI_GRIN.cc.
| LUPI_HOST void MCGIDI::GRIN_inelastic::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 255 of file MCGIDI_GRIN.cc.