The Gaudi Framework  v33r1 (b1225454)
ITupleTool.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIALG_ITUPLETOOL_H
12 #define GAUDIALG_ITUPLETOOL_H 1
13 // ============================================================================
14 // Include files
15 // ============================================================================
16 // STD & STL
17 // ============================================================================
18 #include <string>
19 // ============================================================================
20 // Gaudi
21 // ============================================================================
22 #include "GaudiKernel/ClassID.h"
23 #include "GaudiKernel/IAlgTool.h"
24 // ============================================================================
25 // GaudiAlg
26 // ============================================================================
27 #include "GaudiAlg/Tuple.h"
28 #include "GaudiAlg/TupleID.h"
29 // ============================================================================
30 
31 // ============================================================================
38 // ============================================================================
39 
40 class GAUDI_API ITupleTool : virtual public IAlgTool {
41 public:
44 
47 
67  virtual Tuple nTuple( const std::string& title, const CLID& clid = CLID_ColumnWiseTuple ) const = 0;
68 
69  virtual Tuple nTuple( const TupleID& ID, const std::string& title = "",
70  const CLID& clid = CLID_ColumnWiseTuple ) const = 0;
71 
72  virtual Tuple evtCol( const std::string& title, const CLID& clid = CLID_RowWiseTuple ) const = 0;
73 
74  virtual Tuple evtCol( const TupleID& ID, const std::string& title = "",
75  const CLID& clid = CLID_RowWiseTuple ) const = 0;
76 };
77 
78 // ============================================================================
79 #endif // GAUDIALG_ITUPLETOOL_H
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
STL class.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:126
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:33
Tuples::TupleID TupleID
Definition: ITupleTool.h:45
#define GAUDI_API
Definition: Kernel.h:81
def nTuple(dirpath, ID, ID2=None, topdir=None, LUN='FILE1')
Definition: TupleUtils.py:84
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:53
Header file for class : Tuple.
Tuples::Tuple Tuple
Definition: ITupleTool.h:46