7 #include "Pythia8/PhaseSpace.h"
34 const PhaseSpace* phaseSpacePtr,
37 if (sigmaProcessPtr->nFinal() != 1)
return 0.;
43 int idRes = sigmaProcessPtr->resonanceA();
44 double mRes = particleDataPtr->m0(idRes);
45 double wRes = particleDataPtr->mWidth(idRes);
46 double m2Res = mRes*mRes;
47 double GamMRat = wRes/mRes;
48 double sHat = phaseSpacePtr->sHat();
49 double weightBW = pow2(sHat - m2Res) + pow2(sHat * GamMRat);
73 throw std::runtime_error(
"Unknown WprimeFlat:EnergyMode - should be either 8 or 13!");