34#define INCLXX_IN_GEANT4_MODE 1
38#ifndef G4INCLPHASESPACERAUBOLDLYNCH_HH
39#define G4INCLPHASESPACERAUBOLDLYNCH_HH
75 std::vector<G4double> masses;
76 std::vector<G4double> sumMasses;
77 std::vector<G4double> rnd;
78 std::vector<G4double> invariantMasses;
79 std::vector<G4double> momentaCM;
85 static const size_t nMasslessParticlesTable = 13;
86 static const size_t wMaxNE = 30;
87 static const G4double wMaxMasslessX[wMaxNE];
88 static const G4double wMaxMasslessY[wMaxNE];
89 static const G4double wMaxCorrectionX[wMaxNE];
90 static const G4double wMaxCorrectionY[wMaxNE];
91 static const G4double wMaxInterpolationMargin;
96 static const size_t wMaxNP = 20;
105 G4double computeMaximumWeightNaive();
108 G4double computeMaximumWeightParam();
Abstract interface for the phase-space generators.
Simple interpolation table.
Abstract interface for the phase-space generators.
Class for interpolating the of a 1-dimensional function.
Generate momenta using the RauboldLynch method.
PhaseSpaceRauboldLynch(PhaseSpaceRauboldLynch const &other)
Dummy copy constructor to silence Coverity warning.
G4double getMaxGeneratedWeight() const
Return the largest generated weight.
virtual ~PhaseSpaceRauboldLynch()
void generate(const G4double sqrtS, ParticleList &particles)
Generate momenta according to a uniform, Lorentz-invariant phase-space model.
PhaseSpaceRauboldLynch & operator=(PhaseSpaceRauboldLynch const &rhs)
Dummy assignment operator to silence Coverity warning.