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_ std::vector< std::string > m_f_names
The list of function names attached to the plotter.
hippodraw::FunctionBase class interface
int m_y
Index of the parameter that shall be bound to Y axes while plotting the error / confidence ellipsoids...
unsigned int m_confid_count
A count of number of confidence contour plots created.
The base class for data representations.
The base class for the PlotterBase hierarchy.
The abstract base class for a factory that creates objects closely related to the graphics subsystem ...
A DataSource class implemented with std::vector<double> to store the column data. ...
PyArray_TYPES type(numeric::array arr)
#define MDL_HIPPOPLOT_API
Expresses a range of values.
A function that can be added to a DataRep and used in a fitter.
The base class for fitters.
PlotterBase * m_plotter
The current PlotterBase object.
The abstract base class for views.
std::vector< FunctionRep *> m_func_reps
The list of FunctionRep objects for the current plotter.
int m_x
Index of the parameter that shall be bound to X axes while plotting the error / confidence ellipsoids...
A singleton class is the interface between an application and the list of FunctionRep objects contain...
void * data(numeric::array arr)
std::vector< double > m_deltaXSq
delta chi squared values for 99.99% confidence ellipsoids for mu = 1,2,3,4,5,6
A derived class of DataRep which is a base class for displaying a function.
static FunctionController * s_instance
A pointer to the singleton object.