The Gaudi Framework  v30r3 (a5ef0a68)
TupleTool.h
Go to the documentation of this file.
1 #ifndef GAUDIALG_TUPLETOOL_H
2 #define GAUDIALG_TUPLETOOL_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // Gaudi
7 // ============================================================================
9 #include "GaudiAlg/ITupleTool.h"
10 // ============================================================================
11 
18 class TupleTool : public GaudiTupleTool, virtual public ITupleTool
19 {
20 public:
23 
33  TupleTool( const std::string& type, const std::string& name, const IInterface* parent );
34 
35 public:
55  Tuple nTuple( const std::string& title, const CLID& clid = CLID_ColumnWiseTuple ) const override
56  {
57  return GaudiTupleTool::nTuple( title, clid );
58  }
59 
60  Tuple nTuple( const TupleID& ID, const std::string& title = "",
61  const CLID& clid = CLID_ColumnWiseTuple ) const override
62  {
63  return GaudiTupleTool::nTuple( ID, title, clid );
64  }
65 
66  Tuple evtCol( const std::string& title, const CLID& clid = CLID_RowWiseTuple ) const override
67  {
68  return GaudiTupleTool::evtCol( title, clid );
69  }
70 
71  Tuple evtCol( const TupleID& ID, const std::string& title = "", const CLID& clid = CLID_RowWiseTuple ) const override
72  {
73  return GaudiTupleTool::evtCol( ID, title, clid );
74  }
75 
76  TupleTool() = delete;
77  TupleTool( const TupleTool& ) = delete;
78  TupleTool& operator=( const TupleTool& ) = delete;
79 };
80 #endif // GAUDIALG_TUPLETOOL_H
virtual const std::string & type() const =0
The type of an AlgTool, meaning the concrete AlgTool class.
Tuples::Tuple Tuple
Definition: TupleTool.h:21
TupleTool & operator=(const TupleTool &)=delete
Tuple evtCol(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an Event Tag Collection object (book on-demand) with unique identifier.
STL class.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:117
Simple class to extend the functionality of class GaudiHistoTool.
Definition of the basic interface.
Definition: IInterface.h:277
Tuple nTuple(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an N-Tuple object (book on-demand) with unique identifier.
Tuple nTuple(const TupleID &ID, const std::string &title="", const CLID &clid=CLID_ColumnWiseTuple) const override
Definition: TupleTool.h:60
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
Tuple nTuple(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const override
get N-tuple object ( book on-demand ) with unique identidier
Definition: TupleTool.h:55
TupleTool()=delete
GaudiAlg::TupleID TupleID
Definition: TupleTool.h:22
Tuple evtCol(const std::string &title, const CLID &clid=CLID_RowWiseTuple) const override
Definition: TupleTool.h:66
virtual const IInterface * parent() const =0
The parent of the concrete AlgTool.
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:44
virtual const std::string & name() const =0
Retrieve the name of the instance.
Tuple evtCol(const TupleID &ID, const std::string &title="", const CLID &clid=CLID_RowWiseTuple) const override
Definition: TupleTool.h:71