All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ITupleTool.h
Go to the documentation of this file.
1 #ifndef GAUDIALG_ITUPLETOOL_H
2 #define GAUDIALG_ITUPLETOOL_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD & STL
7 // ============================================================================
8 #include <string>
9 // ============================================================================
10 // Gaudi
11 // ============================================================================
12 #include "GaudiKernel/IAlgTool.h"
13 #include "GaudiKernel/ClassID.h"
14 // ============================================================================
15 // GaudiAlg
16 // ============================================================================
17 #include "GaudiAlg/TupleID.h"
18 #include "GaudiAlg/Tuple.h"
19 // ============================================================================
20 
21 
22 // ============================================================================
29 // ============================================================================
30 
31 class GAUDI_API ITupleTool: virtual public IAlgTool
32 {
33 public:
36 
38  typedef Tuples::Tuple Tuple ;
39 
59  virtual Tuple nTuple
60  ( const std::string& title ,
61  const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ;
62 
63  virtual Tuple nTuple
64  ( const TupleID& ID ,
65  const std::string& title = "" ,
66  const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ;
67 
68  virtual Tuple evtCol
69  ( const std::string& title ,
70  const CLID& clid = CLID_RowWiseTuple ) const = 0 ;
71 
72  virtual Tuple evtCol
73  ( const TupleID& ID ,
74  const std::string& title = "" ,
75  const CLID& clid = CLID_RowWiseTuple ) const = 0 ;
76 
77 protected:
78 
79  ~ITupleTool( ) override = default;
80 
81 
82 };
83 
84 // ============================================================================
85 #endif // GAUDIALG_ITUPLETOOL_H
86 // ============================================================================
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
STL class.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:116
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
Tuples::TupleID TupleID
Definition: ITupleTool.h:37
#define GAUDI_API
Definition: Kernel.h:107
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:44
Header file for class : Tuple.
Tuples::Tuple Tuple
Definition: ITupleTool.h:38