Geant4
10.00.p02
|
Surface avatar. More...
#include <G4INCLSurfaceAvatar.hh>
Public Member Functions | |
SurfaceAvatar (G4INCL::Particle *aParticle, G4double time, G4INCL::Nucleus *aNucleus) | |
virtual | ~SurfaceAvatar () |
G4INCL::IChannel * | getChannel () |
G4INCL::FinalState * | getFinalState () |
virtual void | preInteraction () |
virtual FinalState * | postInteraction (FinalState *) |
ParticleList | getParticles () const |
std::string | dump () const |
G4double | getTransmissionProbability (Particle const *const particle) |
Calculate the transmission probability for the particle. More... | |
G4double | getCosRefractionAngle () const |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables) More... | |
G4double | getOutgoingMomentum () const |
Get the outgoing momentum (precalculated by initializeRefractionVariables) More... | |
Public Member Functions inherited from G4INCL::IAvatar | |
IAvatar () | |
IAvatar (G4double time) | |
virtual | ~IAvatar () |
G4INCL::FinalState * | getFinalState () |
G4double | getTime () const |
AvatarType | getType () const |
G4bool | isACollision () const |
G4bool | isADecay () const |
void | setType (AvatarType t) |
long | getID () const |
std::string | toString () |
Private Member Functions | |
void | initializeRefractionVariables (Particle const *const particle) |
Additional Inherited Members | |
Protected Attributes inherited from G4INCL::IAvatar | |
G4double | theTime |
Surface avatar.
The reflection avatar is created when a particle reaches the boundary of the nucleus. At this point it can either be reflected from the boundary or exit the nucleus.
Definition at line 60 of file G4INCLSurfaceAvatar.hh.
G4INCL::SurfaceAvatar::SurfaceAvatar | ( | G4INCL::Particle * | aParticle, |
G4double | time, | ||
G4INCL::Nucleus * | aNucleus | ||
) |
Definition at line 54 of file G4INCLSurfaceAvatar.cc.
References G4INCL::IAvatar::setType(), and G4INCL::SurfaceAvatarType.
|
virtual |
Definition at line 72 of file G4INCLSurfaceAvatar.cc.
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 192 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Particle::dump(), theParticle, and G4INCL::IAvatar::theTime.
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 76 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Clustering::clusterCanEscape(), cosRefractionAngle, G4INCL::Store::getBook(), G4INCL::Clustering::getCluster(), G4INCL::Store::getConfig(), G4INCL::NuclearPotential::INuclearPotential::getFermiEnergy(), G4INCL::Particle::getID(), G4INCL::Particle::getKineticEnergy(), G4INCL::Nucleus::getPotential(), G4INCL::Config::getRefraction(), G4INCL::Nucleus::getStore(), getTransmissionProbability(), INCL_DEBUG, G4INCL::Book::incrementEmittedClusters(), G4INCL::Particle::isNucleon(), G4INCL::Nucleus::isNucleusNucleusCollision(), G4INCL::Particle::isProjectileSpectator(), G4INCL::Particle::isResonance(), G4INCL::Particle::isTargetSpectator(), particlePOut, G4INCL::Cluster::print(), G4INCL::Random::shoot(), theNucleus, theParticle, and TMinusV.
Referenced by getFinalState().
|
inline |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables)
Definition at line 83 of file G4INCLSurfaceAvatar.hh.
References cosRefractionAngle.
G4INCL::FinalState * G4INCL::SurfaceAvatar::getFinalState | ( | ) |
Definition at line 165 of file G4INCLSurfaceAvatar.cc.
References getChannel(), and G4INCL::IChannel::getFinalState().
|
inline |
Get the outgoing momentum (precalculated by initializeRefractionVariables)
Definition at line 86 of file G4INCLSurfaceAvatar.hh.
References particlePOut.
|
inlinevirtual |
Implements G4INCL::IAvatar.
Definition at line 71 of file G4INCLSurfaceAvatar.hh.
References theParticle.
Calculate the transmission probability for the particle.
Definition at line 201 of file G4INCLSurfaceAvatar.cc.
References cosIncidentAngle, cosRefractionAngle, G4INCL::Particle::getA(), G4INCL::Store::getConfig(), G4INCL::Particle::getEmissionQValueCorrection(), G4INCL::Particle::getKineticEnergy(), G4INCL::Particle::getMass(), G4INCL::Particle::getMomentum(), G4INCL::Particle::getPotentialEnergy(), G4INCL::Config::getRefraction(), G4INCL::Nucleus::getStore(), G4INCL::Nucleus::getTransmissionBarrier(), G4INCL::Particle::getZ(), INCL_DEBUG, initializeRefractionVariables(), internalReflection, G4INCL::ThreeVector::mag2(), particleMass, particlePIn, particlePOut, particleTOut, refractionIndexRatio, theNucleus, TMinusV, and TMinusV2.
Referenced by getChannel().
|
private |
Definition at line 272 of file G4INCLSurfaceAvatar.cc.
References cosIncidentAngle, cosRefractionAngle, G4INCL::Particle::getCosRPAngle(), INCL_DEBUG, internalReflection, particlePIn, particlePOut, refractionIndexRatio, sinIncidentAngle, and sinRefractionAngle.
Referenced by getTransmissionProbability().
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 171 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Book::decrementCascading(), G4INCL::Store::getBook(), G4INCL::FinalState::getOutgoingParticles(), G4INCL::Cluster::getParticles(), G4INCL::Nucleus::getStore(), G4INCL::Particle::isCluster(), G4INCL::Particle::isTargetSpectator(), G4INCL::Particle::rpCorrelate(), theNucleus, and theParticle.
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 169 of file G4INCLSurfaceAvatar.cc.
|
private |
Definition at line 102 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 104 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getCosRefractionAngle(), getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 106 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 100 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().
|
private |
Definition at line 95 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 96 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getOutgoingMomentum(), getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 97 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().
|
private |
Definition at line 105 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 101 of file G4INCLSurfaceAvatar.hh.
Referenced by initializeRefractionVariables().
|
private |
Definition at line 103 of file G4INCLSurfaceAvatar.hh.
Referenced by initializeRefractionVariables().
|
private |
Definition at line 93 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getTransmissionProbability(), and postInteraction().
|
private |
Definition at line 92 of file G4INCLSurfaceAvatar.hh.
Referenced by dump(), getChannel(), getParticles(), and postInteraction().
|
private |
Definition at line 98 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), and getTransmissionProbability().
|
private |
Definition at line 99 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().