Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Fit::BinPoint Class Reference

Obsolete class, no more in use.

class describing the point with bins ( x coordinates, y and error on y ) but not error in X . For the Error in x one should use onother class

Definition at line 33 of file BinPoint.h.

Public Member Functions

 BinPoint (unsigned int n=1)
 Constructor. More...
 
 ~BinPoint ()
 Destructor (no operations) More...
 
const double * Coords () const
 return pointer to coordinates More...
 
double Error () const
 return the error on the value More...
 
double InvError () const
 return the inverse of error on the value More...
 
bool IsInRange (const DataRange &range) const
 check if a Point is inside the given range More...
 
unsigned int NDim () const
 get the dimension (dimension of the cooordinates) More...
 
void Set (const double *x, double value, double invErr)
 constructor from a vector of coordinates, y value and y error More...
 
void Set (const double *x, double value, const double *ex, double err)
 
double Value () const
 return the value (bin height in case of an histogram) More...
 

Private Attributes

const double * fCoordErr
 
const double * fCoords
 
unsigned int fDim
 
double fError
 
double fInvError
 
double fValue
 

#include <Fit/BinPoint.h>

Constructor & Destructor Documentation

◆ BinPoint()

ROOT::Fit::BinPoint::BinPoint ( unsigned int  n = 1)
inlineexplicit

Constructor.

Definition at line 44 of file BinPoint.h.

◆ ~BinPoint()

ROOT::Fit::BinPoint::~BinPoint ( )
inline

Destructor (no operations)

Definition at line 86 of file BinPoint.h.

Member Function Documentation

◆ Coords()

const double* ROOT::Fit::BinPoint::Coords ( ) const
inline

return pointer to coordinates

return vector of coordinates

Definition at line 101 of file BinPoint.h.

◆ Error()

double ROOT::Fit::BinPoint::Error ( ) const
inline

return the error on the value

Definition at line 111 of file BinPoint.h.

◆ InvError()

double ROOT::Fit::BinPoint::InvError ( ) const
inline

return the inverse of error on the value

Definition at line 119 of file BinPoint.h.

◆ IsInRange()

bool ROOT::Fit::BinPoint::IsInRange ( const DataRange range) const

check if a Point is inside the given range

Definition at line 23 of file BinPoint.cxx.

◆ NDim()

unsigned int ROOT::Fit::BinPoint::NDim ( ) const
inline

get the dimension (dimension of the cooordinates)

Definition at line 124 of file BinPoint.h.

◆ Set() [1/2]

void ROOT::Fit::BinPoint::Set ( const double *  x,
double  value,
double  invErr 
)
inline

constructor from a vector of coordinates, y value and y error

Definition at line 69 of file BinPoint.h.

◆ Set() [2/2]

void ROOT::Fit::BinPoint::Set ( const double *  x,
double  value,
const double *  ex,
double  err 
)
inline

Definition at line 75 of file BinPoint.h.

◆ Value()

double ROOT::Fit::BinPoint::Value ( ) const
inline

return the value (bin height in case of an histogram)

Definition at line 106 of file BinPoint.h.

Member Data Documentation

◆ fCoordErr

const double* ROOT::Fit::BinPoint::fCoordErr
private

Definition at line 136 of file BinPoint.h.

◆ fCoords

const double* ROOT::Fit::BinPoint::fCoords
private

Definition at line 135 of file BinPoint.h.

◆ fDim

unsigned int ROOT::Fit::BinPoint::fDim
private

Definition at line 133 of file BinPoint.h.

◆ fError

double ROOT::Fit::BinPoint::fError
private

Definition at line 140 of file BinPoint.h.

◆ fInvError

double ROOT::Fit::BinPoint::fInvError
private

Definition at line 141 of file BinPoint.h.

◆ fValue

double ROOT::Fit::BinPoint::fValue
private

Definition at line 138 of file BinPoint.h.


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