Definition at line 26 of file SparseData.h.
Public Member Functions | |
SparseData (const unsigned int dim, double min[], double max[]) | |
SparseData (std::vector< double > &min, std::vector< double > &max) | |
~SparseData () | |
void | Add (std::vector< double > &min, std::vector< double > &max, const double content, const double error=1.0) |
void | GetBinData (BinData &) const |
void | GetBinDataIntegral (BinData &) const |
void | GetBinDataNoZeros (BinData &) const |
void | GetPoint (const unsigned int i, std::vector< double > &min, std::vector< double > &max, double &content, double &error) |
unsigned int | NDim () const |
unsigned int | NPoints () const |
void | PrintList () const |
Public Member Functions inherited from ROOT::Fit::FitData | |
FitData (const DataOptions &opt, const DataRange &range, unsigned int maxpoints=0, unsigned int dim=1) | |
construct passing options and data range | |
FitData (const DataOptions &opt, unsigned int maxpoints=0, unsigned int dim=1) | |
construct passing options and default data range | |
FitData (const DataRange &range, unsigned int maxpoints, const double *dataX) | |
constructor for multi-dim external data and a range (data are copied inside according to the range) Uses as argument an iterator of a list (or vector) containing the const double * of the data An example could be the std::vector<const double *>::begin | |
FitData (const DataRange &range, unsigned int maxpoints, const double *dataX, const double *dataY) | |
constructor for multi-dim external data and a range (data are copied inside according to the range) Uses as argument an iterator of a list (or vector) containing the const double * of the data An example could be the std::vector<const double *>::begin | |
FitData (const DataRange &range, unsigned int maxpoints, const double *dataX, const double *dataY, const double *dataZ) | |
constructor for multi-dim external data and a range (data are copied inside according to the range) Uses as argument an iterator of a list (or vector) containing the const double * of the data An example could be the std::vector<const double *>::begin | |
template<class Iterator > | |
FitData (const DataRange &range, unsigned int maxpoints, unsigned int dim, Iterator dataItr) | |
constructor for multi-dim external data and a range (data are copied inside according to the range) Uses as argument an iterator of a list (or vector) containing the const double * of the data An example could be the std::vector<const double *>::begin | |
FitData (const DataRange &range, unsigned int maxpoints=0, unsigned int dim=1) | |
construct passing range and default options | |
FitData (const FitData &rhs) | |
FitData (unsigned int maxpoints=0, unsigned int dim=1) | |
construct with default option and data range | |
FitData (unsigned int n, const double *dataX) | |
constructor from external data for 1D data | |
FitData (unsigned int n, const double *dataX, const double *dataY) | |
constructor from external data for 2D data | |
FitData (unsigned int n, const double *dataX, const double *dataY, const double *dataZ) | |
constructor from external data for 3D data | |
template<class Iterator > | |
FitData (unsigned int n, unsigned int dim, Iterator dataItr) | |
constructor for multi-dim external data (data are not copied inside) Uses as argument an iterator of a list (or vector) containing the const double * of the data An example could be the std::vector<const double *>::begin In case of weighted data, the external data must have a dim+1 lists of data The apssed dim refers just to the coordinate size | |
virtual | ~FitData () |
dummy virtual destructor | |
void | Add (const double *x) |
add multi-dim coordinate data with only value | |
void | Add (double x) |
add one dim data with only coordinate and values | |
void | Append (unsigned int newPoints, unsigned int dim=1) |
const double * | Coords (unsigned int ipoint) const |
return a pointer to the coordinates data for the given fit point | |
const double * | GetCoordComponent (unsigned int ipoint, unsigned int icoord) const |
returns a single coordinate component of a point. | |
const std::vector< const double * > & | GetCoordDataPtrs () const |
direct access to coord data ptrs | |
unsigned int | NDim () const |
return coordinate data dimension | |
unsigned int | NPoints () const |
return number of fit points | |
FitData & | operator= (const FitData &rhs) |
DataOptions & | Opt () |
const DataOptions & | Opt () const |
access to options | |
const DataRange & | Range () const |
access to range | |
unsigned int | Size () const |
return number of fit points | |
Private Attributes | |
ProxyListBox * | fList |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Fit::FitData | |
void | InitCoordsVector () |
initializer routines to set the corresponding pointers right The vectors must NOT be resized after this initialization without setting the corresponding pointers in the same moment ( has to be an atomic operation in case of multithreading ). | |
template<class Iterator > | |
void | InitFromRange (Iterator dataItr) |
void | UnWrap () |
Static Protected Member Functions inherited from ROOT::Fit::FitData | |
static constexpr unsigned | VectorPadding (const unsigned) |
If VecCore is not defined, there is no vectorization available and the SIMD vector size will always be one. | |
Protected Attributes inherited from ROOT::Fit::FitData | |
unsigned int | fDim |
unsigned int | fMaxPoints |
unsigned int | fNPoints |
bool | fWrapped |
#include <Fit/SparseData.h>
Definition at line 194 of file SparseData.cxx.
Definition at line 204 of file SparseData.cxx.
ROOT::Fit::SparseData::~SparseData | ( | ) |
Definition at line 216 of file SparseData.cxx.
void ROOT::Fit::SparseData::Add | ( | std::vector< double > & | min, |
std::vector< double > & | max, | ||
const double | content, | ||
const double | error = 1.0 |
||
) |
Definition at line 231 of file SparseData.cxx.
Definition at line 298 of file SparseData.cxx.
Definition at line 320 of file SparseData.cxx.
Definition at line 338 of file SparseData.cxx.
void ROOT::Fit::SparseData::GetPoint | ( | const unsigned int | i, |
std::vector< double > & | min, | ||
std::vector< double > & | max, | ||
double & | content, | ||
double & | error | ||
) |
Definition at line 268 of file SparseData.cxx.
unsigned int ROOT::Fit::SparseData::NDim | ( | ) | const |
Definition at line 225 of file SparseData.cxx.
unsigned int ROOT::Fit::SparseData::NPoints | ( | ) | const |
Definition at line 219 of file SparseData.cxx.
void ROOT::Fit::SparseData::PrintList | ( | ) | const |
Definition at line 291 of file SparseData.cxx.
|
private |
Definition at line 61 of file SparseData.h.