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

A factory for creating ITuples. More...

#include <ITupleFactory.h>

Inheritance diagram for AIDA::ITupleFactory:
AIDA::ITupleFactoryROOT

Public Member Functions

virtual ~ITupleFactory ()
 Destructor.
 
virtual ITuplecreate (const std::string &path, const std::string &title, const std::vector< std::string > &columnNames, const std::vector< std::string > &columnType, const std::string &options="")=0
 Creates an NTuple. More...
 
virtual ITuplecreate (const std::string &path, const std::string &title, const std::string &columns, const std::string &options="")=0
 Creates an NTuple. More...
 

Detailed Description

A factory for creating ITuples.

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

Member Function Documentation

virtual ITuple* AIDA::ITupleFactory::create ( const std::string &  path,
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
pathThe path of the created ITuple. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the n-tuple
columnNamesThe names of the columns
columnTypeThe types of the columns
optionsNTuple options (currently undefined)

Implemented in AIDA::ITupleFactoryROOT.

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

Creates an NTuple.

Parameters
pathThe path of the created ITuple. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the n-tuple
columnsThe names and types of the columns e.g. "float px, py, pz, float energy, int charge"
optionsNTuple options (currently undefined)

Implemented in AIDA::ITupleFactoryROOT.


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