| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Types | Public Member Functions | Protected Member Functions

# ITupleTool Class Reference

`#include <GaudiTools/ITupleTool.h>`

Inheritance diagram for ITupleTool:
[legend]
Collaboration diagram for ITupleTool:
[legend]

List of all members.

## Public Types
typedef Tuples::TupleID | TupleID
typedef Tuples::Tuple | Tuple
## Public Member Functions
| DeclareInterfaceID (ITupleTool, 2, 0)
| InterfaceID.
virtual Tuple | nTuple (const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const =0
| get N-tuple object ( book on-demand ) with unique identifier
virtual Tuple | nTuple (const TupleID &ID, const std::string &title="", const CLID &clid=CLID_ColumnWiseTuple) const =0
virtual Tuple | evtCol (const std::string &title, const CLID &clid=CLID_RowWiseTuple) const =0
virtual Tuple | evtCol (const TupleID &ID, const std::string &title="", const CLID &clid=CLID_RowWiseTuple) const =0
## Protected Member Functions
virtual | ~ITupleTool ()
| Destructor.

## Detailed Description

Author:
  Vanya BELYAEV Ivan.Belyaev@itep.ru

Date:
  2004-06-28

Definition at line 33 of file ITupleTool.h.

## Member Typedef Documentation

typedef Tuples::Tuple ITupleTool::Tuple

Reimplemented in TupleTool.

Definition at line 40 of file ITupleTool.h.

typedef Tuples::TupleID ITupleTool::TupleID

Reimplemented in TupleTool.

Definition at line 39 of file ITupleTool.h.

## Constructor & Destructor Documentation

ITupleTool::~ITupleTool | ( | ) | `[protected, virtual]`

Destructor.

virtual protected destructor

Definition at line 17 of file ITupleTool.cpp.

    {}

## Member Function Documentation

ITupleTool::DeclareInterfaceID | ( | ITupleTool | ,
|  | 2 | ,
|  | 0 |
| ) |  |

InterfaceID.

virtual Tuple ITupleTool::evtCol | ( | const TupleID & | ID,
|  | const std::string & | title = `""`,
|  | const CLID & | clid = `CLID_RowWiseTuple`
| ) |  | const`[pure virtual]`

Implemented in TupleTool.

virtual Tuple ITupleTool::evtCol | ( | const std::string & | title,
|  | const CLID & | clid = `CLID_RowWiseTuple`
| ) |  | const`[pure virtual]`

Implemented in TupleTool.

virtual Tuple ITupleTool::nTuple | ( | const TupleID & | ID,
|  | const std::string & | title = `""`,
|  | const CLID & | clid = `CLID_ColumnWiseTuple`
| ) |  | const`[pure virtual]`

Implemented in TupleTool.

virtual Tuple ITupleTool::nTuple | ( | const std::string & | title,
|  | const CLID & | clid = `CLID_ColumnWiseTuple`
| ) |  | const`[pure virtual]`

get N-tuple object ( book on-demand ) with unique identifier

      ITupleTool* tool = .. ;
      Tuple tuple = tool->nTuple( 'My tuple' ) ;
      tuple->column( "A" , sin(0.1) );
      tuple->column( "B" , cos(0.1) );
      tuple->column( "C" , tan(0.1) );
      tuple->write()

NTuple will be booked with automatically assigned numerical ID

Parameters:

  title | unique title for ntuple
  clid | class identifier

Returns:
  ntuple object

Implemented in TupleTool.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiAlg/GaudiAlg/ITupleTool.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiAlg/src/lib/ITupleTool.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines