Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Fit::Box Class Reference

Definition at line 36 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 41 of file SparseData.cxx.

Member Function Documentation

◆ AddVal()

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

Definition at line 62 of file SparseData.cxx.

◆ GetError()

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

Definition at line 59 of file SparseData.cxx.

◆ GetMax()

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

Definition at line 55 of file SparseData.cxx.

◆ GetMin()

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

Definition at line 53 of file SparseData.cxx.

◆ GetVal()

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

Definition at line 57 of file SparseData.cxx.

◆ operator==()

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

Definition at line 48 of file SparseData.cxx.

Friends And Related Symbol Documentation

◆ BoxContainer

friend class BoxContainer
friend

Definition at line 64 of file SparseData.cxx.

◆ operator<<

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

Definition at line 374 of file SparseData.cxx.

Member Data Documentation

◆ fError

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

Definition at line 71 of file SparseData.cxx.

◆ fMax

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

Definition at line 69 of file SparseData.cxx.

◆ fMin

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

Definition at line 68 of file SparseData.cxx.

◆ fVal

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

Definition at line 70 of file SparseData.cxx.

  • math/mathcore/src/SparseData.cxx