ROOT logo
ROOT » MATH » MATHCORE » ROOT::Fit::SparseData

class ROOT::Fit::SparseData: public ROOT::Fit::FitData

Function Members (Methods)

public:
virtual~SparseData()
voidAdd(vector<double>& min, vector<double>& max, const double content, const double error = 1.0)
ROOT::Fit::FitDataROOT::Fit::FitData::FitData()
ROOT::Fit::FitDataROOT::Fit::FitData::FitData(const ROOT::Fit::DataOptions& opt)
ROOT::Fit::FitDataROOT::Fit::FitData::FitData(const ROOT::Fit::DataRange& range)
ROOT::Fit::FitDataROOT::Fit::FitData::FitData(const ROOT::Fit::FitData&)
ROOT::Fit::FitDataROOT::Fit::FitData::FitData(const ROOT::Fit::DataOptions& opt, const ROOT::Fit::DataRange& range)
voidGetBinData(ROOT::Fit::BinData&) const
voidGetBinDataIntegral(ROOT::Fit::BinData&) const
voidGetBinDataNoZeros(ROOT::Fit::BinData&) const
voidGetPoint(const unsigned int i, vector<double>& min, vector<double>& max, double& content, double& error)
static unsigned intROOT::Fit::FitData::MaxSize()
unsigned intNDim() const
unsigned intNPoints() const
ROOT::Fit::SparseData&operator=(const ROOT::Fit::SparseData&)
const ROOT::Fit::DataOptions&ROOT::Fit::FitData::Opt() const
ROOT::Fit::DataOptions&ROOT::Fit::FitData::Opt()
voidPrintList() const
const ROOT::Fit::DataRange&ROOT::Fit::FitData::Range() const
ROOT::Fit::SparseDataSparseData(const ROOT::Fit::SparseData&)
ROOT::Fit::SparseDataSparseData(vector<double>& min, vector<double>& max)
ROOT::Fit::SparseDataSparseData(const unsigned int dim, double* min, double* max)

Data Members

private:
ROOT::Fit::ProxyListBox*fList

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

SparseData(vector<double>& min, vector<double>& max)
Constructor with a vector
SparseData(const unsigned int dim, double* min, double* max)
Constructor with a dimension and two arrays
~SparseData()
Destructor
unsigned int NPoints() const
Returns the number of points stored
unsigned int NDim() const
Returns the dimension of the object (bins)
void Add(vector<double>& min, vector<double>& max, const double content, const double error = 1.0)
 Adds a new bin specified by the vectors
void PrintList() const
 Debug method to print the list of bins stored
void GetBinData(ROOT::Fit::BinData& ) const
 Transforms the data into a ROOT::Fit::BinData structure
void GetBinDataIntegral(ROOT::Fit::BinData& ) const
 Same as before, but with integral format
void GetBinDataNoZeros(ROOT::Fit::BinData& ) const
 Same as before, but including zero content bins