Geant4
10.02.p03
|
#include <G4INCLParticleSampler.hh>
Public Member Functions | |
ParticleSampler (const G4int A, const G4int Z) | |
Constructor. More... | |
~ParticleSampler () | |
Destructor. More... | |
NuclearDensity const * | getDensity () const |
Getter for theDensity. More... | |
NuclearPotential::INuclearPotential const * | getPotential () const |
Getter for thePotential. More... | |
G4double | getRPCorrelationCoefficient (const ParticleType t) const |
Getter for rpCorrelationCoefficient. More... | |
void | setDensity (NuclearDensity const *const d) |
Setter for theDensity. More... | |
void | setPotential (NuclearPotential::INuclearPotential const *const p) |
Setter for thePotential. More... | |
void | setRPCorrelationCoefficient (const ParticleType t, const G4double corrCoeff) |
Setter for rpCorrelationCoefficient. More... | |
ParticleList | sampleParticles (ThreeVector const &position) |
void | sampleParticlesIntoList (ThreeVector const &position, ParticleList &theList) |
Private Types | |
typedef Particle *(ParticleSampler::* | ParticleSamplerMethod) (const ParticleType t) const |
Private Member Functions | |
void | updateSampleOneParticleMethods () |
Particle * | sampleOneParticleWithRPCorrelation (const ParticleType t) const |
Sample one particle taking into account the rp-correlation. More... | |
Particle * | sampleOneParticleWithoutRPCorrelation (const ParticleType t) const |
Sample one particle not taking into account the rp-correlation. More... | |
Particle * | sampleOneParticleWithFuzzyRPCorrelation (const ParticleType t) const |
Sample one particle with a fuzzy rp-correlation. More... | |
Private Attributes | |
ParticleSamplerMethod | sampleOneProton |
Sample a list of particles. More... | |
ParticleSamplerMethod | sampleOneNeutron |
Sample a list of particles. More... | |
const G4int | theA |
Mass number. More... | |
const G4int | theZ |
Charge number. More... | |
InterpolationTable const * | theRCDFTable [UnknownParticle] |
Array of pointers to the r-space CDF table. More... | |
InterpolationTable const * | thePCDFTable [UnknownParticle] |
Array of pointers to the p-space CDF table. More... | |
NuclearDensity const * | theDensity |
Pointer to the Cluster's NuclearDensity. More... | |
NuclearPotential::INuclearPotential const * | thePotential |
Pointer to the Cluster's NuclearPotential. More... | |
G4double | rpCorrelationCoefficient [UnknownParticle] |
Correlation coefficients for the r-p correlation. More... | |
Definition at line 54 of file G4INCLParticleSampler.hh.
|
private |
Definition at line 98 of file G4INCLParticleSampler.hh.
Constructor.
A | the mass number |
Z | the charge number |
Definition at line 51 of file G4INCLParticleSampler.cc.
G4INCL::ParticleSampler::~ParticleSampler | ( | ) |
|
inline |
Getter for theDensity.
Definition at line 68 of file G4INCLParticleSampler.hh.
|
inline |
Getter for thePotential.
Definition at line 71 of file G4INCLParticleSampler.hh.
|
inline |
Getter for rpCorrelationCoefficient.
Definition at line 74 of file G4INCLParticleSampler.hh.
|
private |
Sample one particle with a fuzzy rp-correlation.
Definition at line 160 of file G4INCLParticleSampler.cc.
|
private |
Sample one particle not taking into account the rp-correlation.
Definition at line 152 of file G4INCLParticleSampler.cc.
|
private |
Sample one particle taking into account the rp-correlation.
Definition at line 139 of file G4INCLParticleSampler.cc.
ParticleList G4INCL::ParticleSampler::sampleParticles | ( | ThreeVector const & | position | ) |
Definition at line 97 of file G4INCLParticleSampler.cc.
void G4INCL::ParticleSampler::sampleParticlesIntoList | ( | ThreeVector const & | position, |
ParticleList & | theList | ||
) |
Definition at line 103 of file G4INCLParticleSampler.cc.
void G4INCL::ParticleSampler::setDensity | ( | NuclearDensity const *const | d | ) |
Setter for theDensity.
Definition at line 69 of file G4INCLParticleSampler.cc.
void G4INCL::ParticleSampler::setPotential | ( | NuclearPotential::INuclearPotential const *const | p | ) |
Setter for thePotential.
Definition at line 74 of file G4INCLParticleSampler.cc.
|
inline |
Setter for rpCorrelationCoefficient.
Definition at line 86 of file G4INCLParticleSampler.hh.
|
private |
Definition at line 79 of file G4INCLParticleSampler.cc.
|
private |
Correlation coefficients for the r-p correlation.
Definition at line 140 of file G4INCLParticleSampler.hh.
|
private |
Sample a list of particles.
This method is a pointer to the method that does the real work for neutrons.
Definition at line 110 of file G4INCLParticleSampler.hh.
|
private |
Sample a list of particles.
This method is a pointer to the method that does the real work for protons.
Definition at line 104 of file G4INCLParticleSampler.hh.
|
private |
Mass number.
Definition at line 122 of file G4INCLParticleSampler.hh.
|
private |
Pointer to the Cluster's NuclearDensity.
Definition at line 134 of file G4INCLParticleSampler.hh.
|
private |
Array of pointers to the p-space CDF table.
Definition at line 131 of file G4INCLParticleSampler.hh.
|
private |
Pointer to the Cluster's NuclearPotential.
Definition at line 137 of file G4INCLParticleSampler.hh.
|
private |
Array of pointers to the r-space CDF table.
Definition at line 128 of file G4INCLParticleSampler.hh.
|
private |
Charge number.
Definition at line 125 of file G4INCLParticleSampler.hh.