Geant4
10.03.p03
|
#include <G4INCLCluster.hh>
Public Member Functions | |
Cluster (const G4int Z, const G4int A, const G4bool createParticleSampler=true) | |
Standard Cluster constructor. More... | |
template<class Iterator > | |
Cluster (Iterator begin, Iterator end) | |
virtual | ~Cluster () |
Cluster (const Cluster &rhs) | |
Copy constructor. More... | |
Cluster & | operator= (const Cluster &rhs) |
Assignment operator. More... | |
void | swap (Cluster &rhs) |
Helper method for the assignment operator. More... | |
ParticleSpecies | getSpecies () const |
Get the particle species. More... | |
void | deleteParticles () |
void | clearParticles () |
void | setZ (const G4int Z) |
Set the charge number of the cluster. More... | |
void | setA (const G4int A) |
Set the mass number of the cluster. More... | |
G4double | getExcitationEnergy () const |
Get the excitation energy of the cluster. More... | |
void | setExcitationEnergy (const G4double e) |
Set the excitation energy of the cluster. More... | |
virtual G4double | getTableMass () const |
Get the real particle mass. More... | |
ParticleList const & | getParticles () const |
void | removeParticle (Particle *const p) |
Remove a particle from the cluster components. More... | |
void | addParticle (Particle *const p) |
void | updateClusterParameters () |
Set total cluster mass, energy, size, etc. from the particles. More... | |
void | addParticles (ParticleList const &pL) |
Add a list of particles to the cluster. More... | |
ParticleList | getParticleList () const |
Returns the list of particles that make up the cluster. More... | |
std::string | print () const |
virtual void | initializeParticles () |
Initialise the NuclearDensity pointer and sample the particles. More... | |
void | internalBoostToCM () |
Boost to the CM of the component particles. More... | |
void | putParticlesOffShell () |
Put the cluster components off shell. More... | |
void | setPosition (const ThreeVector &position) |
Set the position of the cluster. More... | |
void | boost (const ThreeVector &aBoostVector) |
Boost the cluster with the indicated velocity. More... | |
void | freezeInternalMotion () |
Freeze the internal motion of the particles. More... | |
virtual void | rotatePosition (const G4double angle, const ThreeVector &axis) |
Rotate position of all the particles. More... | |
virtual void | rotateMomentum (const G4double angle, const ThreeVector &axis) |
Rotate momentum of all the particles. More... | |
virtual void | makeProjectileSpectator () |
Make all the components projectile spectators, too. More... | |
virtual void | makeTargetSpectator () |
Make all the components target spectators, too. More... | |
virtual void | makeParticipant () |
Make all the components participants, too. More... | |
ThreeVector const & | getSpin () const |
Get the spin of the nucleus. More... | |
void | setSpin (const ThreeVector &j) |
Set the spin of the nucleus. More... | |
G4INCL::ThreeVector | getAngularMomentum () const |
Get the total angular momentum (orbital + spin) More... | |
Public Member Functions inherited from G4INCL::Particle | |
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 |
void | setType (ParticleType t) |
G4bool | isNucleon () const |
ParticipantType | getParticipantType () const |
void | setParticipantType (ParticipantType const p) |
G4bool | isParticipant () const |
G4bool | isTargetSpectator () const |
G4bool | isProjectileSpectator () const |
G4bool | isPion () const |
Is this a pion? More... | |
G4bool | isEta () const |
Is this a eta? More... | |
G4bool | isOmega () const |
Is this a omega? More... | |
G4bool | isEtaPrime () const |
Is this a etaprime? 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... | |
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 void | setMomentum (const G4INCL::ThreeVector &momentum) |
const G4INCL::ThreeVector & | getPosition () const |
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 | 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 | rotatePositionAndMomentum (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... | |
Additional Inherited Members | |
Protected Member Functions inherited from G4INCL::Particle | |
void | swap (Particle &rhs) |
Helper method for the assignment operator. More... | |
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.
|
inline |
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 174 of file G4INCLCluster.hh.
|
inline |
Add a list of particles to the cluster.
Definition at line 206 of file G4INCLCluster.hh.
|
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 336 of file G4INCLCluster.hh.
|
inline |
|
inline |
Definition at line 135 of file G4INCLCluster.hh.
|
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 359 of file G4INCLCluster.hh.
|
inlinevirtual |
Get the total angular momentum (orbital + spin)
Reimplemented from G4INCL::Particle.
Definition at line 420 of file G4INCLCluster.hh.
|
inline |
Get the excitation energy of the cluster.
Definition at line 151 of file G4INCLCluster.hh.
|
inline |
Returns the list of particles that make up the cluster.
Definition at line 212 of file G4INCLCluster.hh.
|
inline |
Get the list of particles in the cluster.
Definition at line 165 of file G4INCLCluster.hh.
|
inlinevirtual |
Get the particle species.
Reimplemented from G4INCL::Particle.
Definition at line 131 of file G4INCLCluster.hh.
|
inline |
Get the spin of the nucleus.
Definition at line 414 of file G4INCLCluster.hh.
|
inlinevirtual |
Get the real particle mass.
Overloads the Particle method.
Reimplemented from G4INCL::Particle.
Definition at line 160 of file G4INCLCluster.hh.
|
virtual |
Initialise the NuclearDensity pointer and sample the particles.
Reimplemented in G4INCL::Nucleus.
Definition at line 43 of file G4INCLCluster.cc.
|
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 246 of file G4INCLCluster.hh.
|
inlinevirtual |
Make all the components participants, too.
Reimplemented from G4INCL::Particle.
Definition at line 406 of file G4INCLCluster.hh.
|
inlinevirtual |
Make all the components projectile spectators, too.
Reimplemented from G4INCL::Particle.
Definition at line 390 of file G4INCLCluster.hh.
|
inlinevirtual |
Make all the components target spectators, too.
Reimplemented from G4INCL::Particle.
Definition at line 398 of file G4INCLCluster.hh.
Assignment operator.
Definition at line 113 of file G4INCLCluster.hh.
|
inline |
Definition at line 214 of file G4INCLCluster.hh.
|
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 298 of file G4INCLCluster.hh.
Remove a particle from the cluster components.
Definition at line 168 of file G4INCLCluster.hh.
|
virtual |
Rotate momentum of all the particles.
This includes the cluster components. Overloads Particle::rotateMomentum().
angle | the rotation angle |
axis | a unit vector representing the rotation axis |
Reimplemented from G4INCL::Particle.
Definition at line 64 of file G4INCLCluster.cc.
|
virtual |
Rotate position of all the particles.
This includes the cluster components. Overloads Particle::rotateMomentum().
angle | the rotation angle |
axis | a unit vector representing the rotation axis |
Reimplemented from G4INCL::Particle.
Definition at line 57 of file G4INCLCluster.cc.
Set the mass number of the cluster.
Definition at line 148 of file G4INCLCluster.hh.
Set the excitation energy of the cluster.
Definition at line 154 of file G4INCLCluster.hh.
|
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 320 of file G4INCLCluster.hh.
|
inline |
Set the spin of the nucleus.
Definition at line 417 of file G4INCLCluster.hh.
Helper method for the assignment operator.
Definition at line 121 of file G4INCLCluster.hh.
|
inline |
Set total cluster mass, energy, size, etc. from the particles.
Definition at line 186 of file G4INCLCluster.hh.
|
protected |
Definition at line 443 of file G4INCLCluster.hh.
|
protected |
Definition at line 444 of file G4INCLCluster.hh.
|
protected |
Definition at line 446 of file G4INCLCluster.hh.
|
protected |
Definition at line 445 of file G4INCLCluster.hh.