| The Gaudi Framework v32r1 (f65d50dc)

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/ClassID.h"
13 #include "GaudiKernel/IAlgTool.h"
14 // ============================================================================
15 // GaudiAlg
16 // ============================================================================
17 #include "GaudiAlg/Tuple.h"
18 #include "GaudiAlg/TupleID.h"
19 // ============================================================================
20
21 // ============================================================================
28 // ============================================================================
29
30 class GAUDI_API ITupleTool : virtual public IAlgTool {
31 public:
33 DeclareInterfaceID( ITupleTool, 2, 0 );
34
35 typedef Tuples::TupleID TupleID;
36 typedef Tuples::Tuple Tuple;
37
57 virtual Tuple nTuple( const std::string& title, const CLID& clid = CLID_ColumnWiseTuple ) const = 0;
58
59 virtual Tuple nTuple( const TupleID& ID, const std::string& title = "",
60 const CLID& clid = CLID_ColumnWiseTuple ) const = 0;
61
62 virtual Tuple evtCol( const std::string& title, const CLID& clid = CLID_RowWiseTuple ) const = 0;
63
64 virtual Tuple evtCol( const TupleID& ID, const std::string& title = "",
65 const CLID& clid = CLID_RowWiseTuple ) const = 0;
66 };
67
68 // ============================================================================
69 #endif // GAUDIALG_ITUPLETOOL_H
ClassID.h
IAlgTool::DeclareInterfaceID
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
std::string
STL class.
Tuples::Tuple
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:116
ITupleTool
Definition: ITupleTool.h:30
IAlgTool.h
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
TupleID.h
IAlgTool
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
ITupleTool::TupleID
Tuples::TupleID TupleID
Definition: ITupleTool.h:35
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
GaudiPython.TupleUtils.nTuple
def nTuple(dirpath, ID, ID2=None, topdir=None, LUN='FILE1')
Definition: TupleUtils.py:73
GaudiAlg::ID
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:43
Tuple.h
Header file for class : Tuple.
ITupleTool::Tuple
Tuples::Tuple Tuple
Definition: ITupleTool.h:36