RAIDA  1.9.0
Public Member Functions | Protected Attributes | List of all members
AIDA::ITupleROOT Class Reference

User level interface to a Tuple. More...

#include <ITupleROOT.h>

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

Public Member Functions

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

Protected Attributes

TTree * _theTree
 See IManagedObject for a description. More...
 
std::vector< LeafPoint_pointVec
 
std::vector< LeafPoint_readPointVec
 
int _readCursor
 

Detailed Description

User level interface to a Tuple.

Author
T. Kraemer, DESY
Version
Id:
ITupleROOT.h,v 1.3 2006-12-04 17:24:06 tkraemer Exp

Member Function Documentation

bool ITupleROOT::addRow ( )
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.

Implements AIDA::ITuple.

References _theTree.

double ITupleROOT::columnMax ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree, and rows().

double ITupleROOT::columnMean ( int  column) const
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.

Implements AIDA::ITuple.

References getDouble(), and rows().

Referenced by columnRms().

double ITupleROOT::columnMin ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree, and rows().

std::string ITupleROOT::columnName ( int  column) const
virtual

Get the name of a column from its index.

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

Implements AIDA::ITuple.

std::vector< std::string > ITupleROOT::columnNames ( ) const
virtual

Get the names of all the columns.

Returns
The column names.

Implements AIDA::ITuple.

double ITupleROOT::columnRms ( int  column) const
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.

Implements AIDA::ITuple.

References columnMean(), getDouble(), and rows().

int ITupleROOT::columns ( ) const
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 ; 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 ; 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 ; virtual ITuple * getTuple(int column) ; Get the number of columns in the ITuple
The number of columns.

Implements AIDA::ITuple.

std::string ITupleROOT::columnType ( int  column) const
virtual

Get the type of a give column.

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

Implements AIDA::ITuple.

std::vector< std::string > ITupleROOT::columnTypes ( ) const
virtual

Get the types of all the columns.

Returns
The column Classes.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
double  value 
)
virtual

Get the IAnnotation corresponding to this ITuple.

Returns
The ITuple's IAnnotation.virtual IAnnotation & annotation() ; virtual const IAnnotation & annotation() const ; 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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
float  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
int  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
short  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
long  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
char  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( int  column,
bool  value 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( const std::vector< double > &  values)
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) ; 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) ; 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.

Implements AIDA::ITuple.

bool ITupleROOT::fill ( const std::vector< float > &  values)
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.

Implements AIDA::ITuple.

int ITupleROOT::findColumn ( const std::string &  name) const
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.

Implements AIDA::ITuple.

bool ITupleROOT::getBoolean ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

char ITupleROOT::getChar ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

double ITupleROOT::getDouble ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

Referenced by columnMean(), and columnRms().

float ITupleROOT::getFloat ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

int ITupleROOT::getInt ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

long ITupleROOT::getLong ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

short ITupleROOT::getShort ( int  column) const
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.

Implements AIDA::ITuple.

References _theTree.

bool ITupleROOT::next ( )
virtual

Positions the cursor at the next row.

Returns
false if there is no next row.

Implements AIDA::ITuple.

References _theTree.

bool ITupleROOT::project ( IHistogram1D histogram,
IEvaluator evaluatorX 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram1D histogram,
IEvaluator evaluatorX,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram2D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IHistogram3D histogram,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud1D cloud,
IEvaluator evaluatorX 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud1D cloud,
IEvaluator evaluatorX,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud2D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( ICloud3D cloud,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile1D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

bool ITupleROOT::project ( IProfile2D profile,
IEvaluator evaluatorX,
IEvaluator evaluatorY,
IEvaluator evaluatorZ,
IFilter filter,
IEvaluator weight 
)
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.

Implements AIDA::ITuple.

void ITupleROOT::reset ( )
virtual

Reset the ITuple.

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

Implements AIDA::ITuple.

int ITupleROOT::rows ( ) const
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.

Implements AIDA::ITuple.

References _theTree.

Referenced by columnMax(), columnMean(), columnMin(), columnRms(), and skip().

bool ITupleROOT::setRow ( int  rowIndex)
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.

Implements AIDA::ITuple.

bool ITupleROOT::setTitle ( const std::string &  title)
virtual

Set the title of the ITuple.

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

Implements AIDA::ITuple.

References _theTree.

bool ITupleROOT::skip ( int  rows)
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.

Implements AIDA::ITuple.

References _theTree, and rows().

std::string ITupleROOT::title ( ) const
virtual

Get the title of this ITuple.

Returns
The ITuple's title.

Implements AIDA::ITuple.

References _theTree.

Member Data Documentation

TTree* AIDA::ITupleROOT::_theTree
protected

See IManagedObject for a description.

Parameters
classNameThe name of the class to cast on.
Returns
The right pointer. Return 0 if failure.virtual void * cast(const std::string & className) const ;

Referenced by addRow(), columnMax(), columnMin(), getBoolean(), getChar(), getDouble(), getFloat(), getInt(), getLong(), getShort(), ITupleROOT(), next(), rows(), setTitle(), skip(), and title().


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