class maintaining a pointer to external data Using this class avoids copying the data when performing a fit NOTE: this class is not thread-safe and should not be used in parallel fits
Definition at line 222 of file DataVector.h.
|
| DataWrapper (const double *dataX) |
| specialized constructor for 1D data without errors and values More...
|
|
| DataWrapper (const double *dataX, const double *val, const double *eval, const double *ex) |
| constructor for 1D data (if errors are not present a null pointer should be passed) More...
|
|
| DataWrapper (const double *dataX, const double *dataY, const double *val, const double *eval, const double *ex, const double *ey) |
| constructor for 2D data (if errors are not present a null pointer should be passed) More...
|
|
| DataWrapper (const double *dataX, const double *dataY, const double *dataZ, const double *val, const double *eval, const double *ex, const double *ey, const double *ez) |
| constructor for 3D data (if errors are not present a null pointer should be passed) More...
|
|
template<class Iterator > |
| DataWrapper (unsigned int dim, Iterator coordItr) |
| constructor for multi-dim data without errors More...
|
|
template<class Iterator > |
| DataWrapper (size_t dim, Iterator coordItr, const double *val, const double *eval, Iterator errItr) |
| constructor for multi-dim data with errors and values (if errors are not present a null pointer should be passed) More...
|
|
| ~DataWrapper () |
|
double | Coord (unsigned int ipoint, unsigned int icoord) const |
|
double | CoordError (unsigned int ipoint, unsigned int icoord) const |
|
const double * | CoordErrors (unsigned int ipoint) const |
|
const double * | Coords (unsigned int ipoint) const |
|
double | Error (unsigned int ipoint) const |
|
double | Value (unsigned int ipoint) const |
|
#include <Fit/DataVector.h>
◆ DataWrapper() [1/6]
ROOT::Fit::DataWrapper::DataWrapper |
( |
const double * |
dataX | ) |
|
|
inlineexplicit |
specialized constructor for 1D data without errors and values
Definition at line 229 of file DataVector.h.
◆ DataWrapper() [2/6]
ROOT::Fit::DataWrapper::DataWrapper |
( |
const double * |
dataX, |
|
|
const double * |
val, |
|
|
const double * |
eval, |
|
|
const double * |
ex |
|
) |
| |
|
inline |
constructor for 1D data (if errors are not present a null pointer should be passed)
Definition at line 243 of file DataVector.h.
◆ DataWrapper() [3/6]
ROOT::Fit::DataWrapper::DataWrapper |
( |
const double * |
dataX, |
|
|
const double * |
dataY, |
|
|
const double * |
val, |
|
|
const double * |
eval, |
|
|
const double * |
ex, |
|
|
const double * |
ey |
|
) |
| |
|
inline |
constructor for 2D data (if errors are not present a null pointer should be passed)
Definition at line 259 of file DataVector.h.
◆ DataWrapper() [4/6]
ROOT::Fit::DataWrapper::DataWrapper |
( |
const double * |
dataX, |
|
|
const double * |
dataY, |
|
|
const double * |
dataZ, |
|
|
const double * |
val, |
|
|
const double * |
eval, |
|
|
const double * |
ex, |
|
|
const double * |
ey, |
|
|
const double * |
ez |
|
) |
| |
|
inline |
constructor for 3D data (if errors are not present a null pointer should be passed)
Definition at line 277 of file DataVector.h.
◆ DataWrapper() [5/6]
template<class Iterator >
ROOT::Fit::DataWrapper::DataWrapper |
( |
unsigned int |
dim, |
|
|
Iterator |
coordItr |
|
) |
| |
|
inline |
constructor for multi-dim data without errors
Definition at line 298 of file DataVector.h.
◆ DataWrapper() [6/6]
template<class Iterator >
ROOT::Fit::DataWrapper::DataWrapper |
( |
size_t |
dim, |
|
|
Iterator |
coordItr, |
|
|
const double * |
val, |
|
|
const double * |
eval, |
|
|
Iterator |
errItr |
|
) |
| |
|
inline |
constructor for multi-dim data with errors and values (if errors are not present a null pointer should be passed)
Definition at line 311 of file DataVector.h.
◆ ~DataWrapper()
ROOT::Fit::DataWrapper::~DataWrapper |
( |
| ) |
|
|
inline |
◆ Coord()
double ROOT::Fit::DataWrapper::Coord |
( |
unsigned int |
ipoint, |
|
|
unsigned int |
icoord |
|
) |
| const |
|
inline |
◆ CoordError()
double ROOT::Fit::DataWrapper::CoordError |
( |
unsigned int |
ipoint, |
|
|
unsigned int |
icoord |
|
) |
| const |
|
inline |
◆ CoordErrors()
const double* ROOT::Fit::DataWrapper::CoordErrors |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
◆ Coords()
const double* ROOT::Fit::DataWrapper::Coords |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
◆ Error()
double ROOT::Fit::DataWrapper::Error |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
◆ Value()
double ROOT::Fit::DataWrapper::Value |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
◆ fCoords
std::vector<const double *> ROOT::Fit::DataWrapper::fCoords |
|
private |
◆ fDim
unsigned int ROOT::Fit::DataWrapper::fDim |
|
private |
◆ fErr
std::vector<double> ROOT::Fit::DataWrapper::fErr |
|
mutableprivate |
◆ fErrCoords
std::vector<const double *> ROOT::Fit::DataWrapper::fErrCoords |
|
private |
◆ fErrors
const double* ROOT::Fit::DataWrapper::fErrors |
|
private |
◆ fValues
const double* ROOT::Fit::DataWrapper::fValues |
|
private |
◆ fX
std::vector<double> ROOT::Fit::DataWrapper::fX |
|
mutableprivate |
The documentation for this class was generated from the following file: