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>
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.
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.
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.
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.
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.
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.
ROOT::Fit::DataWrapper::~DataWrapper |
( |
| ) |
|
|
inline |
double ROOT::Fit::DataWrapper::Coord |
( |
unsigned int |
ipoint, |
|
|
unsigned int |
icoord |
|
) |
| const |
|
inline |
double ROOT::Fit::DataWrapper::CoordError |
( |
unsigned int |
ipoint, |
|
|
unsigned int |
icoord |
|
) |
| const |
|
inline |
const double* ROOT::Fit::DataWrapper::CoordErrors |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
const double* ROOT::Fit::DataWrapper::Coords |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
double ROOT::Fit::DataWrapper::Error |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
double ROOT::Fit::DataWrapper::Value |
( |
unsigned int |
ipoint | ) |
const |
|
inline |
std::vector<const double *> ROOT::Fit::DataWrapper::fCoords |
|
private |
unsigned int ROOT::Fit::DataWrapper::fDim |
|
private |
std::vector<double> ROOT::Fit::DataWrapper::fErr |
|
mutableprivate |
std::vector<const double *> ROOT::Fit::DataWrapper::fErrCoords |
|
private |
const double* ROOT::Fit::DataWrapper::fErrors |
|
private |
const double* ROOT::Fit::DataWrapper::fValues |
|
private |
std::vector<double> ROOT::Fit::DataWrapper::fX |
|
mutableprivate |
The documentation for this class was generated from the following file: