All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TupleTool.h
Go to the documentation of this file.
1 // $Id: TupleTool.h,v 1.3 2006/11/30 10:16:13 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIALG_TUPLETOOL_H
4 #define GAUDIALG_TUPLETOOL_H 1
5 // ============================================================================
6 // Include files
7 // ============================================================================
8 // Gaudi
9 // ============================================================================
11 #include "GaudiAlg/ITupleTool.h"
12 // ============================================================================
13 
20 class TupleTool : public GaudiTupleTool ,
21  virtual public ITupleTool
22 {
23 public:
24  typedef Tuples::Tuple Tuple ;
26 
36  TupleTool( const std::string& type,
37  const std::string& name,
38  const IInterface* parent);
39 
41  virtual ~TupleTool() ;
42 
43 public:
44 
64  virtual Tuple nTuple
65  ( const std::string& title ,
66  const CLID& clid = CLID_ColumnWiseTuple ) const
67  { return GaudiTupleTool::nTuple ( title , clid ) ; }
68 
69 
70  virtual Tuple nTuple
71  ( const TupleID& ID ,
72  const std::string& title = "" ,
73  const CLID& clid = CLID_ColumnWiseTuple ) const
74  { return GaudiTupleTool::nTuple ( ID , title , clid ) ; }
75 
76  virtual Tuple evtCol
77  ( const std::string& title ,
78  const CLID& clid = CLID_RowWiseTuple ) const
79  { return GaudiTupleTool::evtCol ( title , clid ) ; }
80 
81  virtual Tuple evtCol
82  ( const TupleID& ID ,
83  const std::string& title = "" ,
84  const CLID& clid = CLID_RowWiseTuple ) const
85  { return GaudiTupleTool::evtCol ( ID , title , clid ) ; }
86 
87 private:
88 
89  TupleTool() ;
90  TupleTool ( const TupleTool& ) ;
91  TupleTool& operator=( const TupleTool& ) ;
92 
93 };
94 #endif // GAUDIALG_TUPLETOOL_H
virtual ~TupleTool()
destructor: virtual and protected
Definition: TupleTool.cpp:45
virtual Tuple evtCol(const std::string &title, const CLID &clid=CLID_RowWiseTuple) const
Definition: TupleTool.h:77
Tuples::Tuple Tuple
Definition: TupleTool.h:24
Tuple evtCol(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an Event Tag Collection object (book on-demand) with unique identifier.
virtual const std::string & name() const =0
Retrieve the name of the instance.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:115
Definition of the basic interface.
Definition: IInterface.h:160
Tuple nTuple(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an N-Tuple object (book on-demand) with unique identifier.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
virtual const std::string & type() const =0
The type of an AlgTool, meaning the concrete AlgTool class.
virtual const IInterface * parent() const =0
The parent of the concrete AlgTool.
TupleTool & operator=(const TupleTool &)
GaudiAlg::TupleID TupleID
Definition: TupleTool.h:25
virtual Tuple nTuple(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
get N-tuple object ( book on-demand ) with unique identidier
Definition: TupleTool.h:65
Simple class to extend the functionality of class GaudiHistoTool.
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:46