Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012
Public Types | Public Member Functions | Private Member Functions

TupleTool Class Reference

#include <components/TupleTool.h>

Inheritance diagram for TupleTool:
Inheritance graph
[legend]
Collaboration diagram for TupleTool:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Tuples::Tuple Tuple
typedef GaudiAlg::TupleID TupleID

Public Member Functions

 TupleTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor.
virtual ~TupleTool ()
 destructor: virtual and protected
virtual Tuple nTuple (const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
 get N-tuple object ( book on-demand ) with unique identidier
virtual Tuple nTuple (const TupleID &ID, const std::string &title="", const CLID &clid=CLID_ColumnWiseTuple) const
virtual Tuple evtCol (const std::string &title, const CLID &clid=CLID_RowWiseTuple) const
virtual Tuple evtCol (const TupleID &ID, const std::string &title="", const CLID &clid=CLID_RowWiseTuple) const

Private Member Functions

 TupleTool ()
 TupleTool (const TupleTool &)
TupleTooloperator= (const TupleTool &)

Detailed Description

Author:
Vanya BELYAEV Ivan.Belyaev@itep.ru
Date:
2004-06-28

Definition at line 20 of file TupleTool.h.


Member Typedef Documentation

Reimplemented from ITupleTool.

Definition at line 24 of file TupleTool.h.

Reimplemented from ITupleTool.

Definition at line 25 of file TupleTool.h.


Constructor & Destructor Documentation

TupleTool::TupleTool ( const std::string type,
const std::string name,
const IInterface parent 
)

Standard constructor.

See also:
GaudiTupleTool
GaudiHistoTool
GaudiTool
AlgTool
Parameters:
typetool type (?)
nametool name
parentpointer to parent component

Definition at line 37 of file TupleTool.cpp.

  : GaudiTupleTool ( type, name , parent )
{
  declareInterface<ITupleTool>(this);
}
TupleTool::~TupleTool (  ) [virtual]

destructor: virtual and protected

Definition at line 49 of file TupleTool.cpp.

{}
TupleTool::TupleTool (  ) [private]
TupleTool::TupleTool ( const TupleTool  ) [private]

Member Function Documentation

virtual Tuple TupleTool::evtCol ( const std::string title,
const CLID clid = CLID_RowWiseTuple 
) const [inline, virtual]

Implements ITupleTool.

Definition at line 77 of file TupleTool.h.

  { return GaudiTupleTool::evtCol (      title , clid ) ; }
virtual Tuple TupleTool::evtCol ( const TupleID ID,
const std::string title = "",
const CLID clid = CLID_RowWiseTuple 
) const [inline, virtual]

Implements ITupleTool.

Definition at line 82 of file TupleTool.h.

  { return GaudiTupleTool::evtCol ( ID , title , clid ) ; }
virtual Tuple TupleTool::nTuple ( const TupleID ID,
const std::string title = "",
const CLID clid = CLID_ColumnWiseTuple 
) const [inline, virtual]

Implements ITupleTool.

Definition at line 71 of file TupleTool.h.

  { return GaudiTupleTool::nTuple ( ID , title , clid ) ; }
virtual Tuple TupleTool::nTuple ( const std::string title,
const CLID clid = CLID_ColumnWiseTuple 
) const [inline, virtual]

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

  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:
titleunique title for ntuple
clidclass identifier
Returns:
ntuple object

Implements ITupleTool.

Definition at line 65 of file TupleTool.h.

  { return GaudiTupleTool::nTuple (      title , clid ) ; }
TupleTool& TupleTool::operator= ( const TupleTool  ) [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Jan 30 2012 13:53:25 for Gaudi Framework, version v23r0 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004