|
ThePEG
1.8.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. More... | |
| 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.
| ThePEG::FactoryBase::DataFiller::~DataFiller | ( | ) |
Destructor.
Will commit the pints filled to the underlying IDataPointSet.
1.8.9.1