22 fMaxPoints(maxpoints),
25 fpTmpCoordVector(nullptr)
60 unsigned int maxpoints,
unsigned int dim) :
104 assert(dataX && dataY);
118 const double *dataZ) :
126 assert(dataX && dataY && dataZ);
154 const double *ptrList[] = { dataX };
174 const double *ptrList[] = { dataX, dataY };
185 const double *dataZ) :
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++) {
double * fpTmpCoordVector
Namespace for new ROOT classes and functions.
virtual ~FitData()
dummy virtual destructor
Base class for all the fit data types: Stores the coordinates and the DataOptions.
std::vector< std::vector< double > > fCoords
This vector stores the vectorizable data: The inner vectors contain the coordinates data fCoords[0] i...
void Append(unsigned int newPoints, unsigned int dim=1)
void InitCoordsVector()
initializer routines to set the corresponding pointers right The vectors must NOT be resized after th...
DataOptions : simple structure holding the options on how the data are filled.
std::vector< const double *> fCoordsPtr
class describing the range in the coordinates it supports multiple range in a coordinate.
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
FitData & operator=(const FitData &rhs)
void InitFromRange(Iterator dataItr)
FitData(unsigned int maxpoints=0, unsigned int dim=1)
construct with default option and data range