34 #define INCLXX_IN_GEANT4_MODE 1
68 INCL_WARN(
"Particle with null kinetic energy in fillInverseKinematics, cannot determine its mass:\n"
69 <<
" A=" <<
A[i] <<
", Z=" <<
Z[i] <<
", S=" <<
S[i] <<
'\n'
70 <<
" EKin=" <<
EKin[i] <<
", px=" <<
px[i] <<
", py=" <<
py[i] <<
", pz=" <<
pz[i] <<
'\n'
71 <<
" Falling back to the mass from the INCL ParticleTable" <<
'\n');
76 const Double_t ETotPrime = gamma*(ETot - beta*
pz[i]);
83 else if(cosThetaPrime<=-1.)
92 INCL_DEBUG(
"remnantToParticle function used\n");
void remnantToParticle(const G4int remnantIndex)
Move a remnant to the particle array.
T max(const T t1, const T t2)
brief Return the largest of the two arguments
Float_t py[maxSizeParticles]
Particle momentum, y component [MeV/c].
Float_t thetaPrime[maxSizeParticles]
Particle momentum polar angle, in inverse kinematics [radians].
Float_t pzPrime[maxSizeParticles]
Particle momentum, z component, in inverse kinematics [MeV/c].
Float_t pzRem[maxSizeRemnants]
Remnant momentum, z component [MeV/c].
Float_t EKinRem[maxSizeRemnants]
Remnant kinetic energy [MeV].
Float_t emissionTime[maxSizeParticles]
Emission time [fm/c].
std::vector< std::string > history
History of the particle.
void fillInverseKinematics(const Double_t gamma)
Fill the variables describing the reaction in inverse kinematics.
Short_t nParticles
Number of particles in the final state.
Short_t Z[maxSizeParticles]
Particle charge number.
G4int getPDGCode() const
Set a PDG Code (MONTE CARLO PARTICLE NUMBERING)
Float_t phi[maxSizeParticles]
Particle momentum azimuthal angle [radians].
Short_t origin[maxSizeParticles]
Origin of the particle.
G4double getRealMass(const G4INCL::ParticleType t)
Get particle mass (in MeV/c^2)
static G4double getTotalBias()
General bias vector function.
Short_t ZRem[maxSizeRemnants]
Remnant charge number.
Short_t ARem[maxSizeRemnants]
Remnant mass number.
G4double arcCos(const G4double x)
Calculates arccos with some tolerance on illegal arguments.
Float_t pyRem[maxSizeRemnants]
Remnant momentum, y component [MeV/c].
Short_t S[maxSizeParticles]
Particle strangeness number.
Simple container for output of event results.
Float_t EKin[maxSizeParticles]
Particle kinetic energy [MeV].
static G4ThreadLocal Int_t eventNumber
Number of the event.
G4double toDegrees(G4double radians)
Int_t PDGCode[maxSizeParticles]
PDG numbering of the particles.
Float_t EKinPrime[maxSizeParticles]
Particle kinetic energy, in inverse kinematics [MeV].
Float_t ParticleBias[maxSizeParticles]
Particle weight due to the bias.
Short_t A[maxSizeParticles]
Particle mass number.
Float_t stoppingTime
Cascade stopping time [fm/c].
Float_t pxRem[maxSizeRemnants]
Remnant momentum, x component [MeV/c].
Float_t px[maxSizeParticles]
Particle momentum, x component [MeV/c].
Short_t SRem[maxSizeRemnants]
Remnant strangeness number.
Float_t pz[maxSizeParticles]
Particle momentum, z component [MeV/c].
Float_t theta[maxSizeParticles]
Particle momentum polar angle [radians].