Go to the documentation of this file.
11 #ifndef GAUDIALG_TUPLEDETAIL_H
12 #define GAUDIALG_TUPLEDETAIL_H 1
85 template <
class HANDLER1,
class HANDLER2>
142 template <
class HANDLER1,
class HANDLER2>
145 return std::make_unique<TupleObjImp<HANDLER1, HANDLER2>>( handler1, handler2,
name, tuple, clid,
type );
158 template <
class OBJECT,
class FUNCTION>
197 template <
class OBJECT,
class FUNCTION>
221 template <
class OWNER>
233 #endif // GAUDIALG_TUPLEDETAIL_H
StatusCode operator()(const std::string &msg, const StatusCode sc, const size_t mp=10) const
the only one 'useful' method
ErrorHandler(const OBJECT *obj, FUNCTION fun)
constructor
Tuples::Type type() const
accessor to the N-Tuple type
const NTuple::Tuple * tuple() const
provide the access to underlying Gaudi N-tuple
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...
TupleObjImp(HANDLER1 handler1, HANDLER2 handler2, const std::string &name, NTuple::Tuple *tuple, const CLID &clid=CLID_ColumnWiseTuple, const Tuples::Type type=Tuples::NTUPLE)
constructor
A simple wrapper class over standard Gaudi NTuple::Tuple facility.
StatusCode Error(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
unsigned int CLID
Class ID definition.
auto 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 CLID & clid() const
accessor to the N-Tuple CLID
Abstract base class which allows the user to interact with the actual N tuple implementation.
auto 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...
StatusCode Warning(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
constexpr static const auto FAILURE
const std::string & name() const
get the name