thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::FactoryBase::DataFiller Class Reference

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

Constructor & Destructor Documentation

◆ ~DataFiller()

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: