Rivet::BWHelpers Namespace Reference
Function Documentation
inverse CDF for the Breit-Wigner distribution Definition at line 247 of file MathUtils.hh. Referenced by Rivet::BWspace(). { const double xn = std::tan(M_PI*(p-0.5)); return gamma*xn + mu; }
CDF for the Breit-Wigner distribution. Definition at line 240 of file MathUtils.hh. Referenced by Rivet::BWspace(). { // normalize to (0;1) distribution const double xn = (x - mu)/gamma; return std::atan(xn)/M_PI + 0.5; } Generated on Thu Feb 6 2014 17:40:13 for The Rivet MC analysis system by ![]() |