Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v38r0 (2143aa4c)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TupleTool.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_TUPLETOOL_H
12 #define GAUDIALG_TUPLETOOL_H 1
13 // ============================================================================
14 // Include files
15 // ============================================================================
16 // Gaudi
17 // ============================================================================
19 #include "GaudiAlg/ITupleTool.h"
20 // ============================================================================
21 
28 class TupleTool : public GaudiTupleTool, virtual public ITupleTool {
29 public:
32 
42  TupleTool( const std::string& type, const std::string& name, const IInterface* parent );
43 
44 public:
64  Tuple nTuple( const std::string& title, const CLID& clid = CLID_ColumnWiseTuple ) const override {
65  return GaudiTupleTool::nTuple( title, clid );
66  }
67 
68  Tuple nTuple( const TupleID& ID, const std::string& title = "",
69  const CLID& clid = CLID_ColumnWiseTuple ) const override {
70  return GaudiTupleTool::nTuple( ID, title, clid );
71  }
72 
73  Tuple evtCol( const std::string& title, const CLID& clid = CLID_RowWiseTuple ) const override {
74  return GaudiTupleTool::evtCol( title, clid );
75  }
76 
77  Tuple evtCol( const TupleID& ID, const std::string& title = "",
78  const CLID& clid = CLID_RowWiseTuple ) const override {
79  return GaudiTupleTool::evtCol( ID, title, clid );
80  }
81 
82  TupleTool() = delete;
83  TupleTool( const TupleTool& ) = delete;
84  TupleTool& operator=( const TupleTool& ) = delete;
85 };
86 #endif // GAUDIALG_TUPLETOOL_H
std::string
STL class.
GaudiAlg::ID
Definition: GaudiHistoID.h:53
TupleTool::nTuple
Tuple nTuple(const TupleID &ID, const std::string &title="", const CLID &clid=CLID_ColumnWiseTuple) const override
Definition: TupleTool.h:68
TupleTool::nTuple
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:64
TupleTool::operator=
TupleTool & operator=(const TupleTool &)=delete
INamedInterface::name
virtual const std::string & name() const =0
Retrieve the name of the instance.
TupleTool::Tuple
Tuples::Tuple Tuple
Definition: TupleTool.h:30
TupleTool::evtCol
Tuple evtCol(const std::string &title, const CLID &clid=CLID_RowWiseTuple) const override
Definition: TupleTool.h:73
ITupleTool.h
Tuples::Tuple
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
Definition: Tuple.h:126
GaudiTuples< GaudiHistoTool >::evtCol
Tuple evtCol(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an Event Tag Collection object (book on-demand) with unique identifier.
Definition: GaudiTuples.icpp:134
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
GaudiTupleTool
Definition: GaudiTupleTool.h:51
IAlgTool::type
virtual const std::string & type() const =0
The type of an AlgTool, meaning the concrete AlgTool class.
IAlgTool::parent
virtual const IInterface * parent() const =0
The parent of the concrete AlgTool.
TupleTool::TupleTool
TupleTool()=delete
TupleTool::TupleID
GaudiAlg::TupleID TupleID
Definition: TupleTool.h:31
GaudiTuples< GaudiHistoTool >::nTuple
Tuple nTuple(const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
Access an N-Tuple object (book on-demand) with unique identifier.
Definition: GaudiTuples.icpp:101
GaudiTupleTool.h
IInterface
Definition: IInterface.h:237
TupleTool::TupleTool
TupleTool(const TupleTool &)=delete
ITupleTool
Definition: ITupleTool.h:40
TupleTool::evtCol
Tuple evtCol(const TupleID &ID, const std::string &title="", const CLID &clid=CLID_RowWiseTuple) const override
Definition: TupleTool.h:77
TupleTool
Definition: TupleTool.h:28