ThePEG::FactoryBase::DataFiller Class Reference

DataFiller is a helper class to facilitate adding data to a DataPointSet. More...

#include <FactoryBase.h>

List of all members.

Public Member Functions

 DataFiller (AIDA::IDataPointSet *dps)
 The standard constructor needs a IDataPointSet as argument.
 DataFiller (const DataFiller &df)
 Copy constructor.
 ~DataFiller ()
 Destructor.
DataFilleroperator<< (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.


Detailed Description

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 81 of file FactoryBase.h.


Constructor & Destructor Documentation

ThePEG::FactoryBase::DataFiller::~DataFiller (  ) 

Destructor.

Will commit the pints filled to the underlying IDataPointSet.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:42:57 2010 for ThePEG by  doxygen 1.5.5