2 #ifndef AIDA_IDATAPOINTSETROOT_H
3 #define AIDA_IDATAPOINTSETROOT_H 1
8 #include <AIDA/IDataPointSet.h>
38 virtual const IAnnotation &
annotation()
const;
45 virtual std::string
title()
const ;
67 virtual void clear() ;
75 virtual int size()
const ;
83 virtual IDataPoint *
point(
int index) ;
98 const std::vector<double> & val,
99 const std::vector<double> & err) ;
115 const std::vector<double> & val,
116 const std::vector<double> & errp,
117 const std::vector<double> & errm) ;
119 virtual const IDataPoint *
point(
int index)
const ;
170 virtual bool scale(
double scaleFactor) ;
195 virtual void *
cast(
const std::string & className)
const ;
virtual bool removePoint(int index)
Remove the IDataPoint at a given index.
Definition: IDataPointSetROOT.cc:78
virtual int dimension() const
Get the dimension of the IDataPoints that can be stored in the set.
Definition: IDataPointSetROOT.cc:29
virtual ~IDataPointSetROOT()
Destructor.
Definition: IDataPointSetROOT.h:27
virtual bool setCoordinate(int coord, const std::vector< double > &val, const std::vector< double > &err)
Set the values and errors of a given coordinate all at once.
Definition: IDataPointSetROOT.cc:48
virtual bool scale(double scaleFactor)
Scales the values and the errors of all the measurements of each point by a given factor...
Definition: IDataPointSetROOT.cc:93
virtual bool scaleValues(double scaleFactor)
Scales the values of all the measurements of each point by a given factor.
Definition: IDataPointSetROOT.cc:98
virtual int size() const
Get the current size of the IDataPointSet, i.e.
Definition: IDataPointSetROOT.cc:38
virtual IAnnotation & annotation()
Get the IAnnotation of the IDataPointSet.
Definition: IDataPointSetROOT.cc:9
virtual void * cast(const std::string &className) const
See IManagedObject for a description.
Definition: IDataPointSetROOT.cc:108
virtual IDataPoint * addPoint()
Add a new empty IDataPoint at the end of the set.
Definition: IDataPointSetROOT.cc:68
Basic user-level interface class for holding and managing a single set of "data points".
Definition: IDataPointSetROOT.h:23
Basic user-level interface class for holding and managing a single set of "data points".
Definition: IDataPointSet.h:31
virtual void clear()
Remove all the IDataPoints in the set.
Definition: IDataPointSetROOT.cc:34
virtual double lowerExtent(int coord) const
Get the lower value for a give axis.
Definition: IDataPointSetROOT.cc:83
virtual bool scaleErrors(double scaleFactor)
Scales the errors of all the measurements of each point by a given factor.
Definition: IDataPointSetROOT.cc:103
virtual double upperExtent(int coord) const
Get the upper value for a give axis.
Definition: IDataPointSetROOT.cc:88
virtual bool setTitle(const std::string &title)
Set the title of the IDataPointSet.
Definition: IDataPointSetROOT.cc:24
virtual std::string title() const
Get the title of the IDataPointSet.
Definition: IDataPointSetROOT.cc:19
virtual IDataPoint * point(int index)
Get the IDataPoint at a give index in the set.
Definition: IDataPointSetROOT.cc:43