5#include "CLHEP/GenericFunctions/defs.h"
6#include "CLHEP/GenericFunctions/TrivariateGaussian.hh"
11#if (defined __STRICT_ANSI__) || (defined _WIN32)
13#define M_PI 3.14159265358979323846
21 _mean0("Mean0", 0.0,-10,10),
22 _mean1("Mean1", 0.0,-10,10),
23 _mean2("Mean2", 0.0,-10,10),
24 _sigma0("Sigma0",1.0,0, 10),
25 _sigma1("Sigma1",1.0,0, 10),
26 _sigma2("Sigma2",1.0,0, 10),
27 _corr01("Corr01", 0.0, -1.0, 1.0),
28 _corr02("Corr02", 0.0, -1.0, 1.0),
29 _corr12("Corr12", 0.0, -1.0, 1.0)
40 _sigma0(right._sigma0),
41 _sigma1(right._sigma1),
42 _sigma2(right._sigma2),
43 _corr01(right._corr01),
44 _corr02(right._corr02),
45 _corr12(right._corr12)
79 double dt = (1.0+rho1*rho2*rho3-rho1*rho1-rho2*rho2-rho3*rho3);
82 tmp1= 1.0/((2*M_PI)*sqrt(2*M_PI)*sx*sy*sz*sqrt(dt));
83 tmp2= exp(-0.5/dt*(dx*dx*(1.0-rho2*rho2)/sxs+dy*dy*(1.0-rho3*rho3)/sys+dz*dz*(1.0-rho1*rho1)/szs+2.0*dx*dy*(rho2*rho3-rho1)/sx/sy+2.0*dy*dz*(rho1*rho3-rho2)/sy/sz+2.0*dx*dz*(rho1*rho2-rho3)/sx/sz));
174 <<
"Warning. trivariate Gaussian called with scalar argument"
#define FUNCTION_OBJECT_IMP(classname)
unsigned int dimension() const
virtual double getValue() const
virtual double operator()(double argument) const override
virtual unsigned int dimensionality() const override
virtual ~TrivariateGaussian()