hippodraw::DataPoint2DTuple Namespace Reference

A namespace to set the standard for indexing into 2 dimension data point tuple. More...


Enumerations

enum  column {
  X, Y, XERR, YERR,
  SIZE = 4
}
 The column indices for 2 dimension data point tuple. More...

Functions

std::string ERROR ("Error")
std::string WIDTH ("Width")

Variables

std::string ERROR
 YERR column label.
std::string WIDTH
 XERR column label.


Detailed Description

A namespace to set the standard for indexing into 2 dimension data point tuple.

This namespace sets the standard to indexing into columns of an DataSource representing 2 dimensional data points. Each row of the DataSource is data point with it attribute represented in columns. The enumeration specified in the namespace gives the column indices.

Note:
In the case that the tuple is being filled from the contents of a histogram, the Y coordinate should be the contents of the bin divided by the bin width and the YERR should be half the bin width.


Enumeration Type Documentation

enum column

The column indices for 2 dimension data point tuple.

Enumerator:
X  X coordinate.
Y  Y coordinate.
XERR  error on X or half bin width
YERR  error on Y
SIZE  number of columns

Definition at line 38 of file DataPointTuple.h.


Function Documentation

std::string hippodraw::DataPoint2DTuple::ERROR ( "Error"   ) 

std::string hippodraw::DataPoint2DTuple::WIDTH ( "Width"   ) 


Variable Documentation

std::string ERROR

YERR column label.

std::string WIDTH

XERR column label.


Generated for HippoDraw Class Library by doxygen