Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4INCLParticleSampler.hh>
Public Member Functions | |
ParticleSampler (const G4int A, const G4int Z, InverseInterpolationTable const *const rCDFTable, InverseInterpolationTable const *const pCDFTable) | |
Constructor. | |
~ParticleSampler () | |
Destructor. | |
NuclearDensity const * | getDensity () const |
Getter for theDensity. | |
NuclearPotential::INuclearPotential const * | getPotential () const |
Getter for thePotential. | |
void | setDensity (NuclearDensity const *const d) |
Setter for theDensity. | |
void | setPotential (NuclearPotential::INuclearPotential const *const p) |
Setter for thePotential. | |
ParticleList | sampleParticles (ThreeVector const &position) const |
Definition at line 54 of file G4INCLParticleSampler.hh.
G4INCL::ParticleSampler::ParticleSampler | ( | const G4int | A, |
const G4int | Z, | ||
InverseInterpolationTable const *const | rCDFTable, | ||
InverseInterpolationTable const *const | pCDFTable | ||
) |
Constructor.
A | the mass number |
Z | the charge number |
rCDFTable | the interpolation table for the inverse CDF in r-space |
pCDFTable | the interpolation table for the inverse CDF in p-space |
Definition at line 50 of file G4INCLParticleSampler.cc.
G4INCL::ParticleSampler::~ParticleSampler | ( | ) |
|
inline |
Getter for theDensity.
Definition at line 70 of file G4INCLParticleSampler.hh.
|
inline |
Getter for thePotential.
Definition at line 73 of file G4INCLParticleSampler.hh.
ParticleList G4INCL::ParticleSampler::sampleParticles | ( | ThreeVector const & | position | ) | const |
Definition at line 80 of file G4INCLParticleSampler.cc.
Referenced by G4INCL::Cluster::initializeParticles().
void G4INCL::ParticleSampler::setDensity | ( | NuclearDensity const *const | d | ) |
Setter for theDensity.
Definition at line 63 of file G4INCLParticleSampler.cc.
Referenced by G4INCL::Nucleus::Nucleus().
void G4INCL::ParticleSampler::setPotential | ( | NuclearPotential::INuclearPotential const *const | p | ) |
Setter for thePotential.
Definition at line 68 of file G4INCLParticleSampler.cc.
Referenced by G4INCL::Nucleus::Nucleus().