41 unsigned int getParameterIndex (
const std::string & name );
55 Fitter (
const char * name );
78 virtual void copyFrom (
const Fitter * other );
82 const std::string & name ()
const;
109 void setDataSource (
const DataSource * source );
114 void setUseErrors (
bool yes =
true );
119 bool getUseErrors ()
const;
123 bool needsIntegrated ()
const;
127 void fillFreeParameters ( std::vector < double > & )
const;
132 virtual void setFixedFlags (
const std::vector < int > & flags );
145 virtual const std::vector < int > & getFixedFlags ()
const;
152 virtual void setLimits (
unsigned int i,
double lower,
double upper );
157 void setLimits (
const std::string & name,
163 virtual bool calcBestFit () = 0;
170 virtual void setStepSize (
unsigned int i,
double size );
174 void setStepSize (
const std::string & name,
double size );
179 virtual double objectiveValue()
const;
183 virtual int calcDegreesOfFreedom ()
const;
195 int calcCovariance ( std::vector < std::vector < double > > & cov );
199 virtual void setFitCut (
TupleCut * cut );
203 virtual void setFitRange (
bool yes =
true );