22 fMaxPoints(maxpoints),
25 fpTmpCoordVector(nullptr)
35 fMaxPoints(maxpoints),
38 fpTmpCoordVector(nullptr)
49 fMaxPoints(maxpoints),
52 fpTmpCoordVector(nullptr)
60 unsigned int maxpoints,
unsigned int dim) :
64 fMaxPoints(maxpoints),
69 fpTmpCoordVector(nullptr)
82 fpTmpCoordVector(nullptr)
102 fpTmpCoordVector(nullptr)
104 assert(dataX && dataY);
118 const double *dataZ) :
121 fNPoints(fMaxPoints),
124 fpTmpCoordVector(nullptr)
126 assert(dataX && dataY && dataZ);
147 fMaxPoints(maxpoints),
150 fpTmpCoordVector(nullptr)
154 const double *ptrList[] = { dataX };
167 fMaxPoints(maxpoints),
170 fpTmpCoordVector(nullptr)
174 const double *ptrList[] = { dataX, dataY };
185 const double *dataZ) :
188 fMaxPoints(maxpoints),
191 fpTmpCoordVector(nullptr)
195 const double *ptrList[] = { dataX, dataY, dataZ };
203 for (
unsigned int i = 0; i <
fDim; i++) {
233 for (
unsigned int i = 0; i <
fDim; i++) {
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.
double * fpTmpCoordVector
FitData(unsigned int maxpoints=0, unsigned int dim=1)
construct with default option and data range
void InitCoordsVector()
initializer routines to set the corresponding pointers right The vectors must NOT be resized after th...
void Append(unsigned int newPoints, unsigned int dim=1)
std::vector< std::vector< double > > fCoords
This vector stores the vectorizable data: The inner vectors contain the coordinates data fCoords[0] i...
std::vector< const double * > fCoordsPtr
void InitFromRange(Iterator dataItr)
FitData & operator=(const FitData &rhs)
virtual ~FitData()
dummy virtual destructor
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
Namespace for new ROOT classes and functions.
DataOptions : simple structure holding the options on how the data are filled.