Logo ROOT  
Reference Guide
ROOT::Fit::Box Class Reference

Definition at line 37 of file SparseData.cxx.

Public Member Functions

 Box (const vector< double > &min, const vector< double > &max, const double value=0.0, const double error=1.0)
 
void AddVal (const double value)
 
double GetError () const
 
const vector< double > & GetMax () const
 
const vector< double > & GetMin () const
 
double GetVal () const
 
bool operator== (const Box &b)
 

Private Attributes

double fError
 
vector< doublefMax
 
vector< doublefMin
 
double fVal
 

Friends

class BoxContainer
 
ostream & operator<< (ostream &os, const Box &b)
 

Constructor & Destructor Documentation

◆ Box()

ROOT::Fit::Box::Box ( const vector< double > &  min,
const vector< double > &  max,
const double  value = 0.0,
const double  error = 1.0 
)
inline

Definition at line 42 of file SparseData.cxx.

Member Function Documentation

◆ AddVal()

void ROOT::Fit::Box::AddVal ( const double  value)
inline

Definition at line 63 of file SparseData.cxx.

◆ GetError()

double ROOT::Fit::Box::GetError ( ) const
inline

Definition at line 60 of file SparseData.cxx.

◆ GetMax()

const vector< double > & ROOT::Fit::Box::GetMax ( ) const
inline

Definition at line 56 of file SparseData.cxx.

◆ GetMin()

const vector< double > & ROOT::Fit::Box::GetMin ( ) const
inline

Definition at line 54 of file SparseData.cxx.

◆ GetVal()

double ROOT::Fit::Box::GetVal ( ) const
inline

Definition at line 58 of file SparseData.cxx.

◆ operator==()

bool ROOT::Fit::Box::operator== ( const Box b)
inline

Definition at line 49 of file SparseData.cxx.

Friends And Related Function Documentation

◆ BoxContainer

friend class BoxContainer
friend

Definition at line 65 of file SparseData.cxx.

◆ operator<<

ostream & operator<< ( ostream &  os,
const Box b 
)
friend

Definition at line 364 of file SparseData.cxx.

Member Data Documentation

◆ fError

double ROOT::Fit::Box::fError
private

Definition at line 72 of file SparseData.cxx.

◆ fMax

vector<double> ROOT::Fit::Box::fMax
private

Definition at line 70 of file SparseData.cxx.

◆ fMin

vector<double> ROOT::Fit::Box::fMin
private

Definition at line 69 of file SparseData.cxx.

◆ fVal

double ROOT::Fit::Box::fVal
private

Definition at line 71 of file SparseData.cxx.


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