ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
SurfaceAvatar (G4INCL::Particle *aParticle, G4double time, G4INCL::Nucleus *aNucleus) | |
virtual | ~SurfaceAvatar () |
IChannel * | getChannel () |
void | fillFinalState (FinalState *fs) |
virtual void | preInteraction () |
virtual void | postInteraction (FinalState *) |
ParticleList | getParticles () const |
std::string | dump () const |
G4double | getTransmissionProbability (Particle const *const particle) |
Calculate the transmission probability for the particle. | |
G4double | getCosRefractionAngle () const |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables) | |
G4double | getOutgoingMomentum () const |
Get the outgoing momentum (precalculated by initializeRefractionVariables) | |
Public Member Functions inherited from G4INCL::IAvatar | |
IAvatar () | |
IAvatar (G4double time) | |
virtual | ~IAvatar () |
FinalState * | getFinalState () |
void | fillFinalState (FinalState *fs) |
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 62 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 55 of file G4INCLSurfaceAvatar.cc
References G4INCL::IAvatar::setType(), and G4INCL::SurfaceAvatarType.
|
virtual |
Definition at line 73 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub at line 73 of file G4INCLSurfaceAvatar.cc
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 194 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 77 of file G4INCLSurfaceAvatar.cc
References G4INCL::Clustering::clusterCanEscape(), cosRefractionAngle, E, 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, TMinusV, and x.
Referenced by fillFinalState().
|
inline |
Get the cosine of the refraction angle (precalculated by initializeRefractionVariables)
Definition at line 85 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 85 of file G4INCLSurfaceAvatar.hh
References cosRefractionAngle.
|
inline |
Get the outgoing momentum (precalculated by initializeRefractionVariables)
Definition at line 88 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 88 of file G4INCLSurfaceAvatar.hh
References particlePOut.
|
inlinevirtual |
Implements G4INCL::IAvatar.
Definition at line 73 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 73 of file G4INCLSurfaceAvatar.hh
References theParticle.
Calculate the transmission probability for the particle.
Definition at line 203 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub 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, TMinusV2, x, and y.
Referenced by getChannel().
Definition at line 277 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub 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().
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 173 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub at line 173 of file G4INCLSurfaceAvatar.cc
References components, G4INCL::Book::decrementCascading(), e, 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 |
Implements G4INCL::IAvatar.
Definition at line 171 of file G4INCLSurfaceAvatar.cc.
View newest version in sPHENIX GitHub at line 171 of file G4INCLSurfaceAvatar.cc
|
private |
Definition at line 104 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 104 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 106 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 106 of file G4INCLSurfaceAvatar.hh
Referenced by getChannel(), getCosRefractionAngle(), getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 108 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 108 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 102 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 102 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability().
|
private |
Definition at line 97 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 97 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 98 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 98 of file G4INCLSurfaceAvatar.hh
Referenced by getChannel(), getOutgoingMomentum(), getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 99 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 99 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability().
|
private |
Definition at line 107 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 107 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability(), and initializeRefractionVariables().
|
private |
Definition at line 103 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 103 of file G4INCLSurfaceAvatar.hh
Referenced by initializeRefractionVariables().
|
private |
Definition at line 105 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 105 of file G4INCLSurfaceAvatar.hh
Referenced by initializeRefractionVariables().
|
private |
Definition at line 95 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 95 of file G4INCLSurfaceAvatar.hh
Referenced by getChannel(), getTransmissionProbability(), and postInteraction().
|
private |
Definition at line 94 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 94 of file G4INCLSurfaceAvatar.hh
Referenced by dump(), getChannel(), getParticles(), and postInteraction().
|
private |
Definition at line 100 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 100 of file G4INCLSurfaceAvatar.hh
Referenced by getChannel(), and getTransmissionProbability().
|
private |
Definition at line 101 of file G4INCLSurfaceAvatar.hh.
View newest version in sPHENIX GitHub at line 101 of file G4INCLSurfaceAvatar.hh
Referenced by getTransmissionProbability().