// @(#)root/minuit2:$Id$ // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005 /********************************************************************** * * * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT * * * **********************************************************************/ #include "Minuit2/MnParabolaFactory.h" #include "Minuit2/MnParabola.h" #include "Minuit2/MnParabolaPoint.h" namespace ROOT { namespace Minuit2 { // #include MnParabola MnParabolaFactory::operator()(const MnParabolaPoint& p1, const MnParabolaPoint& p2, const MnParabolaPoint& p3) const { // construct the parabola from 3 points p1,p2,p3 double x1 = p1.X(); double x2 = p2.X(); double x3 = p3.X(); double dx12 = x1-x2; double dx13 = x1-x3; double dx23 = x2-x3; // std::cout<<"MnParabolaFactory x1, x2, x3: "<