34 double xm = (x1+x2+
x3)/3.;
44 double a = y1/(dx12*dx13) - y2/(dx12*dx23) + y3/(dx13*dx23);
45 double b = -y1*(x2+
x3)/(dx12*dx13) + y2*(x1+
x3)/(dx12*dx23) - y3*(x1+
x2)/(dx13*dx23);
46 double c = y1 - a*x1*x1 - b*
x1;
64 double y12 = p1.
Y() - p2.
Y();
66 double det = xx1-xx2 - 2.*x1*(x1-
x2);
67 double a = -( y12 + (x2-
x1)*dxdy1)/det;
68 double b = -( -2.*x1*y12 + (xx1-xx2)*dxdy1)/det;
69 double c = y1 - a*xx1 - b*
x1;
double Y() const
Accessor to the y (second) coordinate.
static double p3(double t, double a, double b, double c, double d)
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
static const double x2[5]
static double p2(double t, double a, double b, double c)
This class defines a parabola of the form a*x*x + b*x + c.
double X() const
Accessor to the x (first) coordinate.
static double p1(double t, double a, double b)
MnParabola operator()(const MnParabolaPoint &, const MnParabolaPoint &, const MnParabolaPoint &) const
static const double x1[5]
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
static const double x3[11]