ThePEG 2.3.0
|
DataFiller is a helper class to facilitate adding data to a DataPointSet. More...
#include <FactoryBase.h>
Public Member Functions | |
DataFiller (AIDA::IDataPointSet *dps) | |
The standard constructor needs a IDataPointSet as argument. | |
DataFiller (const DataFiller &df) | |
Copy constructor. | |
~DataFiller () | |
Destructor. | |
DataFiller & | operator<< (double x) |
Add a number to measurement currently being read. | |
operator AIDA::IDataPointSet * () | |
Automatic conversion to the underlying IDataPointSet. | |
Private Attributes | |
AIDA::IDataPointSet * | dset |
The underlying IDataPointSet. | |
deque< double > | v |
The collected numbers to be committed to the IDataPointSet. | |
DataFiller is a helper class to facilitate adding data to a DataPointSet.
For a D-dimensional DataPointSet N*3*D numbers should be added with the standard << operator ordered as x-value, x-upper-error, x-lower-error, y-value, y-upper-error, etc.. Only when the DataFIller object is detleted will the points be added.
Definition at line 90 of file FactoryBase.h.
|
inline |
The standard constructor needs a IDataPointSet as argument.
Definition at line 97 of file FactoryBase.h.
|
inline |
Copy constructor.
Definition at line 102 of file FactoryBase.h.
ThePEG::FactoryBase::DataFiller::~DataFiller | ( | ) |
Destructor.
Will commit the pints filled to the underlying IDataPointSet.
|
inline |
Automatic conversion to the underlying IDataPointSet.
Definition at line 121 of file FactoryBase.h.
References dset.
|
inline |
Add a number to measurement currently being read.
Definition at line 113 of file FactoryBase.h.
References v.
|
private |
The underlying IDataPointSet.
Definition at line 128 of file FactoryBase.h.
Referenced by operator AIDA::IDataPointSet *().
|
private |
The collected numbers to be committed to the IDataPointSet.
Definition at line 133 of file FactoryBase.h.
Referenced by operator<<().