CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA::ITupleFactory Class Reference

#include <ITupleFactory.h>

List of all members.

Public Methods

virtual ~ITupleFactory ()
 Destructor. More...

virtual ITuplecreate (const std::string &name, const std::string &title, const std::vector< std::string > &columnNames, const std::vector< std::string > &columnType, const std::string &options="")=0
virtual ITuplecreate (const std::string &name, const std::string &title, const std::string &columns, const std::string &options="")=0
virtual ITuplecreateChained (const std::string &name, const std::string &title, const std::vector< ITuple *> &set)=0
virtual ITuplecreateChained (const std::string &name, const std::string &title, const std::vector< std::string > &set)=0
virtual ITuplecreateFiltered (const std::string &name, ITuple &tuple, IFilter &filter)=0
virtual ITuplecreateFiltered (const std::string &name, ITuple &tuple, IFilter &filter, const std::vector< std::string > &columns)=0
virtual IFiltercreateFilter (const std::string &expression)=0
virtual IFiltercreateFilter (const std::string &expression, int rowsToProcess, int startingRow=0)=0
virtual IEvaluatorcreateEvaluator (const std::string &expression)=0


Detailed Description

A factory for creating ITuples.

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

Definition at line 30 of file ITupleFactory.h.


Constructor & Destructor Documentation

AIDA::ITupleFactory::~ITupleFactory ( ) [inline, virtual]
 

Definition at line 34 of file ITupleFactory.h.


Member Function Documentation

ITuple * AIDA::ITupleFactory::create ( const std::string & name,
const std::string & title,
const std::string & columns,
const std::string & options = "" ) [pure virtual]
 

Creates an NTuple

Parameters:
name   The persistency name of the n-tuple
title   The title of the n-tuple
columns   The names and types of the columns e.g. "float px, py, pz, float energy, int charge"
options   NTuple options (currently undefined)

ITuple * AIDA::ITupleFactory::create ( const std::string & name,
const std::string & title,
const std::vector< std::string > & columnNames,
const std::vector< std::string > & columnType,
const std::string & options = "" ) [pure virtual]
 

Creates an NTuple

Parameters:
name   The persistency name of the n-tuple
title   The title of the n-tuple
columnNames   The names of the columns
columnType   The types of the columns
options   NTuple options (currently undefined)

ITuple * AIDA::ITupleFactory::createChained ( const std::string & name,
const std::string & title,
const std::vector< std::string > & set ) [pure virtual]
 

Creates a logical chain of ITuples. All ITuples in the set must have the same structure. Chained ITuple can not be filled. Original n-tuple data is not copied.

Parameters:
name   The persistency name of the new n-tuple
title   The title of the new n-tuple
set   The array of the names of the ITuples to chain

ITuple * AIDA::ITupleFactory::createChained ( const std::string & name,
const std::string & title,
const std::vector< ITuple *> & set ) [pure virtual]
 

Creates a logical chain of ITuples. All ITuples in the set must have the same structure. Chained ITuple can not be filled. Original n-tuple data is not copied.

Parameters:
name   The persistency name of the new n-tuple
title   The title of the new n-tuple
set   The array of ITuples to chain

IEvaluator * AIDA::ITupleFactory::createEvaluator ( const std::string & expression ) [pure virtual]
 

Create IEvaluator object given its expression.

Parameters:
expression   String defining of the evaluator expression.

IFilter * AIDA::ITupleFactory::createFilter ( const std::string & expression,
int rowsToProcess,
int startingRow = 0 ) [pure virtual]
 

Creates a filter object given a string defining the "cut" expression. Filter processes only subset of data.

Parameters:
expression   String defining of the "cut" expression.
rowsToProcess   How many rows to process
startingRow   Row number where to start

IFilter * AIDA::ITupleFactory::createFilter ( const std::string & expression ) [pure virtual]
 

Creates IFilter object given a string defining of the "cut" expression.

Parameters:
expression   String defining of the "cut" expression.

ITuple * AIDA::ITupleFactory::createFiltered ( const std::string & name,
ITuple & tuple,
IFilter & filter,
const std::vector< std::string > & columns ) [pure virtual]
 

Creates a new reduced tuple (less rows) from an existing one by applying a filter. Only subset of the variables (columns) is copied. Data is explicitly copied to a new n-tuple.

Parameters:
name   The persistency name of the new n-tuple
tuple   Original n-tuple
filter   IFilter to be used
columns   Names of columns to for a new n-tuple

ITuple * AIDA::ITupleFactory::createFiltered ( const std::string & name,
ITuple & tuple,
IFilter & filter ) [pure virtual]
 

Creates a new reduced tuple (less rows) from an existing one by applying a filter. Data is explicitly copied to a new n-tuple.

Parameters:
name   The persistency name of the new n-tuple
tuple   Original n-tuple
filter   IFilter to be used


The documentation for this class was generated from the following file:
Generated at Tue Feb 18 15:48:25 2003 for AIDA_Interfaces by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001