RAIDA
1.9.0
|
Basic user-level interface class for holding and managing a single set of "data points". More...
#include <IDataPointSet.h>
Public Member Functions | |
virtual | ~IDataPointSet () |
Destructor. | |
virtual IAnnotation & | annotation ()=0 |
Get the IAnnotation of the IDataPointSet. More... | |
virtual const IAnnotation & | annotation () const =0 |
virtual std::string | title () const =0 |
Get the title of the IDataPointSet. More... | |
virtual bool | setTitle (const std::string &title)=0 |
Set the title of the IDataPointSet. More... | |
virtual int | dimension () const =0 |
Get the dimension of the IDataPoints that can be stored in the set. More... | |
virtual void | clear ()=0 |
Remove all the IDataPoints in the set. More... | |
virtual int | size () const =0 |
Get the current size of the IDataPointSet, i.e. More... | |
virtual IDataPoint * | point (int index)=0 |
Get the IDataPoint at a give index in the set. More... | |
virtual bool | setCoordinate (int coord, const std::vector< double > &val, const std::vector< double > &err)=0 |
Set the values and errors of a given coordinate all at once. More... | |
virtual bool | setCoordinate (int coord, const std::vector< double > &val, const std::vector< double > &errp, const std::vector< double > &errm)=0 |
Set the values and errors of a given coordinate all at once. More... | |
virtual const IDataPoint * | point (int index) const =0 |
virtual IDataPoint * | addPoint ()=0 |
Add a new empty IDataPoint at the end of the set. More... | |
virtual bool | addPoint (const IDataPoint &point)=0 |
Add a copy of an IDataPoint at the end of the set. More... | |
virtual bool | removePoint (int index)=0 |
Remove the IDataPoint at a given index. More... | |
virtual double | lowerExtent (int coord) const =0 |
Get the lower value for a give axis. More... | |
virtual double | upperExtent (int coord) const =0 |
Get the upper value for a give axis. More... | |
virtual bool | scale (double scaleFactor)=0 |
Scales the values and the errors of all the measurements of each point by a given factor. More... | |
virtual bool | scaleValues (double scaleFactor)=0 |
Scales the values of all the measurements of each point by a given factor. More... | |
virtual bool | scaleErrors (double scaleFactor)=0 |
Scales the errors of all the measurements of each point by a given factor. More... | |
virtual void * | cast (const std::string &className) const =0 |
See IManagedObject for a description. More... | |
Basic user-level interface class for holding and managing a single set of "data points".
|
pure virtual |
Add a new empty IDataPoint at the end of the set.
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Add a copy of an IDataPoint at the end of the set.
point | The IDataPoint to be added. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Get the IAnnotation of the IDataPointSet.
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
See IManagedObject for a description.
className | The name of the class to cast on. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Remove all the IDataPoints in the set.
After this the IDataPointSet is as just created.
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Get the dimension of the IDataPoints that can be stored in the set.
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Get the lower value for a give axis.
coord | The coordinate of the axis. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Get the IDataPoint at a give index in the set.
index | The IDataPoint index. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Remove the IDataPoint at a given index.
index | The index of the IDataPoint to be removed. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Scales the values and the errors of all the measurements of each point by a given factor.
scaleFactor | The scale factor. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Scales the errors of all the measurements of each point by a given factor.
scaleFactor | The scale factor. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Scales the values of all the measurements of each point by a given factor.
scaleFactor | The scale factor. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Set the values and errors of a given coordinate all at once.
If this method is called on an empty IDataPointSet, a number of points equal to the size of the arrays provided is created; if the IDataPointSet is not empty the dimension of the array must match with the size of the IDataPointSet.
coord | The coordinate's index |
val | The array of the values for the given coordinate |
err | The array with the symmetric errors. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Set the values and errors of a given coordinate all at once.
If this method is called on an empty IDataPointSet, a number of points equal to the size of the arrays provided is created; if the IDataPointSet is not empty the dimension of the array must match with the size of the IDataPointSet.
coord | The coordinate's index |
val | The array of the values for the given coordinate |
errp | The array with the plus errors. |
errm | The array with the minus errors. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Set the title of the IDataPointSet.
title | The new title. |
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
Get the current size of the IDataPointSet, i.e.
the number of IDataPoints contained in the set.
Implemented in AIDA::IDataPointSetROOT.
|
pure virtual |
|
pure virtual |
Get the upper value for a give axis.
coord | The coordinate of the axis. |
Implemented in AIDA::IDataPointSetROOT.