Geant4-11
|
#include <G4INCLSurfaceAvatar.hh>
Public Member Functions | |
std::string | dump () const |
void | fillFinalState (FinalState *fs) |
IChannel * | getChannel () |
G4double | getCosRefractionAngle () const |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables) More... | |
FinalState * | getFinalState () |
long | getID () const |
G4double | getOutgoingMomentum () const |
Get the outgoing momentum (precalculated by initializeRefractionVariables) More... | |
ParticleList | getParticles () const |
G4double | getTime () const |
G4double | getTransmissionProbability (Particle const *const particle) |
Calculate the transmission probability for the particle. More... | |
AvatarType | getType () const |
G4bool | isACollision () const |
G4bool | isADecay () const |
virtual void | postInteraction (FinalState *) |
virtual void | preInteraction () |
void | setType (AvatarType t) |
SurfaceAvatar (G4INCL::Particle *aParticle, G4double time, G4INCL::Nucleus *aNucleus) | |
std::string | toString () |
virtual | ~SurfaceAvatar () |
Protected Attributes | |
G4double | theTime |
Private Member Functions | |
void | initializeRefractionVariables (Particle const *const particle) |
Static Private Attributes | |
static G4ThreadLocal long | nextID = 1 |
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 62 of file G4INCLSurfaceAvatar.hh.
G4INCL::SurfaceAvatar::SurfaceAvatar | ( | G4INCL::Particle * | aParticle, |
G4double | time, | ||
G4INCL::Nucleus * | aNucleus | ||
) |
Definition at line 55 of file G4INCLSurfaceAvatar.cc.
References G4INCL::IAvatar::setType(), and G4INCL::SurfaceAvatarType.
|
virtual |
Definition at line 73 of file G4INCLSurfaceAvatar.cc.
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 194 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Particle::dump(), theParticle, and G4INCL::IAvatar::theTime.
void G4INCL::SurfaceAvatar::fillFinalState | ( | FinalState * | fs | ) |
Definition at line 167 of file G4INCLSurfaceAvatar.cc.
References G4INCL::IChannel::fillFinalState(), and getChannel().
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 77 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::Particle::getNumberOfKaon(), G4INCL::Nucleus::getPotential(), G4INCL::Config::getRefraction(), G4INCL::Nucleus::getStore(), getTransmissionProbability(), INCL_DEBUG, G4INCL::Book::incrementEmittedClusters(), G4INCL::Particle::isKaon(), G4INCL::Particle::isNucleonorLambda(), G4INCL::Nucleus::isNucleusNucleusCollision(), G4INCL::Particle::isProjectileSpectator(), G4INCL::Particle::isResonance(), G4INCL::Particle::isTargetSpectator(), particlePOut, G4INCL::Cluster::print(), G4INCL::Particle::setNumberOfKaon(), G4INCL::Random::shoot(), theNucleus, theParticle, and TMinusV.
Referenced by fillFinalState().
|
inline |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables)
Definition at line 85 of file G4INCLSurfaceAvatar.hh.
References cosRefractionAngle.
|
inherited |
Definition at line 90 of file G4INCLIAvatar.cc.
References G4INCL::IAvatar::fillFinalState().
Referenced by G4INCL::INCL::makeCompoundNucleus().
|
inlineinherited |
Definition at line 94 of file G4INCLIAvatar.hh.
Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction(), G4INCL::CascadeAction::beforeAvatarDefaultAction(), and G4INCL::IAvatar::toString().
|
inline |
Get the outgoing momentum (precalculated by initializeRefractionVariables)
Definition at line 88 of file G4INCLSurfaceAvatar.hh.
References particlePOut.
|
inlinevirtual |
Implements G4INCL::IAvatar.
Definition at line 73 of file G4INCLSurfaceAvatar.hh.
References theParticle.
|
inlineinherited |
Definition at line 84 of file G4INCLIAvatar.hh.
Referenced by G4INCL::AvatarDumpAction::afterAvatarUserAction(), G4INCL::Store::avatarComparisonPredicate(), G4INCL::StandardPropagationModel::propagate(), and G4INCL::IAvatar::toString().
Calculate the transmission probability for the particle.
Definition at line 203 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Math::arcCos(), 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::Particle::getS(), 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().
|
inlineinherited |
Definition at line 90 of file G4INCLIAvatar.hh.
Referenced by G4INCL::AvatarDumpAction::afterAvatarUserAction(), G4INCL::CascadeAction::beforeAvatarDefaultAction(), G4INCL::InteractionAvatar::shouldUseLocalEnergy(), and G4INCL::IAvatar::toString().
|
private |
Definition at line 277 of file G4INCLSurfaceAvatar.cc.
References cosIncidentAngle, cosRefractionAngle, G4INCL::Particle::getCosRPAngle(), INCL_DEBUG, internalReflection, particlePIn, particlePOut, refractionIndexRatio, sinIncidentAngle, and sinRefractionAngle.
Referenced by getTransmissionProbability().
|
inlineinherited |
Definition at line 91 of file G4INCLIAvatar.hh.
References G4INCL::CollisionAvatarType.
Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction().
|
inlineinherited |
Definition at line 92 of file G4INCLIAvatar.hh.
References G4INCL::DecayAvatarType.
Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction().
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 173 of file G4INCLSurfaceAvatar.cc.
References G4INCL::Book::decrementCascading(), G4INCL::Store::getBook(), G4INCL::FinalState::getOutgoingParticles(), G4INCL::ParticleList::getParticleListBiasVector(), G4INCL::Cluster::getParticles(), G4INCL::Nucleus::getStore(), G4INCL::Particle::isCluster(), G4INCL::Particle::isTargetSpectator(), G4INCL::Particle::rpCorrelate(), G4INCL::Particle::setBiasCollisionVector(), theNucleus, and theParticle.
|
virtual |
|
inlineinherited |
Definition at line 93 of file G4INCLIAvatar.hh.
Referenced by G4INCL::BinaryCollisionAvatar::BinaryCollisionAvatar(), G4INCL::DecayAvatar::DecayAvatar(), G4INCL::ParticleEntryAvatar::ParticleEntryAvatar(), and SurfaceAvatar().
|
inherited |
Definition at line 73 of file G4INCLIAvatar.cc.
References G4INCL::IAvatar::getID(), G4INCL::IAvatar::getParticles(), G4INCL::IAvatar::getTime(), G4INCL::IAvatar::getType(), and numberOfParticles.
|
private |
Definition at line 104 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 106 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getCosRefractionAngle(), getTransmissionProbability(), and initializeRefractionVariables().
|
privateinherited |
Definition at line 98 of file G4INCLIAvatar.hh.
Referenced by G4INCL::IAvatar::IAvatar().
|
private |
Definition at line 108 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
staticprivateinherited |
Definition at line 100 of file G4INCLIAvatar.hh.
Referenced by G4INCL::IAvatar::IAvatar().
|
private |
Definition at line 102 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().
|
private |
Definition at line 97 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 98 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getOutgoingMomentum(), getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 99 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().
|
private |
Definition at line 107 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 103 of file G4INCLSurfaceAvatar.hh.
Referenced by initializeRefractionVariables().
|
private |
Definition at line 105 of file G4INCLSurfaceAvatar.hh.
Referenced by initializeRefractionVariables().
|
private |
Definition at line 95 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), getTransmissionProbability(), and postInteraction().
|
private |
Definition at line 94 of file G4INCLSurfaceAvatar.hh.
Referenced by dump(), getChannel(), getParticles(), and postInteraction().
|
protectedinherited |
Definition at line 102 of file G4INCLIAvatar.hh.
Referenced by G4INCL::BinaryCollisionAvatar::dump(), G4INCL::DecayAvatar::dump(), G4INCL::ParticleEntryAvatar::dump(), and dump().
|
private |
Definition at line 100 of file G4INCLSurfaceAvatar.hh.
Referenced by getChannel(), and getTransmissionProbability().
|
private |
Definition at line 101 of file G4INCLSurfaceAvatar.hh.
Referenced by getTransmissionProbability().
|
privateinherited |
Definition at line 99 of file G4INCLIAvatar.hh.