34#define INCLXX_IN_GEANT4_MODE 1
58 const Double_t beta = std::sqrt(1.-1./(gamma*gamma));
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");
Simple container for output of event results.
G4int getPDGCode() const
Set a PDG Code (MONTE CARLO PARTICLE NUMBERING)
static G4double getTotalBias()
General bias vector function.
G4double arcCos(const G4double x)
Calculates arccos with some tolerance on illegal arguments.
G4double toDegrees(G4double radians)
G4double getRealMass(const G4INCL::ParticleType t)
Get particle mass (in MeV/c^2)
Short_t S[maxSizeParticles]
Particle strangeness number.
Short_t origin[maxSizeParticles]
Origin of the particle.
Int_t parentResonancePDGCode[maxSizeParticles]
Particle's parent resonance PDG code.
Float_t theta[maxSizeParticles]
Particle momentum polar angle [radians].
Short_t A[maxSizeParticles]
Particle mass number.
Float_t EKinRem[maxSizeRemnants]
Remnant kinetic energy [MeV].
Float_t pzPrime[maxSizeParticles]
Particle momentum, z component, in inverse kinematics [MeV/c].
Int_t parentResonanceID[maxSizeParticles]
Particle's parent resonance unique ID identifier.
Float_t emissionTime[maxSizeParticles]
Emission time [fm/c].
Float_t stoppingTime
Cascade stopping time [fm/c].
Float_t phi[maxSizeParticles]
Particle momentum azimuthal angle [radians].
Short_t Z[maxSizeParticles]
Particle charge number.
std::vector< std::string > history
History of the particle.
Float_t EKin[maxSizeParticles]
Particle kinetic energy [MeV].
Short_t nParticles
Number of particles in the final state.
Float_t px[maxSizeParticles]
Particle momentum, x component [MeV/c].
Float_t ParticleBias[maxSizeParticles]
Particle weight due to the bias.
Short_t SRem[maxSizeRemnants]
Remnant strangeness number.
Float_t pxRem[maxSizeRemnants]
Remnant momentum, x component [MeV/c].
Float_t thetaPrime[maxSizeParticles]
Particle momentum polar angle, in inverse kinematics [radians].
Float_t pyRem[maxSizeRemnants]
Remnant momentum, y component [MeV/c].
Float_t EKinPrime[maxSizeParticles]
Particle kinetic energy, in inverse kinematics [MeV].
Float_t pzRem[maxSizeRemnants]
Remnant momentum, z component [MeV/c].
static G4ThreadLocal Int_t eventNumber
Number of the event.
Float_t pz[maxSizeParticles]
Particle momentum, z component [MeV/c].
Int_t PDGCode[maxSizeParticles]
PDG numbering of the particles.
void fillInverseKinematics(const Double_t gamma)
Fill the variables describing the reaction in inverse kinematics.
Float_t py[maxSizeParticles]
Particle momentum, y component [MeV/c].
void remnantToParticle(const G4int remnantIndex)
Move a remnant to the particle array.
Short_t ARem[maxSizeRemnants]
Remnant mass number.
Short_t ZRem[maxSizeRemnants]
Remnant charge number.