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