|
ThePEG
1.8.0
|
An DataPoint represents a binned histogram axis. More...
#include <DataPoint.h>

Public Member Functions | |
| DataPoint (int dim=2) | |
| Construct a data point with a given number of dimensions. | |
| DataPoint (const DataPoint &d) | |
| Copy constructor. | |
| DataPoint (const IDataPoint &id) | |
| Copy from any IDataPoint. | |
| virtual | ~DataPoint () |
| Destructor. | |
| int | dimension () const |
| Get the dimension of the IDataPoint, i.e. More... | |
| IMeasurement * | coordinate (int coord) |
| Get the IMeasurement for a given coordinate. More... | |
| const IMeasurement * | coordinate (int coord) const |
| Get the IMeasurement for a given coordinate. More... | |
Private Attributes | |
| std::vector< Measurement > | m |
| The included measurements. | |
An DataPoint represents a binned histogram axis.
A 1D Histogram would have one DataPoint representing the X axis, while a 2D Histogram would have two axes representing the X and Y DataPoint.
Definition at line 31 of file DataPoint.h.
|
inline |
Get the IMeasurement for a given coordinate.
| coord | The coordinate. |
Definition at line 77 of file DataPoint.h.
|
inline |
Get the IMeasurement for a given coordinate.
| coord | The coordinate. |
Definition at line 86 of file DataPoint.h.
|
inline |
Get the dimension of the IDataPoint, i.e.
the number of coordinates the point has.
Definition at line 68 of file DataPoint.h.
1.8.9.1