14 #ifndef _FunctionProjector_H_
15 #define _FunctionProjector_H_
73 virtual void addPointReps ();
93 virtual bool isEmpty ()
const;
97 double objectiveValue ()
const;
101 const std::vector < std::vector < double > > & covariance ( )
const;
105 void calcPrincipleErrors()
const;
108 const std::vector< double > & principleErrors ()
const;
114 void setPrincipleErrors ( std::vector < double > ::const_iterator first,
115 std::vector < double > ::const_iterator last );
119 void setFitter (
Fitter * fitter );
123 Fitter * getFitter ( )
const;
126 int degreesOfFreedom ()
const;
132 bool hasSavedParameters ()
const;
135 void saveParameters ();
139 void restoreParameters ();
149 bool fitFunction ( );
151 virtual Range valueRange()
const;
153 virtual const std::string & getTitle()
const;
161 virtual const std::string & getXLabel()
const;
168 virtual const std::string & getYLabel (
bool density =
false )
const;
173 int getNumberOfEntries ()
const;
176 int getUnderflow ()
const;
179 int getOverflow ()
const;
185 const std::string & getZLabel()
const;
192 void setParameters(
const std::vector<double> ¶ms );
196 virtual void setFitCut (
TupleCut * cut );
200 virtual void setFitRange (
bool yes =
true );
206 virtual void fillProjectedValues (
DataSource * ntuple,
207 bool in_range =
false )
const;
213 #endif // _FunctionProjector_H_