42 bool hasErrors ()
const;
48 void reset ( std::vector < std::vector < double > > & alpha,
49 std::vector < double > & beta,
90 virtual void copyFrom (
const StatedFCN * );
95 bool acceptRow (
unsigned int row )
const;
100 int getErrorColumn ( )
const;
107 void setDataSource (
const DataSource * source );
109 virtual void setDataSource (
const DataSource * source,
111 const std::vector < int > & );
120 virtual bool setUseErrors (
bool yes=
true );
126 virtual bool getUseErrors ()
const;
130 virtual void setFitCut (
TupleCut * cut );
134 virtual void setFitRange (
bool yes =
true );
141 virtual int degreesOfFreedom ( )
const;
152 virtual void calcAlphaBeta ( std::vector < std::vector < double > > & alpha,
153 std::vector < double > & beta );
159 #endif // _NTupleFCN_H_
#define MDL_HIPPOPLOT_API
A derived class of StatedFCN This class gets its data points from a DataSource.
bool m_fit_range
Set to true if the fitting range is turn on.
TupleCut * m_fit_cut
The cut that manages the range on X to be used for fitting.
The class expresses a cut on a DataSource, i.e.
bool m_has_errors
Error use flag.
std::vector< int > m_indices
The indexes into the DataSource.
intp size(numeric::array arr)
const DataSource * m_ntuple
The data source containing the data points for the fitter.
hippodraw::StatedFCN class interface
A derived class for FCNBase class.
Base class for DataSource.