13 #ifndef ROOT_Fit_SparseData
14 #define ROOT_Fit_SparseData
18 #ifndef ROOT_Fit_DataVector
21 #ifndef ROOT_Fit_BinData
38 SparseData(
const unsigned int dim,
double min[],
double max[]);
46 unsigned int NDim()
const;
49 void Add(std::vector<double>& min, std::vector<double>& max,
50 const double content,
const double error = 1.0);
53 std::vector<double>& min, std::vector<double>&max,
54 double& content,
double& error);
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Base class for all the fit data types.
unsigned int NDim() const
unsigned int NPoints() const
SparseData(std::vector< double > &min, std::vector< double > &max)
void GetBinDataNoZeros(BinData &) const
void GetBinDataIntegral(BinData &) const
Class describing the binned data sets : vectors of x coordinates, y values and optionally error on y ...
void GetBinData(BinData &) const
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
void GetPoint(const unsigned int i, std::vector< double > &min, std::vector< double > &max, double &content, double &error)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
void Add(std::vector< double > &min, std::vector< double > &max, const double content, const double error=1.0)