13#ifndef ROOT_Fit_UnBinData 
   14#define ROOT_Fit_UnBinData 
   55    bool isWeighted = 
false ) :
 
 
   68    unsigned int dim = 1, 
bool isWeighted = 
false ) :
 
 
   80    unsigned int maxpoints = 0, 
unsigned int dim = 1, 
bool isWeighted = 
false ) :
 
 
  102    bool isWeighted = 
false ) :
 
 
  113    const double * 
dataZ, 
bool isWeighted = 
false ) :
 
 
  126  template<
class Iterator>
 
  128    bool isWeighted = 
false ) :
 
 
  173  template<
class Iterator>
 
  219  void Add(
double x, 
double y, 
double z)
 
 
  265       MATH_ERROR_MSG(
"UnBinData::WeightsPtr",
"The function is unweighted!");
 
 
 
#define MATH_ERROR_MSG(loc, str)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
class describing the range in the coordinates it supports multiple range in a coordinate.
 
Base class for all the fit data types: Stores the coordinates and the DataOptions.
 
void Add(double x)
add one dim data with only coordinate and values
 
void Append(unsigned int newPoints, unsigned int dim=1)
 
const double * GetCoordComponent(unsigned int ipoint, unsigned int icoord) const
returns a single coordinate component of a point.
 
Class describing the un-binned data sets (just x coordinates values) of any dimensions.
 
UnBinData(const DataRange &range, unsigned int maxpoints=0, unsigned int dim=1, bool isWeighted=false)
constructor from range and default option
 
void Add(const double *x, double w)
add multi-dim coordinate data + weight
 
UnBinData & operator=(const UnBinData &)
assignment operator
 
double Weight(unsigned int ipoint) const
return weight
 
UnBinData(unsigned int maxpoints, unsigned int dim, Iterator dataItr, const DataRange &range, bool isWeighted=false)
constructor for multi-dim external data and a range (data are copied inside according to the range) U...
 
const double * WeightsPtr(unsigned int ipoint) const
 
void Add(double x)
add one dim coordinate data (unweighted)
 
unsigned int NDim() const
return coordinate data dimension
 
UnBinData(unsigned int n, const double *dataX, const double *dataY, const double *dataZ, bool isWeighted=false)
constructor for 3D external data (data are not copied inside) or 2D data with a weight (if isWeighted...
 
void Append(unsigned int newPoints, unsigned int dim=1, bool isWeighted=false)
 
UnBinData(unsigned int maxpoints, const double *dataX, const DataRange &range)
constructor for 1D data and a range (data are copied inside according to the given range)
 
UnBinData(const DataOptions &opt, const DataRange &range, unsigned int maxpoints=0, unsigned int dim=1, bool isWeighted=false)
constructor from options and range
 
void Add(double x, double y)
add 2-dim coordinate data can also be used to add 1-dim data with a weight
 
~UnBinData() override
destructor, delete pointer to internal data or external data wrapper
 
UnBinData(unsigned int n, const double *dataX)
constructor for 1D external data (data are not copied inside)
 
void Add(double x, double y, double z)
add 3-dim coordinate data can also be used to add 2-dim data with a weight
 
UnBinData(unsigned int maxpoints=0, unsigned int dim=1, bool isWeighted=false)
constructor from dimension of point and max number of points (to pre-allocate vector)
 
UnBinData(unsigned int n, unsigned int dim, Iterator dataItr, bool isWeighted=false)
constructor for multi-dim external data (data are not copied inside) Uses as argument an iterator of ...
 
void Add(const double *x)
add multi-dim coordinate data
 
UnBinData(unsigned int maxpoints, const double *dataX, const double *dataY, const double *dataZ, const DataRange &range, bool isWeighted=false)
constructor for 3D data and a range (data are copied inside according to the given range) or a 2D dat...
 
UnBinData(unsigned int maxpoints, const double *dataX, const double *dataY, const DataRange &range, bool isWeighted=false)
constructor for 2D data and a range (data are copied inside according to the given range) or 1 1D dat...
 
UnBinData(unsigned int n, const double *dataX, const double *dataY, bool isWeighted=false)
constructor for 2D external data (data are not copied inside) or 1D data with a weight (if isWeighted...
 
const_iterator begin() const
 
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...
 
DataOptions : simple structure holding the options on how the data are filled.