Geant4.10
|
#include <G4INCLParticle.hh>
Public Member Functions | |
Particle () | |
Particle (ParticleType t, G4double energy, ThreeVector const &momentum, ThreeVector const &position) | |
Particle (ParticleType t, ThreeVector const &momentum, ThreeVector const &position) | |
virtual | ~Particle () |
Particle (const Particle &rhs) | |
Copy constructor. More... | |
Particle & | operator= (const Particle &rhs) |
Assignment operator. More... | |
G4INCL::ParticleType | getType () const |
virtual G4INCL::ParticleSpecies | getSpecies () const |
Get the particle species. More... | |
void | setType (ParticleType t) |
G4bool | isNucleon () const |
ParticipantType | getParticipantType () const |
void | setParticipantType (ParticipantType const p) |
G4bool | isParticipant () const |
G4bool | isTargetSpectator () const |
G4bool | isProjectileSpectator () const |
virtual void | makeParticipant () |
virtual void | makeTargetSpectator () |
virtual void | makeProjectileSpectator () |
G4bool | isPion () const |
Is this a pion? More... | |
G4bool | isResonance () const |
Is it a resonance? More... | |
G4bool | isDelta () const |
Is it a Delta? More... | |
G4int | getA () const |
Returns the baryon number. More... | |
G4int | getZ () const |
Returns the charge number. More... | |
G4double | getBeta () const |
ThreeVector | boostVector () const |
void | boost (const ThreeVector &aBoostVector) |
void | lorentzContract (const ThreeVector &aBoostVector, const ThreeVector &refPos) |
Lorentz-contract the particle position around some center. More... | |
G4double | getMass () const |
Get the cached particle mass. More... | |
G4double | getINCLMass () const |
Get the INCL particle mass. More... | |
virtual G4double | getTableMass () const |
Get the tabulated particle mass. More... | |
G4double | getRealMass () const |
Get the real particle mass. More... | |
void | setRealMass () |
Set the mass of the Particle to its real mass. More... | |
void | setTableMass () |
Set the mass of the Particle to its table mass. More... | |
void | setINCLMass () |
Set the mass of the Particle to its table mass. More... | |
G4double | getEmissionQValueCorrection (const G4int AParent, const G4int ZParent) const |
Computes correction on the emission Q-value. More... | |
G4double | getTransferQValueCorrection (const G4int AFrom, const G4int ZFrom, const G4int ATo, const G4int ZTo) const |
Computes correction on the transfer Q-value. More... | |
G4double | getInvariantMass () const |
Get the the particle invariant mass. More... | |
G4double | getKineticEnergy () const |
Get the particle kinetic energy. More... | |
G4double | getPotentialEnergy () const |
Get the particle potential energy. More... | |
void | setPotentialEnergy (G4double v) |
Set the particle potential energy. More... | |
G4double | getEnergy () const |
void | setMass (G4double mass) |
void | setEnergy (G4double energy) |
const G4INCL::ThreeVector & | getMomentum () const |
virtual G4INCL::ThreeVector | getAngularMomentum () const |
virtual void | setMomentum (const G4INCL::ThreeVector &momentum) |
const G4INCL::ThreeVector & | getPosition () const |
virtual void | setPosition (const G4INCL::ThreeVector &position) |
G4double | getHelicity () |
void | setHelicity (G4double h) |
void | propagate (G4double step) |
G4int | getNumberOfCollisions () const |
Return the number of collisions undergone by the particle. More... | |
void | setNumberOfCollisions (G4int n) |
Set the number of collisions undergone by the particle. More... | |
void | incrementNumberOfCollisions () |
Increment the number of collisions undergone by the particle. More... | |
G4int | getNumberOfDecays () const |
Return the number of decays undergone by the particle. More... | |
void | setNumberOfDecays (G4int n) |
Set the number of decays undergone by the particle. More... | |
void | incrementNumberOfDecays () |
Increment the number of decays undergone by the particle. More... | |
void | setOutOfWell () |
Mark the particle as out of its potential well. More... | |
G4bool | isOutOfWell () const |
Check if the particle is out of its potential well. More... | |
void | setEmissionTime (G4double t) |
G4double | getEmissionTime () |
ThreeVector | getTransversePosition () const |
Transverse component of the position w.r.t. the momentum. More... | |
ThreeVector | getLongitudinalPosition () const |
Longitudinal component of the position w.r.t. the momentum. More... | |
const ThreeVector & | adjustMomentumFromEnergy () |
Rescale the momentum to match the total energy. More... | |
G4double | adjustEnergyFromMomentum () |
Recompute the energy to match the momentum. More... | |
G4bool | isInList (ParticleList const &l) const |
Check if the particle belongs to a given list. More... | |
G4bool | isCluster () const |
void | setFrozenMomentum (const ThreeVector &momentum) |
Set the frozen particle momentum. More... | |
void | setFrozenEnergy (const G4double energy) |
Set the frozen particle momentum. More... | |
ThreeVector | getFrozenMomentum () const |
Get the frozen particle momentum. More... | |
G4double | getFrozenEnergy () const |
Get the frozen particle momentum. More... | |
ThreeVector | getPropagationVelocity () const |
Get the propagation velocity of the particle. More... | |
void | freezePropagation () |
Freeze particle propagation. More... | |
void | thawPropagation () |
Unfreeze particle propagation. More... | |
virtual void | rotate (const G4double angle, const ThreeVector &axis) |
Rotate the particle position and momentum. More... | |
std::string | print () const |
std::string | dump () const |
long | getID () const |
ParticleList const * | getParticles () const |
G4double | getReflectionMomentum () const |
Return the reflection momentum. More... | |
void | setUncorrelatedMomentum (const G4double p) |
Set the uncorrelated momentum. More... | |
void | rpCorrelate () |
Make the particle follow a strict r-p correlation. More... | |
void | rpDecorrelate () |
Make the particle not follow a strict r-p correlation. More... | |
G4double | getCosRPAngle () const |
Get the cosine of the angle between position and momentum. More... | |
Protected Member Functions | |
void | swap (Particle &rhs) |
Helper method for the assignment operator. More... | |
Definition at line 94 of file G4INCLParticle.hh.
G4INCL::Particle::Particle | ( | ) |
Definition at line 51 of file G4INCLParticle.cc.
References ID.
Referenced by G4INCL::Cluster::Cluster(), G4INCL::ProjectileRemnant::reset(), and G4INCL::ProjectileRemnant::storeComponents().
G4INCL::Particle::Particle | ( | ParticleType | t, |
G4double | energy, | ||
ThreeVector const & | momentum, | ||
ThreeVector const & | position | ||
) |
Definition at line 76 of file G4INCLParticle.cc.
References getInvariantMass(), ID, INCL_WARN, setMass(), setType(), G4INCL::TargetSpectator, theEnergy, and theParticipantType.
G4INCL::Particle::Particle | ( | ParticleType | t, |
ThreeVector const & | momentum, | ||
ThreeVector const & | position | ||
) |
Definition at line 102 of file G4INCLParticle.cc.
References energy(), ID, INCL_ERROR, isResonance(), G4INCL::ThreeVector::mag2(), setType(), G4INCL::TargetSpectator, theEnergy, theFrozenEnergy, theMomentum, and theParticipantType.
|
inlinevirtual |
Definition at line 99 of file G4INCLParticle.hh.
|
inline |
Copy constructor.
Does not copy the particle ID.
Definition at line 105 of file G4INCLParticle.hh.
References ID, theEnergy, theFrozenEnergy, theFrozenMomentum, theMomentum, thePropagationEnergy, and thePropagationMomentum.
G4double G4INCL::Particle::adjustEnergyFromMomentum | ( | ) |
Recompute the energy to match the momentum.
Definition at line 141 of file G4INCLParticle.cc.
References G4INCL::ThreeVector::mag2(), theEnergy, and theMomentum.
Referenced by G4INCL::Nucleus::computeRecoilKinematics(), G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::DeltaDecayChannel::getFinalState(), and G4INCL::RecombinationChannel::getFinalState().
const ThreeVector & G4INCL::Particle::adjustMomentumFromEnergy | ( | ) |
Rescale the momentum to match the total energy.
Definition at line 128 of file G4INCLParticle.cc.
References INCL_ERROR, G4INCL::ThreeVector::mag2(), print(), theEnergy, and theMomentum.
Referenced by G4INCL::Cluster::Cluster(), G4INCL::Nucleus::emitInsidePions(), G4INCL::CrossSections::interactionDistanceNN(), G4INCL::CrossSections::interactionDistancePiN(), G4INCL::StandardPropagationModel::shootParticle(), and G4INCL::KinematicsUtils::transformToLocalEnergyFrame().
|
inline |
Boost the particle using a boost vector.
Example (go to the particle rest frame): particle->boost(particle->boostVector());
Definition at line 327 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dot(), G4INCL::ThreeVector::mag2(), theEnergy, and theMomentum.
Referenced by G4INCL::Cluster::boost(), G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::decayOutgoingDeltas(), and G4INCL::InteractionAvatar::preInteraction().
|
inline |
Returns a three vector we can give to the boost() -method.
In order to go to the particle rest frame you need to multiply the boost vector by -1.0.
Definition at line 317 of file G4INCLParticle.hh.
References theEnergy, and theMomentum.
Referenced by G4INCL::PhaseSpaceDecay::decay(), G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Definition at line 735 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dump(), G4INCL::ParticleTable::getName(), ID, theEnergy, theMomentum, thePosition, and theType.
Referenced by G4INCL::ParticleEntryAvatar::dump(), G4INCL::BinaryCollisionAvatar::dump(), G4INCL::DecayAvatar::dump(), and G4INCL::SurfaceAvatar::dump().
|
inline |
Freeze particle propagation.
Make the particle use theFrozenMomentum and theFrozenEnergy for propagation. The normal state can be restored by calling the thawPropagation() method.
Definition at line 693 of file G4INCLParticle.hh.
References theFrozenEnergy, theFrozenMomentum, thePropagationEnergy, and thePropagationMomentum.
|
inline |
Returns the baryon number.
Definition at line 301 of file G4INCLParticle.hh.
References theA.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::ClusteringModelIntercomparison::clusterCanEscape(), G4INCL::ClusterDecay::decay(), G4INCL::Nucleus::fillEventInfo(), G4INCL::Nucleus::finalizeProjectileRemnant(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::Nucleus::getConservationBalance(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::NuclearDensity::getTransmissionRadius(), G4INCL::Nucleus::insertParticle(), G4INCL::ClusterDecay::isStable(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inlinevirtual |
Get the angular momentum w.r.t. the origin
Reimplemented in G4INCL::Cluster.
Definition at line 580 of file G4INCLParticle.hh.
References theMomentum, thePosition, and G4INCL::ThreeVector::vector().
Referenced by G4INCL::Cluster::getAngularMomentum(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Definition at line 306 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::mag(), theEnergy, and theMomentum.
|
inline |
Get the cosine of the angle between position and momentum.
Definition at line 781 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dot(), G4INCL::ThreeVector::mag2(), thePosition, and thePropagationMomentum.
|
inline |
Computes correction on the emission Q-value.
Computes the correction that must be applied to INCL particles in order to obtain the correct Q-value for particle emission from a given nucleus. For absorption, the correction is obviously equal to minus the value returned by this function.
AParent | the mass number of the emitting nucleus |
ZParent | the charge number of the emitting nucleus |
Definition at line 465 of file G4INCLParticle.hh.
References G4INCL::ParticleTable::getINCLMass(), getINCLMass(), G4INCL::ParticleTable::getTableMass, getTableMass(), G4INCL::ParticleTable::getTableQValue(), isCluster(), theA, and theZ.
Referenced by G4INCL::Nucleus::emitInsidePions(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), and G4INCL::SurfaceAvatar::getTransmissionProbability().
|
inline |
Definition at line 645 of file G4INCLParticle.hh.
|
inline |
Get the energy of the particle in MeV.
Definition at line 550 of file G4INCLParticle.hh.
References theEnergy.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::DeltaDecayChannel::computeDecayTime(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), G4INCL::KinematicsUtils::makeBoostVector(), G4INCL::KinematicsUtils::momentumInCM(), G4INCL::InteractionAvatar::preInteraction(), G4INCL::InteractionAvatar::preInteractionBlocking(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::StandardPropagationModel::shootComposite(), G4INCL::StandardPropagationModel::shootParticle(), G4INCL::KinematicsUtils::squareTotalEnergyInCM(), and G4INCL::KinematicsUtils::transformToLocalEnergyFrame().
|
inline |
Get the frozen particle momentum.
Definition at line 682 of file G4INCLParticle.hh.
References theFrozenEnergy.
|
inline |
Get the frozen particle momentum.
Definition at line 679 of file G4INCLParticle.hh.
References theFrozenMomentum.
|
inline |
Definition at line 606 of file G4INCLParticle.hh.
|
inline |
Definition at line 748 of file G4INCLParticle.hh.
References ID.
Referenced by G4INCL::PauliStandard::getBlockingProbability(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), and G4INCL::ProjectileRemnant::reset().
|
inline |
Get the INCL particle mass.
Definition at line 359 of file G4INCLParticle.hh.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, G4INCL::ParticleTable::getINCLMass(), INCL_ERROR, G4INCL::Neutron, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, theA, theType, and theZ.
Referenced by getEmissionQValueCorrection(), G4INCL::ParticleEntryChannel::getFinalState(), and setINCLMass().
|
inline |
Get the the particle invariant mass.
Uses the relativistic invariant
Definition at line 528 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dot(), INCL_ERROR, theEnergy, and theMomentum.
Referenced by G4INCL::Nucleus::finalizeProjectileRemnant(), and Particle().
|
inline |
Get the particle kinetic energy.
Definition at line 539 of file G4INCLParticle.hh.
References theEnergy.
Referenced by G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin::computePotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialEnergyIsospinSmooth::computePotentialEnergy(), G4INCL::Nucleus::emitInsidePions(), G4INCL::Nucleus::fillEventInfo(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::Nucleus::getConservationBalance(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::CoulombDistortion::maxImpactParameter(), and G4INCL::CDPP::processOneParticle().
|
inline |
Longitudinal component of the position w.r.t. the momentum.
Definition at line 653 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dot(), G4INCL::ThreeVector::mag2(), thePosition, and thePropagationMomentum.
Referenced by getTransversePosition().
|
inline |
Get the cached particle mass.
Definition at line 356 of file G4INCLParticle.hh.
Referenced by G4INCL::DeltaDecayChannel::computeDecayTime(), G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::emitInsidePions(), G4INCL::InteractionAvatar::enforceEnergyConservation(), G4INCL::Cluster::freezeInternalMotion(), G4INCL::NuclearPotential::INuclearPotential::getFermiMomentum(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::CrossSections::interactionDistanceNN(), G4INCL::CrossSections::interactionDistancePiN(), G4INCL::Cluster::internalBoostToCM(), G4INCL::KinematicsUtils::momentumInCM(), G4INCL::KinematicsUtils::momentumInLab(), G4INCL::Cluster::print(), G4INCL::ProjectileRemnant::ProjectileRemnant(), G4INCL::CrossSectionsINCL46::recombination(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Get the momentum vector.
Definition at line 574 of file G4INCLParticle.hh.
References theMomentum.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::ClusteringModelIntercomparison::clusterCanEscape(), G4INCL::Nucleus::computeRecoilKinematics(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::fillEventInfo(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::Nucleus::getConservationBalance(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::KinematicsUtils::makeBoostVector(), G4INCL::KinematicsUtils::momentumInCM(), G4INCL::BinaryCollisionAvatar::postInteraction(), G4INCL::InteractionAvatar::preInteraction(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ParticleSampler::sampleParticles(), G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Return the number of collisions undergone by the particle.
Definition at line 614 of file G4INCLParticle.hh.
References nCollisions.
Referenced by G4INCL::Cluster::addParticle().
|
inline |
Return the number of decays undergone by the particle.
Definition at line 623 of file G4INCLParticle.hh.
References nDecays.
|
inline |
Definition at line 256 of file G4INCLParticle.hh.
References theParticipantType.
Referenced by G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar().
|
inline |
|
inline |
Set the position vector.
Definition at line 596 of file G4INCLParticle.hh.
References thePosition.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::CoulombNone::bringToSurface(), G4INCL::ClusteringModelIntercomparison::clusterCanEscape(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::StandardPropagationModel::getReflectionTime(), G4INCL::StandardPropagationModel::getTime(), G4INCL::BinaryCollisionAvatar::postInteraction(), and G4INCL::ParticleSampler::sampleParticles().
|
inline |
Get the particle potential energy.
Definition at line 542 of file G4INCLParticle.hh.
References thePotentialEnergy.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::Nucleus::emitInsidePions(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::InteractionAvatar::preInteractionBlocking(), and G4INCL::CDPP::processOneParticle().
|
inline |
Get the propagation velocity of the particle.
Definition at line 685 of file G4INCLParticle.hh.
References thePropagationMomentum.
Referenced by G4INCL::CoulombNone::bringToSurface(), G4INCL::StandardPropagationModel::getReflectionTime(), and G4INCL::StandardPropagationModel::getTime().
|
inline |
Get the real particle mass.
Definition at line 417 of file G4INCLParticle.hh.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, G4INCL::ParticleTable::getRealMass(), INCL_ERROR, G4INCL::Neutron, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, theA, theType, and theZ.
Referenced by G4INCL::Cluster::getTableMass(), and setRealMass().
|
inline |
Return the reflection momentum.
The reflection momentum is used by calls to getSurfaceRadius to compute the radius of the sphere where the nucleon moves. It is necessary to introduce fuzzy r-p correlations.
Definition at line 764 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::mag(), rpCorrelated, theMomentum, and uncorrelatedMomentum.
Referenced by G4INCL::KinematicsUtils::getLocalEnergy(), and G4INCL::Nucleus::getSurfaceRadius().
|
inlinevirtual |
Get the particle species.
Reimplemented in G4INCL::Cluster.
Definition at line 192 of file G4INCLParticle.hh.
References theType.
Referenced by G4INCL::CoulombDistortion::maxImpactParameter(), and G4INCL::StandardPropagationModel::shootParticle().
|
inlinevirtual |
Get the tabulated particle mass.
Reimplemented in G4INCL::Cluster.
Definition at line 388 of file G4INCLParticle.hh.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, G4INCL::ParticleTable::getTableMass, G4INCL::ParticleTable::getTableParticleMass, INCL_ERROR, G4INCL::Neutron, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, theA, theType, and theZ.
Referenced by G4INCL::Nucleus::decayOutgoingDeltas(), getEmissionQValueCorrection(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), getTransferQValueCorrection(), and setTableMass().
|
inline |
Computes correction on the transfer Q-value.
Computes the correction that must be applied to INCL particles in order to obtain the correct Q-value for particle transfer from a given nucleus to another.
Assumes that the receving nucleus is INCL's target nucleus, with the INCL separation energy.
AFrom | the mass number of the donating nucleus |
ZFrom | the charge number of the donating nucleus |
ATo | the mass number of the receiving nucleus |
ZTo | the charge number of the receiving nucleus |
Definition at line 503 of file G4INCLParticle.hh.
References G4INCL::ParticleTable::getINCLMass(), getTableMass(), G4INCL::ParticleTable::getTableQValue(), theA, and theZ.
|
inline |
Transverse component of the position w.r.t. the momentum.
Definition at line 648 of file G4INCLParticle.hh.
References getLongitudinalPosition(), and thePosition.
Referenced by G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Get the particle type.
Definition at line 187 of file G4INCLParticle.hh.
References theType.
Referenced by G4INCL::NuclearPotential::INuclearPotential::computePionPotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialIsospin::computePotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialConstant::computePotentialEnergy(), G4INCL::CrossSectionsINCL46::deltaProduction(), G4INCL::CrossSectionsINCL46::elasticNNLegacy(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::NuclearPotential::INuclearPotential::getFermiEnergy(), G4INCL::NuclearPotential::INuclearPotential::getFermiMomentum(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::NuclearPotential::INuclearPotential::getSeparationEnergy(), G4INCL::Nucleus::getSurfaceRadius(), G4INCL::NuclearDensity::getTransmissionRadius(), G4INCL::Nucleus::insertParticle(), G4INCL::ParticleConfig::isPair(), G4INCL::CrossSectionsINCL46::pionNucleon(), and G4INCL::CrossSectionsINCL46::recombination().
|
inline |
Returns the charge number.
Definition at line 304 of file G4INCLParticle.hh.
References theZ.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::CoulombNonRelativistic::bringToSurface(), G4INCL::ClusterDecay::decay(), G4INCL::CoulombNonRelativistic::distortOut(), G4INCL::Nucleus::emitInsidePions(), G4INCL::Nucleus::fillEventInfo(), G4INCL::Nucleus::finalizeProjectileRemnant(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::Nucleus::getConservationBalance(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::TransmissionChannel::getFinalState(), G4INCL::Nucleus::getTransmissionBarrier(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::NuclearDensity::getTransmissionRadius(), G4INCL::Nucleus::insertParticle(), G4INCL::ClusterDecay::isStable(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Increment the number of collisions undergone by the particle.
Definition at line 620 of file G4INCLParticle.hh.
References nCollisions.
|
inline |
Increment the number of decays undergone by the particle.
Definition at line 629 of file G4INCLParticle.hh.
References nDecays.
|
inline |
Definition at line 668 of file G4INCLParticle.hh.
References G4INCL::Composite, and theType.
Referenced by getEmissionQValueCorrection(), and G4INCL::SurfaceAvatar::postInteraction().
|
inline |
Is it a Delta?
Definition at line 295 of file G4INCLParticle.hh.
References G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, and theType.
Referenced by G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::DecayAvatar::getChannel(), G4INCL::NuclearPotential::INuclearPotential::getFermiMomentum(), G4INCL::DeltaProductionChannel::getFinalState(), isResonance(), G4INCL::CrossSectionsINCL46::recombination(), G4INCL::RecombinationChannel::RecombinationChannel(), and G4INCL::CrossSectionsINCL46::total().
|
inline |
Check if the particle belongs to a given list.
Definition at line 664 of file G4INCLParticle.hh.
|
inline |
Is this a nucleon?
Definition at line 249 of file G4INCLParticle.hh.
References G4INCL::Neutron, G4INCL::Proton, and theType.
Referenced by G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin::computePotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialEnergyIsospinSmooth::computePotentialEnergy(), G4INCL::CrossSectionsINCL46::elasticNNLegacy(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::Nucleus::insertParticle(), G4INCL::CrossSectionsINCL46::pionNucleon(), G4INCL::CDPP::processOneParticle(), G4INCL::StandardPropagationModel::shootParticle(), and G4INCL::CrossSectionsINCL46::total().
|
inline |
Check if the particle is out of its potential well.
Definition at line 642 of file G4INCLParticle.hh.
Referenced by G4INCL::NuclearPotential::INuclearPotential::computePionPotentialEnergy().
|
inline |
Definition at line 264 of file G4INCLParticle.hh.
References G4INCL::Participant, and theParticipantType.
Referenced by G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar().
|
inline |
Is this a pion?
Definition at line 289 of file G4INCLParticle.hh.
References G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, and theType.
Referenced by G4INCL::CrossSectionsINCL46::elastic(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::Nucleus::getSurfaceRadius(), G4INCL::CrossSectionsINCL46::pionNucleon(), G4INCL::InteractionAvatar::preInteractionLocalEnergy(), G4INCL::CDPP::processOneParticle(), and G4INCL::CrossSectionsINCL46::total().
|
inline |
Definition at line 272 of file G4INCLParticle.hh.
References G4INCL::ProjectileSpectator, and theParticipantType.
Referenced by G4INCL::SurfaceAvatar::getChannel().
|
inline |
Is it a resonance?
Definition at line 292 of file G4INCLParticle.hh.
References isDelta().
Referenced by G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::SurfaceAvatar::getChannel(), Particle(), G4INCL::CDPP::processOneParticle(), and setType().
|
inline |
Definition at line 268 of file G4INCLParticle.hh.
References G4INCL::TargetSpectator, and theParticipantType.
Referenced by G4INCL::SurfaceAvatar::getChannel(), G4INCL::Nucleus::insertParticle(), G4INCL::SurfaceAvatar::postInteraction(), and G4INCL::BinaryCollisionAvatar::preInteraction().
|
inline |
Lorentz-contract the particle position around some center.
Apply Lorentz contraction to the position component along the direction of the boost vector.
aBoostVector | the boost vector (velocity) [c] |
refPos | the reference position |
Definition at line 345 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::dot(), G4INCL::ThreeVector::mag2(), and thePosition.
|
inlinevirtual |
Reimplemented in G4INCL::Cluster.
Definition at line 276 of file G4INCLParticle.hh.
References G4INCL::Participant, and theParticipantType.
Referenced by G4INCL::Store::loadParticles(), and G4INCL::Cluster::makeParticipant().
|
inlinevirtual |
Reimplemented in G4INCL::Cluster.
Definition at line 284 of file G4INCLParticle.hh.
References G4INCL::ProjectileSpectator, and theParticipantType.
Referenced by G4INCL::Cluster::makeProjectileSpectator(), and G4INCL::StandardPropagationModel::shootParticle().
|
inlinevirtual |
Reimplemented in G4INCL::Cluster.
Definition at line 280 of file G4INCLParticle.hh.
References G4INCL::TargetSpectator, and theParticipantType.
Referenced by G4INCL::Cluster::makeTargetSpectator().
Assignment operator.
Does not copy the particle ID.
Definition at line 177 of file G4INCLParticle.hh.
References swap().
Referenced by G4INCL::Cluster::operator=().
|
inline |
Definition at line 720 of file G4INCLParticle.hh.
References G4INCL::ParticleTable::getName(), ID, G4INCL::ThreeVector::print(), theEnergy, theMomentum, thePosition, and theType.
Referenced by adjustMomentumFromEnergy(), G4INCL::Nucleus::emitInsidePions(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::StandardPropagationModel::getReflectionTime(), and G4INCL::ProjectileRemnant::removeParticle().
Definition at line 609 of file G4INCLParticle.hh.
References thePosition.
Referenced by G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar().
|
inlinevirtual |
Rotate the particle position and momentum.
angle | the rotation angle |
axis | a unit vector representing the rotation axis |
Reimplemented in G4INCL::Cluster.
Definition at line 714 of file G4INCLParticle.hh.
References G4INCL::ThreeVector::rotate(), theFrozenMomentum, theMomentum, and thePosition.
Referenced by G4INCL::Cluster::rotate().
|
inline |
Make the particle follow a strict r-p correlation.
Definition at line 775 of file G4INCLParticle.hh.
References rpCorrelated.
Referenced by G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::ParticleEntryAvatar::postInteraction(), and G4INCL::SurfaceAvatar::postInteraction().
|
inline |
Make the particle not follow a strict r-p correlation.
Definition at line 778 of file G4INCLParticle.hh.
References rpCorrelated.
Definition at line 644 of file G4INCLParticle.hh.
Referenced by G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::emitInsidePions(), and G4INCL::Nucleus::finalizeProjectileRemnant().
Set the energy of the particle in MeV.
Definition at line 566 of file G4INCLParticle.hh.
References energy(), and theEnergy.
Referenced by G4INCL::Nucleus::emitInsidePions(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::CrossSections::interactionDistanceNN(), G4INCL::CrossSections::interactionDistancePiN(), G4INCL::StandardPropagationModel::shootParticle(), G4INCL::KinematicsUtils::transformToLocalEnergyFrame(), and G4INCL::Nucleus::useFusionKinematics().
Set the frozen particle momentum.
Definition at line 676 of file G4INCLParticle.hh.
References energy(), and theFrozenEnergy.
|
inline |
Set the frozen particle momentum.
Definition at line 673 of file G4INCLParticle.hh.
References theFrozenMomentum.
Definition at line 607 of file G4INCLParticle.hh.
Referenced by G4INCL::DeltaProductionChannel::getFinalState(), and G4INCL::DeltaDecayChannel::getFinalState().
|
inline |
Set the mass of the Particle to its table mass.
Definition at line 452 of file G4INCLParticle.hh.
References getINCLMass(), and setMass().
Referenced by G4INCL::Cluster::Cluster(), setType(), and G4INCL::StandardPropagationModel::shootParticle().
Set the mass of the particle in MeV/c^2.
Definition at line 558 of file G4INCLParticle.hh.
Referenced by G4INCL::Nucleus::computeRecoilKinematics(), G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::finalizeProjectileRemnant(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), Particle(), setINCLMass(), setRealMass(), setTableMass(), and G4INCL::Nucleus::useFusionKinematics().
|
inlinevirtual |
Set the momentum vector.
Definition at line 588 of file G4INCLParticle.hh.
References theMomentum.
Referenced by G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), and G4INCL::Nucleus::useFusionKinematics().
Set the number of collisions undergone by the particle.
Definition at line 617 of file G4INCLParticle.hh.
References n, and nCollisions.
Set the number of decays undergone by the particle.
Definition at line 626 of file G4INCLParticle.hh.
|
inline |
Mark the particle as out of its potential well.
This flag is used to control pions created outside their potential well in delta decay. The pion potential checks it and returns zero if it is true (necessary in order to correctly enforce energy conservation). The Nucleus::applyFinalState() method uses it to determine whether new avatars should be generated for the particle.
Definition at line 639 of file G4INCLParticle.hh.
|
inline |
Definition at line 260 of file G4INCLParticle.hh.
References theParticipantType.
|
inlinevirtual |
Reimplemented in G4INCL::Cluster.
Definition at line 601 of file G4INCLParticle.hh.
References position, and thePosition.
Referenced by G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::CoulombNone::bringToSurface(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::ParticleSampler::sampleParticles(), G4INCL::Cluster::setPosition(), and G4INCL::StandardPropagationModel::shootParticle().
Set the particle potential energy.
Definition at line 545 of file G4INCLParticle.hh.
References thePotentialEnergy, and test::v.
Referenced by G4INCL::Nucleus::emitInsidePions(), G4INCL::Store::loadParticles(), and G4INCL::Nucleus::updatePotentialEnergy().
|
inline |
Set the mass of the Particle to its real mass.
Definition at line 446 of file G4INCLParticle.hh.
References getRealMass(), and setMass().
Referenced by G4INCL::ClusterDecay::decay().
|
inline |
Set the mass of the Particle to its table mass.
Definition at line 449 of file G4INCLParticle.hh.
References getTableMass(), and setMass().
Referenced by G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::emitInsidePions(), G4INCL::ProjectileRemnant::ProjectileRemnant(), and G4INCL::ProjectileRemnant::reset().
|
inline |
Definition at line 196 of file G4INCLParticle.hh.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, INCL_ERROR, isResonance(), G4INCL::Neutron, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, setINCLMass(), theA, theType, theZ, and G4INCL::UnknownParticle.
Referenced by G4INCL::Cluster::Cluster(), G4INCL::ClusterDecay::decay(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), and Particle().
Set the uncorrelated momentum.
Definition at line 772 of file G4INCLParticle.hh.
References uncorrelatedMomentum.
Helper method for the assignment operator.
Definition at line 139 of file G4INCLParticle.hh.
References nCollisions, nDecays, rpCorrelated, CLHEP::swap(), theA, theEnergy, theFrozenEnergy, theFrozenMomentum, theMomentum, theParticipantType, thePosition, thePotentialEnergy, thePropagationEnergy, thePropagationMomentum, theType, theZ, and uncorrelatedMomentum.
Referenced by operator=(), and G4INCL::Cluster::swap().
|
inline |
Unfreeze particle propagation.
Make the particle use theMomentum and theEnergy for propagation. Call this method to restore the normal propagation if the freezePropagation() method has been called.
Definition at line 704 of file G4INCLParticle.hh.
References theEnergy, theMomentum, thePropagationEnergy, and thePropagationMomentum.
Referenced by G4INCL::ReflectionChannel::getFinalState().
|
protected |
Definition at line 803 of file G4INCLParticle.hh.
Referenced by dump(), getID(), Particle(), G4INCL::Cluster::print(), and print().
|
protected |
Definition at line 800 of file G4INCLParticle.hh.
Referenced by G4INCL::Cluster::addParticle(), getNumberOfCollisions(), incrementNumberOfCollisions(), G4INCL::ProjectileRemnant::reset(), setNumberOfCollisions(), and swap().
|
protected |
Definition at line 801 of file G4INCLParticle.hh.
Referenced by getNumberOfDecays(), incrementNumberOfDecays(), setNumberOfDecays(), and swap().
|
protected |
Definition at line 805 of file G4INCLParticle.hh.
Referenced by getReflectionMomentum(), rpCorrelate(), rpDecorrelate(), and swap().
|
protected |
Definition at line 790 of file G4INCLParticle.hh.
Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), G4INCL::Cluster::addParticle(), G4INCL::Nucleus::applyFinalState(), G4INCL::Cluster::Cluster(), G4INCL::Nucleus::computeRecoilKinematics(), G4INCL::Nucleus::decayInsideDeltas(), G4INCL::Nucleus::decayMe(), G4INCL::Nucleus::emitInsidePions(), getA(), getEmissionQValueCorrection(), getINCLMass(), getRealMass(), G4INCL::Cluster::getSpecies(), getTableMass(), getTransferQValueCorrection(), G4INCL::Cluster::initializeParticles(), G4INCL::Nucleus::insertParticle(), G4INCL::Cluster::internalBoostToCM(), G4INCL::Nucleus::Nucleus(), G4INCL::Cluster::print(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), G4INCL::Cluster::setA(), setType(), and swap().
|
protected |
Definition at line 793 of file G4INCLParticle.hh.
Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), G4INCL::Cluster::addParticle(), adjustEnergyFromMomentum(), adjustMomentumFromEnergy(), boost(), boostVector(), dump(), getBeta(), getEnergy(), getInvariantMass(), getKineticEnergy(), G4INCL::Cluster::internalBoostToCM(), Particle(), G4INCL::Cluster::print(), print(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), setEnergy(), swap(), thawPropagation(), and G4INCL::Nucleus::useFusionKinematics().
|
protected |
Definition at line 795 of file G4INCLParticle.hh.
Referenced by freezePropagation(), getFrozenEnergy(), Particle(), setFrozenEnergy(), and swap().
|
protected |
Definition at line 798 of file G4INCLParticle.hh.
Referenced by freezePropagation(), getFrozenMomentum(), Particle(), rotate(), setFrozenMomentum(), and swap().
|
protected |
Definition at line 796 of file G4INCLParticle.hh.
Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), G4INCL::Cluster::addParticle(), adjustEnergyFromMomentum(), adjustMomentumFromEnergy(), boost(), boostVector(), G4INCL::Nucleus::computeRecoilKinematics(), dump(), G4INCL::Cluster::freezeInternalMotion(), getAngularMomentum(), getBeta(), getInvariantMass(), getMomentum(), getReflectionMomentum(), G4INCL::Cluster::internalBoostToCM(), Particle(), G4INCL::Cluster::print(), print(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), rotate(), setMomentum(), swap(), thawPropagation(), and G4INCL::Nucleus::useFusionKinematics().
|
protected |
Definition at line 791 of file G4INCLParticle.hh.
Referenced by getParticipantType(), isParticipant(), isProjectileSpectator(), isTargetSpectator(), makeParticipant(), makeProjectileSpectator(), makeTargetSpectator(), Particle(), setParticipantType(), and swap().
|
protected |
Definition at line 799 of file G4INCLParticle.hh.
Referenced by G4INCL::Cluster::addParticle(), G4INCL::Cluster::boost(), G4INCL::Cluster::Cluster(), G4INCL::Nucleus::computeRecoilKinematics(), dump(), getAngularMomentum(), getCosRPAngle(), getLongitudinalPosition(), getPosition(), getTransversePosition(), G4INCL::Nucleus::initializeParticles(), G4INCL::Cluster::initializeParticles(), G4INCL::Cluster::internalBoostToCM(), lorentzContract(), G4INCL::Cluster::print(), print(), propagate(), G4INCL::ProjectileRemnant::reset(), rotate(), G4INCL::Cluster::setPosition(), setPosition(), and swap().
|
protected |
Definition at line 802 of file G4INCLParticle.hh.
Referenced by G4INCL::Cluster::addParticle(), getPotentialEnergy(), G4INCL::ProjectileRemnant::reset(), setPotentialEnergy(), and swap().
|
protected |
Definition at line 794 of file G4INCLParticle.hh.
Referenced by freezePropagation(), Particle(), swap(), and thawPropagation().
|
protected |
Definition at line 797 of file G4INCLParticle.hh.
Referenced by freezePropagation(), getCosRPAngle(), getLongitudinalPosition(), getPropagationVelocity(), Particle(), swap(), and thawPropagation().
|
protected |
Definition at line 792 of file G4INCLParticle.hh.
Referenced by dump(), getINCLMass(), getRealMass(), getSpecies(), getTableMass(), getType(), isCluster(), isDelta(), isNucleon(), isPion(), G4INCL::Cluster::print(), print(), setType(), and swap().
|
protected |
Definition at line 790 of file G4INCLParticle.hh.
Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), G4INCL::Cluster::addParticle(), G4INCL::Nucleus::applyFinalState(), G4INCL::Cluster::Cluster(), G4INCL::Nucleus::computeRecoilKinematics(), G4INCL::Nucleus::decayInsideDeltas(), G4INCL::Nucleus::decayMe(), G4INCL::Nucleus::emitInsidePions(), getEmissionQValueCorrection(), getINCLMass(), getRealMass(), G4INCL::Cluster::getSpecies(), getTableMass(), getTransferQValueCorrection(), G4INCL::Nucleus::getTransmissionBarrier(), getZ(), G4INCL::Cluster::initializeParticles(), G4INCL::Nucleus::insertParticle(), G4INCL::Nucleus::Nucleus(), G4INCL::Cluster::print(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), setType(), G4INCL::Cluster::setZ(), and swap().
|
protected |
Definition at line 806 of file G4INCLParticle.hh.
Referenced by getReflectionMomentum(), setUncorrelatedMomentum(), and swap().