RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::ITuple Class Referenceabstract

User level interface to a Tuple. More...

#include <ITuple.h>

Inheritance diagram for AIDA::ITuple:
AIDA::ITupleROOT

Public Member Functions

virtual ~ITuple ()
 Destructor.
 
virtual std::string title () const =0
 Get the title of this ITuple. More...
 
virtual bool setTitle (const std::string &title)=0
 Set the title of the ITuple. More...
 
virtual bool fill (int column, double value)=0
 Get the IAnnotation corresponding to this ITuple. More...
 
virtual bool fill (int column, float value)=0
 Fill a given column with a float. More...
 
virtual bool fill (int column, int value)=0
 Fill a given column with an integer. More...
 
virtual bool fill (int column, short value)=0
 Fill a given column with a short. More...
 
virtual bool fill (int column, long value)=0
 Fill a given column with a long. More...
 
virtual bool fill (int column, char value)=0
 Fill a given column with a char. More...
 
virtual bool fill (int column, bool value)=0
 Fill a given column with a boolean. More...
 
virtual bool fill (const std::vector< double > &values)=0
 Fill a given column with a string. More...
 
virtual bool fill (const std::vector< float > &values)=0
 Fill all the columns at once with floats. More...
 
virtual bool addRow ()=0
 Add the current row to the ITuple. More...
 
virtual void resetRow ()=0
 Clear the current(not yet added) row.
 
virtual void reset ()=0
 Reset the ITuple. More...
 
virtual int rows () const =0
 Get the number of rows currently filled in the ITuple. More...
 
virtual void start ()=0
 Positions the read cursor immediately before the first row.
 
virtual bool skip (int rows)=0
 Skips a given number of rows. More...
 
virtual bool next ()=0
 Positions the cursor at the next row. More...
 
virtual bool setRow (int rowIndex)=0
 Position the cursor at a give row. More...
 
virtual int findColumn (const std::string &name) const =0
 Get the index within the ITuple of a given column. More...
 
virtual double getDouble (int column) const =0
 Get the double stored in a given column at the current cursor's position. More...
 
virtual float getFloat (int column) const =0
 Get the float stored in a given column at the current cursor's position. More...
 
virtual int getInt (int column) const =0
 Get the integer stored in a given column at the current cursor's position. More...
 
virtual short getShort (int column) const =0
 Get the short stored in a given column at the current cursor's position. More...
 
virtual long getLong (int column) const =0
 Get the long stored in a given column at the current cursor's position. More...
 
virtual char getChar (int column) const =0
 Get the character stored in a given column at the current cursor's position. More...
 
virtual bool getBoolean (int column) const =0
 Get the boolean stored in a given column at the current cursor's position. More...
 
virtual int columns () const =0
 Get the string stored in a given column at the current cursor's position. More...
 
virtual std::string columnName (int column) const =0
 Get the name of a column from its index. More...
 
virtual std::vector< std::string > columnNames () const =0
 Get the names of all the columns. More...
 
virtual std::string columnType (int column) const =0
 Get the type of a give column. More...
 
virtual std::vector< std::string > columnTypes () const =0
 Get the types of all the columns. More...
 
virtual double columnMin (int column) const =0
 Get the minimum value of a given column (if it can be converted to a double). More...
 
virtual double columnMax (int column) const =0
 Get the maximum value of a given column (if it can be converted to a double). More...
 
virtual double columnMean (int column) const =0
 Get the mean value of a given column (if it can be converted to a double). More...
 
virtual double columnRms (int column) const =0
 Get the RMS of a given column (if it can be converted to a double). More...
 
virtual bool project (IHistogram1D &histogram, IEvaluator &evaluatorX)=0
 Fill an IHistogram1D from the tuple. More...
 
virtual bool project (IHistogram1D &histogram, IEvaluator &evaluatorX, IFilter &filter)=0
 Fill an IHistogram1D from the tuple. More...
 
virtual bool project (IHistogram1D &histogram, IEvaluator &evaluatorX, IEvaluator &weight)=0
 Fill an IHistogram1D from the tuple. More...
 
virtual bool project (IHistogram1D &histogram, IEvaluator &evaluatorX, IFilter &filter, IEvaluator &weight)=0
 Fill an IHistogram1D from the tuple. More...
 
virtual bool project (IHistogram2D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY)=0
 Fill an IHistogram2D from the tuple. More...
 
virtual bool project (IHistogram2D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter)=0
 Fill an IHistogram2D from the tuple. More...
 
virtual bool project (IHistogram2D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &weight)=0
 Fill an IHistogram2D from the tuple. More...
 
virtual bool project (IHistogram2D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter, IEvaluator &weight)=0
 Fill an IHistogram2D from the tuple. More...
 
virtual bool project (IHistogram3D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ)=0
 Fill an IHistogram3D from the tuple. More...
 
virtual bool project (IHistogram3D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter)=0
 Fill an IHistogram3D from the tuple. More...
 
virtual bool project (IHistogram3D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IEvaluator &weight)=0
 Fill an IHistogram3D from the tuple. More...
 
virtual bool project (IHistogram3D &histogram, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter, IEvaluator &weight)=0
 Fill an IHistogram3D from the tuple. More...
 
virtual bool project (ICloud1D &cloud, IEvaluator &evaluatorX)=0
 Fill an ICloud1D from the tuple. More...
 
virtual bool project (ICloud1D &cloud, IEvaluator &evaluatorX, IFilter &filter)=0
 Fill an ICloud1D from the tuple. More...
 
virtual bool project (ICloud1D &cloud, IEvaluator &evaluatorX, IEvaluator &weight)=0
 Fill an ICloud1D from the tuple. More...
 
virtual bool project (ICloud1D &cloud, IEvaluator &evaluatorX, IFilter &filter, IEvaluator &weight)=0
 Fill an ICloud1D from the tuple. More...
 
virtual bool project (ICloud2D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY)=0
 Fill an ICloud2D from the tuple. More...
 
virtual bool project (ICloud2D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter)=0
 Fill an ICloud2D from the tuple. More...
 
virtual bool project (ICloud2D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &weight)=0
 Fill an ICloud2D from the tuple. More...
 
virtual bool project (ICloud2D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter, IEvaluator &weight)=0
 Fill an ICloud2D from the tuple. More...
 
virtual bool project (ICloud3D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ)=0
 Fill an ICloud3D from the tuple. More...
 
virtual bool project (ICloud3D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter)=0
 Fill an ICloud3D from the tuple. More...
 
virtual bool project (ICloud3D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IEvaluator &weight)=0
 Fill an ICloud3D from the tuple. More...
 
virtual bool project (ICloud3D &cloud, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter, IEvaluator &weight)=0
 Fill an ICloud3D from the tuple. More...
 
virtual bool project (IProfile1D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY)=0
 Fill an IProfile1D from the tuple. More...
 
virtual bool project (IProfile1D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter)=0
 Fill an IProfile1D from the tuple. More...
 
virtual bool project (IProfile1D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &weight)=0
 Fill an IProfile1D from the tuple. More...
 
virtual bool project (IProfile1D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IFilter &filter, IEvaluator &weight)=0
 Fill an IProfile1D from the tuple. More...
 
virtual bool project (IProfile2D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ)=0
 Fill an IProfile2D from the tuple. More...
 
virtual bool project (IProfile2D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter)=0
 Fill an IProfile2D from the tuple. More...
 
virtual bool project (IProfile2D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IEvaluator &weight)=0
 Fill an IProfile2D from the tuple. More...
 
virtual bool project (IProfile2D &profile, IEvaluator &evaluatorX, IEvaluator &evaluatorY, IEvaluator &evaluatorZ, IFilter &filter, IEvaluator &weight)=0
 Fill an IProfile2D from the tuple. More...
 

Detailed Description

User level interface to a Tuple.

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual bool AIDA::ITuple::addRow ( )
pure virtual

Add the current row to the ITuple.

This method should be called after fill has been called for the columns; unfilled columns will be filled with their default value.

Returns
false When the ITuple runs out of storage space.

Implemented in AIDA::ITupleROOT.

virtual double AIDA::ITuple::columnMax ( int  column) const
pure virtual

Get the maximum value of a given column (if it can be converted to a double).

Parameters
columnThe column's index.
Returns
The column's maximum value. In Java Double.NaN might be returned.

Implemented in AIDA::ITupleROOT.

virtual double AIDA::ITuple::columnMean ( int  column) const
pure virtual

Get the mean value of a given column (if it can be converted to a double).

Parameters
columnThe column's index.
Returns
The column's mean value. In Java Double.NaN might be returned.

Implemented in AIDA::ITupleROOT.

virtual double AIDA::ITuple::columnMin ( int  column) const
pure virtual

Get the minimum value of a given column (if it can be converted to a double).

Parameters
columnThe column's index.
Returns
The column's minimum value. In Java Double.NaN might be returned.

Implemented in AIDA::ITupleROOT.

virtual std::string AIDA::ITuple::columnName ( int  column) const
pure virtual

Get the name of a column from its index.

Parameters
columnThe column's index.
Returns
The column's name.

Implemented in AIDA::ITupleROOT.

virtual std::vector<std::string> AIDA::ITuple::columnNames ( ) const
pure virtual

Get the names of all the columns.

Returns
The column names.

Implemented in AIDA::ITupleROOT.

virtual double AIDA::ITuple::columnRms ( int  column) const
pure virtual

Get the RMS of a given column (if it can be converted to a double).

Parameters
columnThe column's index.
Returns
The column's RMS. In Java Double.NaN might be returned.

Implemented in AIDA::ITupleROOT.

virtual int AIDA::ITuple::columns ( ) const
pure virtual

Get the string stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The string.virtual std::string getString(int column) const = 0; Get the object stored in a given column at the current cursor's position.
Parameters
columnThe column's index within the ITuple.
Returns
The object.virtual const ITupleEntry * getObject(int column) const = 0; Return method for tuple variables of type ITuple for a given column. This method can be used in order to fill a tuple variable in the master tuple.
Parameters
columnThe column's index.
Returns
The ITuple representing the structure of this column.virtual const ITuple * getTuple(int column) const = 0; virtual ITuple * getTuple(int column) = 0; Get the number of columns in the ITuple
The number of columns.

Implemented in AIDA::ITupleROOT.

virtual std::string AIDA::ITuple::columnType ( int  column) const
pure virtual

Get the type of a give column.

Parameters
columnThe column's type.
Returns
The column's Class.

Implemented in AIDA::ITupleROOT.

virtual std::vector<std::string> AIDA::ITuple::columnTypes ( ) const
pure virtual

Get the types of all the columns.

Returns
The column Classes.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
double  value 
)
pure virtual

Get the IAnnotation corresponding to this ITuple.

Returns
The ITuple's IAnnotation.virtual IAnnotation & annotation() = 0; virtual const IAnnotation & annotation() const = 0; Fill a given column with a double.
Parameters
columnThe column's index within the ITuple.
valueThe double.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
float  value 
)
pure virtual

Fill a given column with a float.

Parameters
columnThe column's index within the ITuple.
valueThe float.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
int  value 
)
pure virtual

Fill a given column with an integer.

Parameters
columnThe column's index within the ITuple.
valueThe integer.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
short  value 
)
pure virtual

Fill a given column with a short.

Parameters
columnThe column's index within the ITuple.
valueThe short.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
long  value 
)
pure virtual

Fill a given column with a long.

Parameters
columnThe column's index within the ITuple.
valueThe long.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
char  value 
)
pure virtual

Fill a given column with a char.

Parameters
columnThe column's index within the ITuple.
valueThe char.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( int  column,
bool  value 
)
pure virtual

Fill a given column with a boolean.

Parameters
columnThe column's index within the ITuple.
valueThe boolean.
Returns
false If the column is of the wrong type.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( const std::vector< double > &  values)
pure virtual

Fill a given column with a string.

Parameters
columnThe column's index within the ITuple.
valueThe string.
Returns
false If the column is of the wrong type.virtual bool fill(int column, const std::string & value) = 0; Fill a given column with an object.
Parameters
columnThe column's index within the ITuple.
valueThe object.
Returns
false If the column is of the wrong type.virtual bool fill(int column, const ITupleEntry & value) = 0; Fill all the columns at once with doubles.
Parameters
valuesThe array of doubles.
Returns
false If any column is not of type double or if the array has the wrong dimension.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::fill ( const std::vector< float > &  values)
pure virtual

Fill all the columns at once with floats.

Parameters
valuesThe array of floats.
Returns
false If any column is not of type float or if the array has the wrong dimension.

Implemented in AIDA::ITupleROOT.

virtual int AIDA::ITuple::findColumn ( const std::string &  name) const
pure virtual

Get the index within the ITuple of a given column.

Parameters
nameThe colum's name.
Returns
The corresponding column's index. Note: in C++ -1 may be returned if the column does not exist.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::getBoolean ( int  column) const
pure virtual

Get the boolean stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The boolean.

Implemented in AIDA::ITupleROOT.

virtual char AIDA::ITuple::getChar ( int  column) const
pure virtual

Get the character stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The character.

Implemented in AIDA::ITupleROOT.

virtual double AIDA::ITuple::getDouble ( int  column) const
pure virtual

Get the double stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The double.

Implemented in AIDA::ITupleROOT.

virtual float AIDA::ITuple::getFloat ( int  column) const
pure virtual

Get the float stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The float.

Implemented in AIDA::ITupleROOT.

virtual int AIDA::ITuple::getInt ( int  column) const
pure virtual

Get the integer stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The integer.

Implemented in AIDA::ITupleROOT.

virtual long AIDA::ITuple::getLong ( int  column) const
pure virtual

Get the long stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The long.

Implemented in AIDA::ITupleROOT.

virtual short AIDA::ITuple::getShort ( int  column) const
pure virtual

Get the short stored in a given column at the current cursor's position.

Parameters
columnThe column's index within the ITuple.
Returns
The short.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::next ( )
pure virtual

Positions the cursor at the next row.

Returns
false if there is no next row.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram1D histogram,
IEvaluator evaluatorX 
)
pure virtual

Fill an IHistogram1D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IFilter filter 
)
pure virtual

Fill an IHistogram1D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IEvaluator weight 
)
pure virtual

Fill an IHistogram1D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an IHistogram1D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
pure virtual

Fill an IHistogram2D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
pure virtual

Fill an IHistogram2D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
pure virtual

Fill an IHistogram2D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an IHistogram2D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
pure virtual

Fill an IHistogram3D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the histogram along the z axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
pure virtual

Fill an IHistogram3D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the histogram along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
pure virtual

Fill an IHistogram3D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the histogram along the z axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an IHistogram3D from the tuple.

Parameters
histogramThe histogram to fill.
evaluatorXThe evaluator used to compute the value to be filled in the histogram along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the histogram along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the histogram along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the histogram is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud1D cloud,
IEvaluator evaluatorX 
)
pure virtual

Fill an ICloud1D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IFilter filter 
)
pure virtual

Fill an ICloud1D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IEvaluator weight 
)
pure virtual

Fill an ICloud1D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an ICloud1D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
pure virtual

Fill an ICloud2D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
pure virtual

Fill an ICloud2D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
pure virtual

Fill an ICloud2D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an ICloud2D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
pure virtual

Fill an ICloud3D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the cloud along the z axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
pure virtual

Fill an ICloud3D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the cloud along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
pure virtual

Fill an ICloud3D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the cloud along the z axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an ICloud3D from the tuple.

Parameters
cloudThe cloud to fill.
evaluatorXThe evaluator used to compute the value to be filled in the cloud along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the cloud along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the cloud along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the cloud is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
pure virtual

Fill an IProfile1D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
pure virtual

Fill an IProfile1D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the profile is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
pure virtual

Fill an IProfile1D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an IProfile1D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the profile is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
pure virtual

Fill an IProfile2D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the profile along the z axis. The value is computed from the current row of the tuple.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
pure virtual

Fill an IProfile2D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the profile along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the profile is not filled.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
pure virtual

Fill an IProfile2D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the profile along the z axis. The value is computed from the current row of the tuple.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
pure virtual

Fill an IProfile2D from the tuple.

Parameters
profileThe profile to fill.
evaluatorXThe evaluator used to compute the value to be filled in the profile along the x axis. The value is computed from the current row of the tuple.
evaluatorYThe evaluator used to compute the value to be filled in the profile along the y axis. The value is computed from the current row of the tuple.
evaluatorZThe evaluator used to compute the value to be filled in the profile along the z axis. The value is computed from the current row of the tuple.
filterThe filter object used to accept or not the current row. If rejected, the profile is not filled.
weightThe evaluator which determines the weight which is used during the filling.
Returns
false If something goes wrong.

Implemented in AIDA::ITupleROOT.

virtual void AIDA::ITuple::reset ( )
pure virtual

Reset the ITuple.

All the rows are reset. The ITuple is as just created.

Implemented in AIDA::ITupleROOT.

virtual int AIDA::ITuple::rows ( ) const
pure virtual

Get the number of rows currently filled in the ITuple.

Returns
The number of rows. -1 if empty or if it cannot be determined.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::setRow ( int  rowIndex)
pure virtual

Position the cursor at a give row.

Parameters
rowIndexThe row where the cursor has to be positioned.
Returns
false If the cursor cannot be positioned at the give row.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::setTitle ( const std::string &  title)
pure virtual

Set the title of the ITuple.

Parameters
titleThe new ITuple's title.
Returns
false If title cannot be changed.

Implemented in AIDA::ITupleROOT.

virtual bool AIDA::ITuple::skip ( int  rows)
pure virtual

Skips a given number of rows.

Parameters
rowsThe number of rows to skip.
Returns
false If rows is less than zero or if it is not possible to perform the jump.

Implemented in AIDA::ITupleROOT.

virtual std::string AIDA::ITuple::title ( ) const
pure virtual

Get the title of this ITuple.

Returns
The ITuple's title.

Implemented in AIDA::ITupleROOT.


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