All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ITupleTool.h
Go to the documentation of this file.
1 // $Id: ITupleTool.h,v 1.2 2004/10/18 08:18:00 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIALG_ITUPLETOOL_H
4 #define GAUDIALG_ITUPLETOOL_H 1
5 // ============================================================================
6 // Include files
7 // ============================================================================
8 // STD & STL
9 // ============================================================================
10 #include <string>
11 // ============================================================================
12 // Gaudi
13 // ============================================================================
14 #include "GaudiKernel/IAlgTool.h"
15 #include "GaudiKernel/ClassID.h"
16 // ============================================================================
17 // GaudiAlg
18 // ============================================================================
19 #include "GaudiAlg/TupleID.h"
20 #include "GaudiAlg/Tuple.h"
21 // ============================================================================
22 
23 
24 // ============================================================================
31 // ============================================================================
32 
33 class GAUDI_API ITupleTool: virtual public IAlgTool
34 {
35 public:
38 
40  typedef Tuples::Tuple Tuple ;
41 
61  virtual Tuple nTuple
62  ( const std::string& title ,
63  const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ;
64 
65  virtual Tuple nTuple
66  ( const TupleID& ID ,
67  const std::string& title = "" ,
68  const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ;
69 
70  virtual Tuple evtCol
71  ( const std::string& title ,
72  const CLID& clid = CLID_RowWiseTuple ) const = 0 ;
73 
74  virtual Tuple evtCol
75  ( const TupleID& ID ,
76  const std::string& title = "" ,
77  const CLID& clid = CLID_RowWiseTuple ) const = 0 ;
78 
79 protected:
80 
81  virtual ~ITupleTool( );
82 
83 };
84 
85 // ============================================================================
86 #endif // GAUDIALG_ITUPLETOOL_H
87 // ============================================================================
DeclareInterfaceID(IAlgTool, 3, 0)
InterfaceID.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:115
def nTuple
Retrieve (book-on-demand) 'Smart'-N-tuple object.
Definition: TupleUtils.py:66
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
Tuples::TupleID TupleID
Definition: ITupleTool.h:39
#define GAUDI_API
Definition: Kernel.h:108
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:46
Header file for class : Tuple.
Tuples::Tuple Tuple
Definition: ITupleTool.h:40