|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <MCGIDI.hpp>
Public Member Functions | |
| LUPI_HOST_DEVICE | ContinuousEnergyGain () |
| LUPI_HOST | ContinuousEnergyGain (int a_particleIntid, int a_particleIndex, std::size_t a_size) |
| LUPI_HOST ContinuousEnergyGain & | operator= (ContinuousEnergyGain const &a_continuousEnergyGain) |
| 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< MCGIDI_FLOAT > const & | gain () const |
| LUPI_HOST void | adjustGain (std::size_t a_energy_index, double a_gain) |
| LUPI_HOST_DEVICE double | gain (std::size_t a_energy_index, double a_energy_fraction) const |
| LUPI_HOST_DEVICE void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| LUPI_HOST void | print (ProtareSingle const *a_protareSingle, std::string const &a_indent, std::string const &a_iFormat, std::string const &a_energyFormat, std::string const &a_dFormat) const |
Definition at line 577 of file MCGIDI.hpp.
| LUPI_HOST_DEVICE MCGIDI::ContinuousEnergyGain::ContinuousEnergyGain | ( | ) |
Definition at line 185 of file MCGIDI_heatedCrossSections.cc.
Referenced by operator=().
| LUPI_HOST MCGIDI::ContinuousEnergyGain::ContinuousEnergyGain | ( | int | a_particleIntid, |
| int | a_particleIndex, | ||
| std::size_t | a_size ) |
Definition at line 195 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Definition at line 601 of file MCGIDI.hpp.
|
inline |
| LUPI_HOST_DEVICE double MCGIDI::ContinuousEnergyGain::gain | ( | std::size_t | a_energy_index, |
| double | a_energy_fraction ) const |
Definition at line 219 of file MCGIDI_heatedCrossSections.cc.
| LUPI_HOST ContinuousEnergyGain & MCGIDI::ContinuousEnergyGain::operator= | ( | ContinuousEnergyGain const & | a_continuousEnergyGain | ) |
Definition at line 206 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Returns the value of the m_particleIndex member of this.
Definition at line 592 of file MCGIDI.hpp.
Referenced by operator=().
|
inline |
Returns the value of the m_particleIntid member of this.
Definition at line 591 of file MCGIDI.hpp.
Referenced by operator=().
| LUPI_HOST void MCGIDI::ContinuousEnergyGain::print | ( | ProtareSingle const * | a_protareSingle, |
| std::string const & | a_indent, | ||
| std::string const & | a_iFormat, | ||
| std::string const & | a_energyFormat, | ||
| std::string const & | a_dFormat ) const |
Print to std::cout the content of this. This is mainly meant for debugging.
| a_protareSingle | [in] The ProtareSingle instance this resides in. |
| a_indent | [in] The buffer to read or write data to depending on a_mode. |
| a_iFormat | [in] C printf format specifier for any interger that is printed (e.g., "%3d"). |
| a_energyFormat | [in] C printf format specifier for any interger that is printed (e.g., "%20.12e"). |
| a_dFormat | [in] C printf format specifier for any interger that is printed (e.g., "%14.7e"). |
Definition at line 250 of file MCGIDI_heatedCrossSections.cc.
| LUPI_HOST_DEVICE void MCGIDI::ContinuousEnergyGain::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 232 of file MCGIDI_heatedCrossSections.cc.
|
inline |
Sets member m_userParticleIndex to a_userParticleIndex if particle's index matchs m_particleIndex.
Definition at line 594 of file MCGIDI.hpp.
|
inline |
Sets member m_userParticleIntid to a_userParticleIndex if particle's intid matchs m_particleIntid.
Definition at line 597 of file MCGIDI.hpp.
|
inline |
Returns the value of the m_userParticleIndex member of this.
Definition at line 593 of file MCGIDI.hpp.
Referenced by operator=().