Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4INCLCluster.hh>
Public Member Functions | |
Cluster (const G4int Z, const G4int A, const G4bool createParticleSampler=true) | |
Standard Cluster constructor. | |
template<class Iterator > | |
Cluster (Iterator begin, Iterator end) | |
virtual | ~Cluster () |
Cluster (const Cluster &rhs) | |
Copy constructor. | |
Cluster & | operator= (const Cluster &rhs) |
Assignment operator. | |
void | swap (Cluster &rhs) |
Helper method for the assignment operator. | |
ParticleSpecies | getSpecies () const |
Get the particle species. | |
void | deleteParticles () |
void | clearParticles () |
void | setZ (const G4int Z) |
Set the charge number of the cluster. | |
void | setA (const G4int A) |
Set the mass number of the cluster. | |
G4double | getExcitationEnergy () const |
Get the excitation energy of the cluster. | |
void | setExcitationEnergy (const G4double e) |
Set the excitation energy of the cluster. | |
virtual G4double | getTableMass () const |
Get the real particle mass. | |
ParticleList const & | getParticles () const |
void | removeParticle (Particle *const p) |
Remove a particle from the cluster components. | |
void | addParticle (Particle *const p) |
void | addParticles (ParticleList const &pL) |
Add a list of particles to the cluster. | |
ParticleList | getParticleList () const |
Returns the list of particles that make up the cluster. | |
std::string | print () const |
virtual void | initializeParticles () |
Initialise the NuclearDensity pointer and sample the particles. | |
void | internalBoostToCM () |
Boost to the CM of the component particles. | |
void | putParticlesOffShell () |
Put the cluster components off shell. | |
void | setPosition (const ThreeVector &position) |
Set the position of the cluster. | |
void | boost (const ThreeVector &aBoostVector) |
Boost the cluster with the indicated velocity. | |
void | freezeInternalMotion () |
Freeze the internal motion of the particles. | |
virtual void | rotate (const G4double angle, const ThreeVector &axis) |
Rotate position and momentum of all the particles. | |
virtual void | makeProjectileSpectator () |
Make all the components projectile spectators, too. | |
virtual void | makeTargetSpectator () |
Make all the components target spectators, too. | |
virtual void | makeParticipant () |
Make all the components participants, too. | |
ThreeVector const & | getSpin () const |
Get the spin of the nucleus. | |
void | setSpin (const ThreeVector &j) |
Set the spin of the nucleus. | |
G4INCL::ThreeVector | getAngularMomentum () const |
Get the total angular momentum (orbital + spin) | |
Public Member Functions inherited from G4INCL::Particle | |
Particle () | |
Particle (ParticleType t, G4double energy, ThreeVector momentum, ThreeVector position) | |
Particle (ParticleType t, ThreeVector momentum, ThreeVector position) | |
virtual | ~Particle () |
Particle (const Particle &rhs) | |
Copy constructor. | |
Particle & | operator= (const Particle &rhs) |
Assignment operator. | |
G4INCL::ParticleType | getType () const |
virtual G4INCL::ParticleSpecies | getSpecies () const |
Get the particle species. | |
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? | |
G4bool | isResonance () const |
Is it a resonance? | |
G4bool | isDelta () const |
Is it a Delta? | |
G4int | getA () const |
Returns the baryon number. | |
G4int | getZ () const |
Returns the charge number. | |
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. | |
G4double | getMass () const |
Get the cached particle mass. | |
G4double | getINCLMass () const |
Get the INCL particle mass. | |
virtual G4double | getTableMass () const |
Get the tabulated particle mass. | |
G4double | getRealMass () const |
Get the real particle mass. | |
void | setRealMass () |
Set the mass of the Particle to its real mass. | |
void | setTableMass () |
Set the mass of the Particle to its table mass. | |
void | setINCLMass () |
Set the mass of the Particle to its table mass. | |
G4double | getEmissionQValueCorrection (const G4int AParent, const G4int ZParent) const |
Computes correction on the emission Q-value. | |
G4double | getTransferQValueCorrection (const G4int AFrom, const G4int ZFrom, const G4int ATo, const G4int ZTo) const |
Computes correction on the transfer Q-value. | |
G4double | getInvariantMass () const |
Get the the particle invariant mass. | |
G4double | getKineticEnergy () const |
Get the particle kinetic energy. | |
G4double | getPotentialEnergy () const |
Get the particle potential energy. | |
void | setPotentialEnergy (G4double v) |
Set the particle potential energy. | |
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. | |
void | setNumberOfCollisions (G4int n) |
Set the number of collisions undergone by the particle. | |
void | incrementNumberOfCollisions () |
Increment the number of collisions undergone by the particle. | |
G4int | getNumberOfDecays () const |
Return the number of decays undergone by the particle. | |
void | setNumberOfDecays (G4int n) |
Set the number of decays undergone by the particle. | |
void | incrementNumberOfDecays () |
Increment the number of decays undergone by the particle. | |
void | setOutOfWell () |
Mark the particle as out of its potential well. | |
G4bool | isOutOfWell () const |
Check if the particle is out of its potential well. | |
void | setEmissionTime (G4double t) |
G4double | getEmissionTime () |
ThreeVector | getTransversePosition () const |
Transverse component of the position w.r.t. the momentum. | |
ThreeVector | getLongitudinalPosition () const |
Longitudinal component of the position w.r.t. the momentum. | |
const ThreeVector & | adjustMomentumFromEnergy () |
Rescale the momentum to match the total energy. | |
G4double | adjustEnergyFromMomentum () |
Recompute the energy to match the momentum. | |
G4bool | isInList (ParticleList const &l) const |
Check if the particle belongs to a given list. | |
G4bool | isCluster () const |
void | setFrozenMomentum (const ThreeVector &momentum) |
Set the frozen particle momentum. | |
void | setFrozenEnergy (const G4double energy) |
Set the frozen particle momentum. | |
ThreeVector | getFrozenMomentum () const |
Get the frozen particle momentum. | |
G4double | getFrozenEnergy () const |
Get the frozen particle momentum. | |
ThreeVector | getPropagationVelocity () const |
Get the propagation velocity of the particle. | |
void | freezePropagation () |
Freeze particle propagation. | |
void | thawPropagation () |
Unfreeze particle propagation. | |
virtual void | rotate (const G4double angle, const ThreeVector &axis) |
Rotate the particle position and momentum. | |
std::string | print () const |
std::string | dump () const |
long | getID () const |
ParticleList const * | getParticles () const |
Additional Inherited Members | |
Protected Member Functions inherited from G4INCL::Particle | |
void | swap (Particle &rhs) |
Helper method for the assignment operator. | |
Cluster is a particle (inherits from the Particle class) that is actually a collection of elementary particles.
Definition at line 52 of file G4INCLCluster.hh.
|
inline |
Standard Cluster constructor.
This constructor should mainly be used when constructing Nucleus or when constructing Clusters to be used as composite projectiles.
Definition at line 60 of file G4INCLCluster.hh.
|
inline |
A cluster can be directly built from a list of particles.
Definition at line 78 of file G4INCLCluster.hh.
|
inlinevirtual |
Definition at line 93 of file G4INCLCluster.hh.
Copy constructor.
Definition at line 98 of file G4INCLCluster.hh.
Add one particle to the cluster. This updates the cluster mass, energy, size, etc.
Definition at line 170 of file G4INCLCluster.hh.
Referenced by addParticles(), Cluster(), and G4INCL::ProjectileRemnant::reset().
|
inline |
Add a list of particles to the cluster.
Definition at line 183 of file G4INCLCluster.hh.
Referenced by initializeParticles().
|
inline |
Boost the cluster with the indicated velocity.
The Cluster is boosted as a whole, just like any Particle object; moreover, the internal components (particles list) are also boosted, according to Alain Boudard's off-shell recipe.
aBoostVector | the velocity to boost to [c] |
Definition at line 313 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::ProjectileRemnant().
|
inline |
Definition at line 138 of file G4INCLCluster.hh.
Referenced by deleteParticles(), and G4INCL::Nucleus::moveProjectileRemnantComponentsToOutgoing().
|
inline |
Definition at line 131 of file G4INCLCluster.hh.
Referenced by G4INCL::Store::clearOutgoing(), Cluster(), G4INCL::Nucleus::decayOutgoingClusters(), G4INCL::ProjectileRemnant::reset(), and G4INCL::StandardPropagationModel::shootComposite().
|
inline |
Freeze the internal motion of the particles.
Each particle is assigned a frozen momentum four-vector determined by the collective cluster velocity. This is used for propagation, but not for dynamics. Normal propagation is restored by calling the Particle::thawPropagation() method, which should be done in InteractionAvatar::postInteraction.
Definition at line 335 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::ProjectileRemnant().
|
inlinevirtual |
Get the total angular momentum (orbital + spin)
Reimplemented from G4INCL::Particle.
Definition at line 392 of file G4INCLCluster.hh.
Referenced by G4INCL::StandardPropagationModel::shootComposite().
|
inline |
Get the excitation energy of the cluster.
Definition at line 147 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::fillEventInfo().
|
inline |
Returns the list of particles that make up the cluster.
Definition at line 189 of file G4INCLCluster.hh.
|
inline |
Get the list of particles in the cluster.
Definition at line 161 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::applyFinalState(), G4INCL::CoulombNone::bringToSurface(), G4INCL::Nucleus::finalizeProjectileRemnant(), G4INCL::Nucleus::moveProjectileRemnantComponentsToOutgoing(), and G4INCL::SurfaceAvatar::postInteraction().
|
inlinevirtual |
Get the particle species.
Reimplemented from G4INCL::Particle.
Definition at line 127 of file G4INCLCluster.hh.
|
inline |
Get the spin of the nucleus.
Definition at line 386 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::fillEventInfo(), and getAngularMomentum().
|
inlinevirtual |
Get the real particle mass.
Overloads the Particle method.
Reimplemented from G4INCL::Particle.
Definition at line 156 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::useFusionKinematics().
|
virtual |
Initialise the NuclearDensity pointer and sample the particles.
Reimplemented in G4INCL::Nucleus.
Definition at line 44 of file G4INCLCluster.cc.
Referenced by G4INCL::Nucleus::initializeParticles(), and G4INCL::ProjectileRemnant::ProjectileRemnant().
|
inline |
Boost to the CM of the component particles.
The position of all particles in the particles list is shifted so that their centre of mass is in the origin and their total momentum is zero.
Definition at line 223 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::ProjectileRemnant().
|
inlinevirtual |
Make all the components participants, too.
Reimplemented from G4INCL::Particle.
Definition at line 378 of file G4INCLCluster.hh.
|
inlinevirtual |
Make all the components projectile spectators, too.
Reimplemented from G4INCL::Particle.
Definition at line 362 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::ProjectileRemnant().
|
inlinevirtual |
Make all the components target spectators, too.
Reimplemented from G4INCL::Particle.
Definition at line 370 of file G4INCLCluster.hh.
Assignment operator.
Definition at line 109 of file G4INCLCluster.hh.
|
inline |
Definition at line 191 of file G4INCLCluster.hh.
Referenced by boost(), G4INCL::SurfaceAvatar::getChannel(), initializeParticles(), internalBoostToCM(), putParticlesOffShell(), G4INCL::ProjectileRemnant::removeParticle(), and G4INCL::ProjectileRemnant::reset().
|
inline |
Put the cluster components off shell.
The Cluster components are put off shell in such a way that their total energy equals the cluster mass.
Definition at line 275 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::ProjectileRemnant().
Remove a particle from the cluster components.
Definition at line 164 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::removeParticle().
|
inlinevirtual |
Rotate position and momentum of all the particles.
This includes the cluster components. Overloads Particle::rotate().
angle | the rotation angle |
axis | a unit vector representing the rotation axis |
Reimplemented from G4INCL::Particle.
Definition at line 354 of file G4INCLCluster.hh.
Set the mass number of the cluster.
Definition at line 144 of file G4INCLCluster.hh.
Set the excitation energy of the cluster.
Definition at line 150 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::finalizeProjectileRemnant().
|
inlinevirtual |
Set the position of the cluster.
This overloads the Particle method to take into account that the positions of the cluster members must be updated as well.
Reimplemented from G4INCL::Particle.
Definition at line 297 of file G4INCLCluster.hh.
Referenced by G4INCL::StandardPropagationModel::shootComposite().
|
inline |
Set the spin of the nucleus.
Definition at line 389 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::finalizeProjectileRemnant(), and G4INCL::Nucleus::useFusionKinematics().
Set the charge number of the cluster.
Definition at line 141 of file G4INCLCluster.hh.
|
inline |
Helper method for the assignment operator.
Definition at line 117 of file G4INCLCluster.hh.
Referenced by operator=().
|
protected |
Definition at line 415 of file G4INCLCluster.hh.
Referenced by G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), addParticle(), boost(), clearParticles(), Cluster(), deleteParticles(), freezeInternalMotion(), getParticleList(), getParticles(), G4INCL::ProjectileRemnant::getPresentEnergyLevels(), G4INCL::Nucleus::initializeParticles(), internalBoostToCM(), makeParticipant(), makeProjectileSpectator(), makeTargetSpectator(), print(), putParticlesOffShell(), removeParticle(), G4INCL::ProjectileRemnant::removeParticle(), rotate(), setPosition(), G4INCL::ProjectileRemnant::storeComponents(), G4INCL::ProjectileRemnant::storeEnergyLevels(), and swap().
|
protected |
Definition at line 416 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::computeRecoilKinematics(), getExcitationEnergy(), G4INCL::Nucleus::getExcitationEnergy(), setExcitationEnergy(), swap(), and G4INCL::Nucleus::useFusionKinematics().
|
protected |
Definition at line 418 of file G4INCLCluster.hh.
Referenced by Cluster(), initializeParticles(), G4INCL::Nucleus::Nucleus(), swap(), and ~Cluster().
|
protected |
Definition at line 417 of file G4INCLCluster.hh.
Referenced by G4INCL::Nucleus::computeRecoilKinematics(), getSpin(), setSpin(), and swap().