|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI_functions.hpp>
Protected Attributes | |
| ProbabilityBase3dType | m_type |
| Protected Attributes inherited from MCGIDI::Probabilities::ProbabilityBase | |
| Vector< double > | m_Xs |
Definition at line 735 of file MCGIDI_functions.hpp.
| LUPI_HOST_DEVICE MCGIDI::Probabilities::ProbabilityBase3d::ProbabilityBase3d | ( | ) |
Definition at line 2356 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::XYs3d::XYs3d().
| LUPI_HOST MCGIDI::Probabilities::ProbabilityBase3d::ProbabilityBase3d | ( | GIDI::Functions::FunctionForm const & | a_probabilty, |
| Vector< double > const & | a_Xs ) |
Definition at line 2363 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE MCGIDI::Probabilities::ProbabilityBase3d::~ProbabilityBase3d | ( | ) |
Definition at line 2372 of file MCGIDI_functions.cc.
| LUPI_HOST_DEVICE double MCGIDI::Probabilities::ProbabilityBase3d::evaluate | ( | double | a_x3, |
| double | a_x2, | ||
| double | a_x1 ) const |
Returns the value of the function f(x3, x2, x1) at x3 = a_x3, x2 = a_x2 and x1 = a_x1.
| a_x3 | [in] The x3 value. |
| a_x2 | [in] The x2 value. |
| a_x1 | [in] The x1 value. |
Definition at line 2408 of file MCGIDI_functions.cc.
Referenced by evaluate().
| LUPI_HOST_DEVICE double MCGIDI::Probabilities::ProbabilityBase3d::sample | ( | double | a_x3, |
| double | a_x2_1, | ||
| double | a_x2_2, | ||
| double | a_rngValue, | ||
| RNG && | a_rng ) const |
This method samples an x1 from a pdf(x1|x2) given x2 and the cumulative value of the pdf as a_rngValue.
| a_x3 | [in] The value of x3. |
| a_x2_1 | [in] The value of ?. |
| a_x2_2 | [in] The value of ?. |
| a_rngValue | [in] The value of the cumulative used to determine the x1 value. |
| a_rng | [in] The random number generator function that returns a double in the range [0, 1.0). |
Definition at line 2122 of file MCGIDI_headerSource.hpp.
| LUPI_HOST_DEVICE MCGIDI_VIRTUAL_FUNCTION double MCGIDI::Probabilities::ProbabilityBase3d::sample | ( | double | a_x3, |
| double | a_x2_1, | ||
| double | a_x2_2, | ||
| double | a_rngValue, | ||
| RNG && | a_rng ) const |
Referenced by sample().
| LUPI_HOST_DEVICE void MCGIDI::Probabilities::ProbabilityBase3d::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 2421 of file MCGIDI_functions.cc.
Referenced by MCGIDI::Probabilities::XYs3d::serialize().
|
inline |
Definition at line 745 of file MCGIDI_functions.hpp.
Referenced by MCGIDI::ProbabilityBase3dClass(), and serialize().
| LUPI_HOST_DEVICE String MCGIDI::Probabilities::ProbabilityBase3d::typeString | ( | ) | const |
Returns a String representation of the ProbabilityBase3d type of this.
Definition at line 2382 of file MCGIDI_functions.cc.
|
protected |
Definition at line 738 of file MCGIDI_functions.hpp.
Referenced by ProbabilityBase3d(), ProbabilityBase3d(), serialize(), type(), typeString(), MCGIDI::Probabilities::XYs3d::XYs3d(), and MCGIDI::Probabilities::XYs3d::XYs3d().