18 #ifndef _HNL_KINUTILS_H_
19 #define _HNL_KINUTILS_H_
32 inline double MassX(
double m1,
double m2 ) {
33 if( m2 <= 0. || m1 < 0.) {
LOG(
"HNL",
pERROR ) <<
"Illegal masses m1 = " << m1 <<
", m2 = " <<
m2; exit( 3 ); }
37 inline double Kallen(
double x,
double y,
double z ) {
38 return x*x + y*y + z*z - 2. * ( x*y + y*z + z*x );
42 return x + y - ( x-y ) * ( x-y );
45 inline double RhoFunc(
double x,
double y ) {
54 #endif // #ifndef _HNL_KINUTILS_H_
double SymmDiff(double x, double y)
double Kallen(double x, double y, double z)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static constexpr double m2
double RhoFunc(double x, double y)
double MassX(double m1, double m2)