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