ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Private Attributes | List of all members
ROOT::Fit::DataVector Class Reference

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< doubleFData
 
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 FDataData () const
 const access to underlying vector More...
 
FDataData ()
 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 doubleoperator[] (unsigned int i) const
 access to the point More...
 
doubleoperator[] (unsigned int i)
 
size_t Size () const
 full size of data vector (npoints * point size) More...
 

Private Attributes

FData fData
 

#include <Fit/DataVector.h>

+ Collaboration diagram for ROOT::Fit::DataVector:

Member Typedef Documentation

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.

Constructor & Destructor Documentation

ROOT::Fit::DataVector::DataVector ( size_t  n)
inlineexplicit

default constructor for a vector of N -data

Definition at line 144 of file DataVector.h.

ROOT::Fit::DataVector::~DataVector ( )
inline

Destructor (no operations)

Definition at line 155 of file DataVector.h.

Member Function Documentation

const_iterator ROOT::Fit::DataVector::begin ( ) const
inline

Definition at line 177 of file DataVector.h.

iterator ROOT::Fit::DataVector::begin ( )
inline

non-const iterator access

Definition at line 183 of file DataVector.h.

const FData& ROOT::Fit::DataVector::Data ( ) const
inline
FData& ROOT::Fit::DataVector::Data ( )
inline

non-const access to underlying vector (in case of insertion/deletion) and iterator

Definition at line 168 of file DataVector.h.

const_iterator ROOT::Fit::DataVector::end ( ) const
inline

Definition at line 178 of file DataVector.h.

iterator ROOT::Fit::DataVector::end ( )
inline

Definition at line 184 of file DataVector.h.

const double& ROOT::Fit::DataVector::operator[] ( unsigned int  i) const
inline

access to the point

Definition at line 190 of file DataVector.h.

double& ROOT::Fit::DataVector::operator[] ( unsigned int  i)
inline

Definition at line 191 of file DataVector.h.

size_t ROOT::Fit::DataVector::Size ( ) const
inline

Member Data Documentation

FData ROOT::Fit::DataVector::fData
private

Definition at line 202 of file DataVector.h.

Referenced by begin(), Data(), end(), operator[](), and Size().


The documentation for this class was generated from the following file: