13#ifndef ROOT_Fit_SparseData
14#define ROOT_Fit_SparseData
38 SparseData(std::vector<double>& min, std::vector<double>& max);
41 SparseData(
const unsigned int dim,
double min[],
double max[]);
55 unsigned int NDim()
const;
58 void Add(std::vector<double>& min, std::vector<double>& max,
59 const double content,
const double error = 1.0);
62 std::vector<double>& min, std::vector<double>&max,
63 double& content,
double& error);
76 std::unique_ptr<ProxyListBox>
fList;
Class describing the binned data sets : vectors of x coordinates, y values and optionally error on y ...
Base class for all the fit data types: Stores the coordinates and the DataOptions.
SparseData class representing the data of a THNSparse histogram The data needs to be converted to a B...
std::unique_ptr< ProxyListBox > fList
void Add(std::vector< double > &min, std::vector< double > &max, const double content, const double error=1.0)
Adds a new bin specified by the vectors.
unsigned int NDim() const
Returns the dimension of the object (bins)
void GetPoint(const unsigned int i, std::vector< double > &min, std::vector< double > &max, double &content, double &error)
unsigned int NPoints() const
Returns the number of points stored.
void GetBinDataNoZeros(BinData &) const
Same as before, but including zero content bins.
SparseData & operator=(const SparseData &rhs)
Assignment operator.
void PrintList() const
Debug method to print the list of bins stored.
void GetBinData(BinData &) const
Transforms the data into a ROOT::Fit::BinData structure.
~SparseData() override
Destructor.
void GetBinDataIntegral(BinData &) const
Same as before, but returning a BinData with integral format (containing bin edges)
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...