ROOT
6.06/09
Reference Guide
|
class holding the fit data points.
It is template on the type of point, which can be for example a binned or unbinned point. It is basicaly a wrapper on an std::vector
Definition at line 134 of file DataVector.h.
Public Types | |
typedef std::vector< double > | FData |
typedef FData::const_iterator | const_iterator |
const iterator access More... | |
typedef FData::iterator | iterator |
Public Member Functions | |
DataVector (size_t n) | |
default constructor for a vector of N -data More... | |
~DataVector () | |
Destructor (no operations) More... | |
const FData & | Data () const |
const access to underlying vector More... | |
FData & | Data () |
non-const access to underlying vector (in case of insertion/deletion) and iterator More... | |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
non-const iterator access More... | |
iterator | end () |
const double & | operator[] (unsigned int i) const |
access to the point More... | |
double & | operator[] (unsigned int i) |
size_t | Size () const |
full size of data vector (npoints * point size) More... | |
Private Attributes | |
FData | fData |
#include <Fit/DataVector.h>
typedef FData::const_iterator ROOT::Fit::DataVector::const_iterator |
const iterator access
Definition at line 174 of file DataVector.h.
typedef std::vector<double> ROOT::Fit::DataVector::FData |
Definition at line 139 of file DataVector.h.
typedef FData::iterator ROOT::Fit::DataVector::iterator |
Definition at line 175 of file DataVector.h.
|
inlineexplicit |
default constructor for a vector of N -data
Definition at line 144 of file DataVector.h.
|
inline |
Destructor (no operations)
Definition at line 155 of file DataVector.h.
|
inline |
Definition at line 177 of file DataVector.h.
|
inline |
non-const iterator access
Definition at line 183 of file DataVector.h.
|
inline |
const access to underlying vector
Definition at line 163 of file DataVector.h.
Referenced by ROOT::Fit::BinData::Add(), ROOT::Fit::UnBinData::Add(), ROOT::Fit::BinData::CoordErrors(), ROOT::Fit::BinData::Coords(), ROOT::Fit::UnBinData::Coords(), ROOT::Fit::BinData::Error(), ROOT::Fit::BinData::GetPoint(), ROOT::Fit::BinData::GetPointError(), ROOT::Fit::BinData::Initialize(), ROOT::Fit::UnBinData::Initialize(), ROOT::Fit::BinData::InvError(), ROOT::Fit::BinData::LogTransform(), ROOT::Fit::UnBinData::Resize(), ROOT::Fit::BinData::Resize(), ROOT::Fit::UnBinData::UnBinData(), ROOT::Fit::BinData::Value(), and ROOT::Fit::UnBinData::Weight().
|
inline |
non-const access to underlying vector (in case of insertion/deletion) and iterator
Definition at line 168 of file DataVector.h.
|
inline |
Definition at line 178 of file DataVector.h.
|
inline |
Definition at line 184 of file DataVector.h.
|
inline |
access to the point
Definition at line 190 of file DataVector.h.
|
inline |
Definition at line 191 of file DataVector.h.
|
inline |
full size of data vector (npoints * point size)
Definition at line 197 of file DataVector.h.
Referenced by ROOT::Fit::BinData::DataSize(), ROOT::Fit::UnBinData::DataSize(), ROOT::Fit::BinData::Initialize(), ROOT::Fit::UnBinData::Initialize(), and ROOT::Fit::UnBinData::Resize().
|
private |
Definition at line 202 of file DataVector.h.
Referenced by begin(), Data(), end(), operator[](), and Size().