ROOT  6.06/09
Reference Guide
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...
 
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)
 
 ~BinPoint ()
 Destructor (no operations) More...
 
const doubleCoords () const
 return pointer to coordinates More...
 
double Value () const
 return the value (bin height in case of an histogram) More...
 
double Error () const
 return the error on the value More...
 
double InvError () const
 return the inverse of error on the value More...
 
unsigned int NDim () const
 get the dimension (dimension of the cooordinates) More...
 
bool IsInRange (const DataRange &range) const
 check if a Point is inside the given range More...
 

Private Attributes

unsigned int fDim
 
const doublefCoords
 
const doublefCoordErr
 
double fValue
 
double fError
 
double fInvError
 

#include <Fit/BinPoint.h>

Constructor & Destructor Documentation

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

Constructor.

Definition at line 44 of file BinPoint.h.

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

Destructor (no operations)

Definition at line 86 of file BinPoint.h.

Member Function Documentation

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

return pointer to coordinates

return vector of coordinates

Definition at line 101 of file BinPoint.h.

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

return the error on the value

Definition at line 111 of file BinPoint.h.

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

return the inverse of error on the value

Definition at line 119 of file BinPoint.h.

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.

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

get the dimension (dimension of the cooordinates)

Definition at line 124 of file BinPoint.h.

Referenced by IsInRange().

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.

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

Definition at line 75 of file BinPoint.h.

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

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

Definition at line 136 of file BinPoint.h.

Referenced by Set().

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

Definition at line 135 of file BinPoint.h.

Referenced by Coords(), IsInRange(), and Set().

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

Definition at line 133 of file BinPoint.h.

Referenced by NDim().

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

Definition at line 140 of file BinPoint.h.

Referenced by Error(), and Set().

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

Definition at line 141 of file BinPoint.h.

Referenced by InvError(), and Set().

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

Definition at line 138 of file BinPoint.h.

Referenced by Set(), and Value().


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