1 #ifndef GAUDIALG_TUPLEDETAIL_H
2 #define GAUDIALG_TUPLEDETAIL_H 1
6 #include "GaudiAlg/Tuples.h"
7 #include "GaudiAlg/Tuple.h"
8 #include "GaudiAlg/TupleObj.h"
77 template<
class HANDLER1,
class HANDLER2>
91 const std::string&
name ,
93 const CLID&
clid = CLID_ColumnWiseTuple ,
102 (
const std::string&
msg ,
107 (
const std::string& msg ,
147 template<
class HANDLER1,
class HANDLER2>
149 ( HANDLER1 handler1 ,
151 const std::string&
name ,
153 const CLID& clid = CLID_ColumnWiseTuple ,
157 ( handler1 , handler2 ,
171 template <
class OBJECT,
class FUNCTION>
183 const size_t mp = 10 )
const
214 template <
class OBJECT,
class FUNCTION>
240 template <
class OWNER>
242 (
const OWNER* owner ,
243 const std::string&
name ,
245 const CLID& clid = CLID_ColumnWiseTuple ,
251 name , tuple , clid ,
type ) ;
261 #endif // GAUDIALG_TUPLEDETAIL_H
TupleObj * createTupleObj(const OWNER *owner, const std::string &name, NTuple::Tuple *tuple, const CLID &clid=CLID_ColumnWiseTuple, const Tuples::Type type=Tuples::NTUPLE)
Templated helper functions allow to avoid heavy semantics of dealing with explicit type of class Tupl...
const NTuple::Tuple * tuple() const
provide the access to underlying Gaudi N-tuple
~TupleObjImp() override=default
empty protected destructor
ErrorHandler(const OBJECT *obj, FUNCTION fun)
constructor
The simplest concrete implementation of class TupleObj with 3 arbitrary error handlers Any types (cla...
StatusCode Error(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
TupleObj.h GaudiAlg/TupleObj.h namespace with few technical implementations.
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
TupleObjImp(HANDLER1 handler1, HANDLER2 handler2, const std::string &name, NTuple::Tuple *tuple, const CLID &clid=CLID_ColumnWiseTuple, const Tuples::Type type=Tuples::NTUPLE)
constructor
This class is used for returning status codes from appropriate routines.
unsigned int CLID
Class ID definition.
Abstract base class which allows the user to interact with the actual N tuple implementation.
ErrorHandler< OBJECT, FUNCTION > make_handler(const OBJECT *object, FUNCTION function)
Templated helper functions allow to avoid heavy semantics of dealing with explicit type of class Erro...
StatusCode operator()(const std::string &msg, const StatusCode sc, const size_t mp=10) const
the only one 'useful' method
Tuples::Type type() const
accessor to the N-Tuple type
double fun(const std::vector< double > &x)
const CLID & clid() const
accessor to the N-Tuple CLID
A DataObject is the base class of any identifiable object on any data store.
Type
the list of available types for ntuples
const std::string & name() const
get the name
TupleObj * createTupleObj(HANDLER1 handler1, HANDLER2 handler2, const std::string &name, NTuple::Tuple *tuple, const CLID &clid=CLID_ColumnWiseTuple, const Tuples::Type type=Tuples::NTUPLE)
Templated helper functions allow to avoid heavy semantics of dealing with explicit type of class Tupl...
Concrete error handlers for dealing with classes, which supports member functions Error...
StatusCode Warning(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
General namespace for Tuple properties.