14 #ifndef _FunctionController_H_
15 #define _FunctionController_H_
32 class FunctionParameter;
96 void findFunctions (
const PlotterBase * plotter )
const;
101 void setErrorsFromComposite (
const PlotterBase * plotter,
108 void fillFunctionReps ( std::vector < FunctionRep * > & freps,
110 const DataRep * data_rep )
const;
122 const std::vector < std::string > & getFitterNames ()
const;
126 const std::string & getDefaultFitter ()
const;
130 FunctionRep * createFunctionRep (
const std::string & name,
165 void fillTopLevelFunctionReps ( std::vector < FunctionRep * > & reps,
167 const DataRep * data_rep )
const;
177 const std::string & name );
187 const std::string & name,
237 int getUniqueNonFunctionIndex (
const PlotterBase * plotter )
const;
245 const std::vector < std::string > &
250 const std::vector < std::string > &
251 getFunctionNames ()
const;
260 const std::string & getFitterName (
const PlotterBase * plotter );
268 bool setFitter (
const PlotterBase * plotter,
const std::string & name );
274 const std::string & name );
283 bool setFitter (
FunctionRep * frep,
const std::string & name );
288 void setDefaultFitter (
const std::string & name );
313 bool fitFunction (
PlotterBase * plotter,
unsigned int );
339 const std::vector < std::vector < double > > &
358 const std::string &
type );
386 double & xmin,
double & xmax,
387 double & ymin,
double & ymax );
407 NTuple * ellipse(
const std::vector< double > & xbar,
408 std::vector< std::vector < double > > & SigmaInv,
413 int setEllpsoidParamIndex (
Axes::Type axes,
int index );
422 bool isCompatible (
const std::string &
function,
423 const std::string & fitter );
427 bool functionExists (
const std::string & name );
433 void setFitRange (
PlotterBase * plotter,
double low,
double high );
455 #endif // _FunctionController_H_