Geant4  10.02
G4INCL::NuclearDensity Class Reference

#include <G4INCLNuclearDensity.hh>

+ Collaboration diagram for G4INCL::NuclearDensity:

Public Member Functions

 NuclearDensity (const G4int A, const G4int Z, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron)
 
 ~NuclearDensity ()
 
 NuclearDensity (const NuclearDensity &rhs)
 Copy constructor. More...
 
NuclearDensityoperator= (const NuclearDensity &rhs)
 Assignment operator. More...
 
void swap (NuclearDensity &rhs)
 Helper method for the assignment operator. More...
 
G4double getMaxRFromP (const ParticleType t, const G4double p) const
 Get the maximum allowed radius for a given momentum. More...
 
G4double getMinPFromR (const ParticleType t, const G4double r) const
 
G4double getMaximumRadius () const
 
G4double getTransmissionRadius (Particle const *const p) const
 The radius used for calculating the transmission coefficient. More...
 
G4double getTransmissionRadius (ParticleType type) const
 The radius used for calculating the transmission coefficient. More...
 
G4int getA () const
 Get the mass number. More...
 
G4int getZ () const
 Get the charge number. More...
 
G4double getProtonNuclearRadius () const
 
void setProtonNuclearRadius (const G4double r)
 

Private Member Functions

void initializeTransmissionRadii ()
 Initialize the transmission radius. More...
 

Private Attributes

G4int theA
 
G4int theZ
 
G4double theMaximumRadius
 
G4double theProtonNuclearRadius
 Represents INCL4.5's R0 variable. More...
 
G4double transmissionRadius [UnknownParticle]
 
InterpolationTable const * rFromP [UnknownParticle]
 
InterpolationTable const * pFromR [UnknownParticle]
 

Detailed Description

Definition at line 54 of file G4INCLNuclearDensity.hh.

Constructor & Destructor Documentation

G4INCL::NuclearDensity::NuclearDensity ( const G4int  A,
const G4int  Z,
InterpolationTable const *const  rpCorrelationTableProton,
InterpolationTable const *const  rpCorrelationTableNeutron 
)

Definition at line 45 of file G4INCLNuclearDensity.cc.

References G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, INCL_DEBUG, initializeTransmissionRadii(), G4INCL::Neutron, pFromR, print(), G4INCL::Proton, rFromP, theA, theZ, and G4INCL::UnknownParticle.

+ Here is the call graph for this function:

G4INCL::NuclearDensity::~NuclearDensity ( )
G4INCL::NuclearDensity::NuclearDensity ( const NuclearDensity rhs)

Member Function Documentation

G4int G4INCL::NuclearDensity::getA ( ) const
inline

Get the mass number.

Definition at line 104 of file G4INCLNuclearDensity.hh.

References theA.

G4double G4INCL::NuclearDensity::getMaximumRadius ( ) const
inline

Definition at line 78 of file G4INCLNuclearDensity.hh.

References theMaximumRadius.

Referenced by G4INCL::KinematicsUtils::getLocalEnergy().

+ Here is the caller graph for this function:

G4double G4INCL::NuclearDensity::getMaxRFromP ( const ParticleType  t,
const G4double  p 
) const

Get the maximum allowed radius for a given momentum.

Parameters
ttype of the particle
pabsolute value of the particle momentum, divided by the relevant Fermi momentum.
Returns
maximum allowed radius.

Definition at line 170 of file G4INCLNuclearDensity.cc.

References rFromP.

Referenced by G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::Nucleus::getSurfaceRadius(), G4INCL::ParticleSampler::sampleOneParticleWithFuzzyRPCorrelation(), and G4INCL::ParticleSampler::sampleOneParticleWithRPCorrelation().

+ Here is the caller graph for this function:

G4double G4INCL::NuclearDensity::getMinPFromR ( const ParticleType  t,
const G4double  r 
) const

Definition at line 175 of file G4INCLNuclearDensity.cc.

References pFromR.

Referenced by G4INCL::KinematicsUtils::getLocalEnergy().

+ Here is the caller graph for this function:

G4double G4INCL::NuclearDensity::getProtonNuclearRadius ( ) const
inline

Definition at line 109 of file G4INCLNuclearDensity.hh.

References theProtonNuclearRadius.

Referenced by G4INCL::ClusteringModelIntercomparison::findClusterStartingFrom(), and G4INCL::ClusteringModelIntercomparison::getCluster().

+ Here is the caller graph for this function:

G4double G4INCL::NuclearDensity::getTransmissionRadius ( Particle const *const  p) const
inline

The radius used for calculating the transmission coefficient.

Returns
the radius

Definition at line 84 of file G4INCLNuclearDensity.hh.

References G4INCL::Composite, G4INCL::Particle::getA(), G4INCL::ParticleTable::getNuclearRadius(), G4INCL::Particle::getType(), G4INCL::Particle::getZ(), and transmissionRadius.

Referenced by G4INCL::CoulombNonRelativistic::distortOut(), and G4INCL::Nucleus::getTransmissionBarrier().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4INCL::NuclearDensity::getTransmissionRadius ( ParticleType  type) const
inline

The radius used for calculating the transmission coefficient.

Returns
the radius

Definition at line 98 of file G4INCLNuclearDensity.hh.

References transmissionRadius.

G4int G4INCL::NuclearDensity::getZ ( ) const
inline

Get the charge number.

Definition at line 107 of file G4INCLNuclearDensity.hh.

References theZ.

void G4INCL::NuclearDensity::initializeTransmissionRadii ( )
private

Initialize the transmission radius.

Definition at line 156 of file G4INCLNuclearDensity.cc.

References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::Proton, theProtonNuclearRadius, and transmissionRadius.

Referenced by NuclearDensity().

+ Here is the caller graph for this function:

NuclearDensity & G4INCL::NuclearDensity::operator= ( const NuclearDensity rhs)

Assignment operator.

Definition at line 130 of file G4INCLNuclearDensity.cc.

References swap().

+ Here is the call graph for this function:

void G4INCL::NuclearDensity::setProtonNuclearRadius ( const G4double  r)
inline

Definition at line 110 of file G4INCLNuclearDensity.hh.

References theProtonNuclearRadius.

void G4INCL::NuclearDensity::swap ( NuclearDensity rhs)

Helper method for the assignment operator.

Definition at line 136 of file G4INCLNuclearDensity.cc.

References G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, G4INCL::Neutron, pFromR, G4INCL::Proton, rFromP, theA, theMaximumRadius, theProtonNuclearRadius, theZ, transmissionRadius, and G4INCL::UnknownParticle.

Referenced by operator=().

+ Here is the caller graph for this function:

Member Data Documentation

InterpolationTable const* G4INCL::NuclearDensity::pFromR[UnknownParticle]
private

Definition at line 126 of file G4INCLNuclearDensity.hh.

Referenced by getMinPFromR(), NuclearDensity(), swap(), and ~NuclearDensity().

InterpolationTable const* G4INCL::NuclearDensity::rFromP[UnknownParticle]
private

Definition at line 125 of file G4INCLNuclearDensity.hh.

Referenced by getMaxRFromP(), NuclearDensity(), and swap().

G4int G4INCL::NuclearDensity::theA
private

Definition at line 117 of file G4INCLNuclearDensity.hh.

Referenced by getA(), NuclearDensity(), and swap().

G4double G4INCL::NuclearDensity::theMaximumRadius
private

Definition at line 118 of file G4INCLNuclearDensity.hh.

Referenced by getMaximumRadius(), and swap().

G4double G4INCL::NuclearDensity::theProtonNuclearRadius
private

Represents INCL4.5's R0 variable.

Definition at line 120 of file G4INCLNuclearDensity.hh.

Referenced by getProtonNuclearRadius(), initializeTransmissionRadii(), setProtonNuclearRadius(), and swap().

G4int G4INCL::NuclearDensity::theZ
private

Definition at line 117 of file G4INCLNuclearDensity.hh.

Referenced by getZ(), NuclearDensity(), and swap().

G4double G4INCL::NuclearDensity::transmissionRadius[UnknownParticle]
private

The documentation for this class was generated from the following files: