|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | MultiGroupGain () |
| LUPI_HOST | MultiGroupGain (int a_particleIntid, int a_particleIndex, GIDI::Vector const &a_gain) |
| LUPI_HOST MultiGroupGain & | operator= (MultiGroupGain const &a_multiGroupGain) |
| LUPI_HOST_DEVICE int | particleIntid () const |
| LUPI_HOST_DEVICE int | particleIndex () const |
| LUPI_HOST_DEVICE int | userParticleIndex () const |
| LUPI_HOST void | setUserParticleIndex (int a_particleIndex, int a_userParticleIndex) |
| LUPI_HOST void | setUserParticleIndexViaIntid (int a_particleIntid, int a_userParticleIndex) |
| LUPI_HOST_DEVICE Vector< double > const & | gain () const |
| LUPI_HOST_DEVICE double | gain (std::size_t a_hashIndex) const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST void | write (FILE *a_file) const |
This class store a particles index and gain for a protare.
Definition at line 753 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::MultiGroupGain::MultiGroupGain | ( | ) |
Definition at line 1506 of file MCGIDI_heatedCrossSections.cc.
Referenced by operator=().
| LUPI_HOST MCGIDI::MultiGroupGain::MultiGroupGain | ( | int | a_particleIntid, |
| int | a_particleIndex, | ||
| GIDI::Vector const & | a_gain ) |
Definition at line 1516 of file MCGIDI_heatedCrossSections.cc.
|
inline |
|
inline |
Definition at line 777 of file MCGIDI.hpp.
| LUPI_HOST MultiGroupGain & MCGIDI::MultiGroupGain::operator= | ( | MultiGroupGain const & | a_multiGroupGain | ) |
| a_multiGroupGain | [in] The MultiGroupGain whose contents are to be copied. |
Definition at line 1528 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Returns the value of the m_particleIndex member of this.
Definition at line 768 of file MCGIDI.hpp.
Referenced by operator=().
|
inline |
Returns the value of the m_particleIntid member of this.
Definition at line 767 of file MCGIDI.hpp.
Referenced by operator=().
| LUPI_HOST_DEVICE void MCGIDI::MultiGroupGain::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 1546 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Sets member m_userParticleIndex to a_userParticleIndex if particle's index matchs m_particleIndex.
Definition at line 770 of file MCGIDI.hpp.
|
inline |
Sets member m_userParticleIntid to a_userParticleIndex if particle's intid matchs m_particleIntid.
Definition at line 773 of file MCGIDI.hpp.
|
inline |
Returns the value of the m_userParticleIndex member of this.
Definition at line 769 of file MCGIDI.hpp.
Referenced by operator=().
| LUPI_HOST void MCGIDI::MultiGroupGain::write | ( | FILE * | a_file | ) | const |
This method writes the multi-group data.
| a_file | [in] The buffer to read or write data to depending on a_mode. |
Definition at line 1560 of file MCGIDI_heatedCrossSections.cc.