|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | ACE_URR_probabilityTable () |
| LUPI_HOST | ACE_URR_probabilityTable (double a_energy, std::vector< double > const &a_propabilities, std::vector< double > const &a_crossSection) |
| LUPI_HOST_DEVICE | ~ACE_URR_probabilityTable () |
| LUPI_HOST_DEVICE double | energy () const |
| LUPI_HOST_DEVICE double | sample (double a_rng_Value) |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
Public Attributes | |
| double | m_energy |
| Vector< double > | m_propabilities |
| Vector< double > | m_crossSections |
Class to store ACE URR probability table at one projectile energy for one type of reaction (e.g., total, elastic).
Definition at line 477 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::ACE_URR_probabilityTable::ACE_URR_probabilityTable | ( | ) |
Simple constructor needed for broadcasting.
Definition at line 97 of file MCGIDI_URR.cc.
| LUPI_HOST MCGIDI::ACE_URR_probabilityTable::ACE_URR_probabilityTable | ( | double | a_energy, |
| std::vector< double > const & | a_propabilities, | ||
| std::vector< double > const & | a_crossSection ) |
| a_energy | [in] The projectile energy where the data are specified. |
| a_propabilities | [in] The probability for each cross section. |
| a_crossSection | [in] The cross section for each probability. |
Definition at line 108 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE MCGIDI::ACE_URR_probabilityTable::~ACE_URR_probabilityTable | ( | ) |
Simple constructor needed for broadcasting.
Definition at line 126 of file MCGIDI_URR.cc.
|
inline |
Definition at line 488 of file MCGIDI.hpp.
Referenced by MCGIDI::ACE_URR_probabilityTables::push_back().
| LUPI_HOST_DEVICE double MCGIDI::ACE_URR_probabilityTable::sample | ( | double | a_rng_Value | ) |
Returns the cross section corresponding to the probability a_rng_Value.
| a_rng_Value | [in] A random number in the range [0,1). |
Definition at line 138 of file MCGIDI_URR.cc.
| LUPI_HOST_DEVICE void MCGIDI::ACE_URR_probabilityTable::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 154 of file MCGIDI_URR.cc.
Referenced by MCGIDI::ACE_URR_probabilityTables::serialize().
| Vector<double> MCGIDI::ACE_URR_probabilityTable::m_crossSections |
The cross section for each probability.
Definition at line 482 of file MCGIDI.hpp.
Referenced by ACE_URR_probabilityTable(), sample(), and serialize().
| double MCGIDI::ACE_URR_probabilityTable::m_energy |
The projectile energy where the data are specified.
Definition at line 480 of file MCGIDI.hpp.
Referenced by ACE_URR_probabilityTable(), ACE_URR_probabilityTable(), energy(), and serialize().
| Vector<double> MCGIDI::ACE_URR_probabilityTable::m_propabilities |
The probability for each cross section.
Definition at line 481 of file MCGIDI.hpp.
Referenced by ACE_URR_probabilityTable(), sample(), and serialize().