ROOT
6.06/09
Reference Guide
|
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.
Public Member Functions | |
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 () | |
const double * | Coords (unsigned int ipoint) const |
double | Coord (unsigned int ipoint, unsigned int icoord) const |
const double * | CoordErrors (unsigned int ipoint) const |
double | CoordError (unsigned int ipoint, unsigned int icoord) const |
double | Value (unsigned int ipoint) const |
double | Error (unsigned int ipoint) const |
Private Attributes | |
unsigned int | fDim |
const double * | fValues |
const double * | fErrors |
std::vector< const double * > | fCoords |
std::vector< const double * > | fErrCoords |
std::vector< double > | fX |
std::vector< double > | fErr |
#include <Fit/DataVector.h>
|
inlineexplicit |
specialized constructor for 1D data without errors and values
Definition at line 229 of file DataVector.h.
|
inline |
constructor for 1D data (if errors are not present a null pointer should be passed)
Definition at line 243 of file DataVector.h.
|
inline |
constructor for 2D data (if errors are not present a null pointer should be passed)
Definition at line 259 of file DataVector.h.
|
inline |
constructor for 3D data (if errors are not present a null pointer should be passed)
Definition at line 277 of file DataVector.h.
|
inline |
constructor for multi-dim data without errors
Definition at line 298 of file DataVector.h.
|
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.
|
inline |
Definition at line 323 of file DataVector.h.
|
inline |
Definition at line 341 of file DataVector.h.
|
inline |
Definition at line 357 of file DataVector.h.
|
inline |
Definition at line 348 of file DataVector.h.
Referenced by ROOT::Fit::BinData::CoordErrors(), ROOT::Fit::BinData::GetPointError(), and ROOT::Fit::BinData::LogTransform().
|
inline |
Definition at line 332 of file DataVector.h.
Referenced by ROOT::Fit::BinData::Coords(), ROOT::Fit::UnBinData::Coords(), ROOT::Fit::BinData::GetPoint(), ROOT::Fit::BinData::LogTransform(), and ROOT::Fit::UnBinData::UnBinData().
|
inline |
Definition at line 367 of file DataVector.h.
Referenced by ROOT::Fit::BinData::Error(), ROOT::Fit::BinData::GetPoint(), ROOT::Fit::BinData::GetPointError(), ROOT::Fit::BinData::InvError(), and ROOT::Fit::BinData::LogTransform().
|
inline |
Definition at line 363 of file DataVector.h.
Referenced by ROOT::Fit::BinData::GetPoint(), ROOT::Fit::BinData::LogTransform(), and ROOT::Fit::BinData::Value().
|
private |
Definition at line 379 of file DataVector.h.
Referenced by Coord(), Coords(), and DataWrapper().
|
private |
Definition at line 376 of file DataVector.h.
Referenced by CoordErrors(), and Coords().
|
mutableprivate |
Definition at line 383 of file DataVector.h.
Referenced by CoordErrors().
|
private |
Definition at line 380 of file DataVector.h.
Referenced by CoordError(), CoordErrors(), and DataWrapper().
|
private |
Definition at line 378 of file DataVector.h.
Referenced by Error().
|
private |
Definition at line 377 of file DataVector.h.
Referenced by Value().
|
mutableprivate |
Definition at line 382 of file DataVector.h.
Referenced by Coords().