RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::ITupleFactoryROOT Class Reference

A factory for creating ITuples. More...

#include <ITupleFactoryROOT.h>

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

Public Member Functions

virtual ~ITupleFactoryROOT ()
 Destructor.
 
 ITupleFactoryROOT (ITree &tree)
 
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="")
 Creates an NTuple. More...
 
virtual ITuplecreate (const std::string &path, const std::string &title, const std::string &columns, const std::string &options="")
 Creates an NTuple. More...
 
- Public Member Functions inherited from AIDA::ITupleFactory
virtual ~ITupleFactory ()
 Destructor.
 

Detailed Description

A factory for creating ITuples.

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

Member Function Documentation

ITuple * ITupleFactoryROOT::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 = "" 
)
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)

Implements AIDA::ITupleFactory.

virtual ITuple* AIDA::ITupleFactoryROOT::create ( const std::string &  path,
const std::string &  title,
const std::string &  columns,
const std::string &  options = "" 
)
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)

Implements AIDA::ITupleFactory.


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