1 #ifndef GAUDIALG_TUPLEDETAIL_H 2 #define GAUDIALG_TUPLEDETAIL_H 1 77 template<
class HANDLER1,
class HANDLER2>
93 const CLID&
clid = CLID_ColumnWiseTuple ,
147 template<
class HANDLER1,
class HANDLER2>
149 ( HANDLER1 handler1 ,
153 const CLID&
clid = CLID_ColumnWiseTuple ,
157 ( handler1 , handler2 ,
171 template <
class OBJECT,
class FUNCTION>
178 : m_obj ( obj ) , m_fun ( fun ) {}
183 const size_t mp = 10 )
const 185 return (m_obj->*m_fun)(
msg , sc , mp ) ;
214 template <
class OBJECT,
class FUNCTION>
240 template <
class OWNER>
242 (
const OWNER* owner ,
245 const CLID&
clid = CLID_ColumnWiseTuple ,
261 #endif // GAUDIALG_TUPLEDETAIL_H 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...
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
Header file for class TupleObj.
The simplest concrete implementation of class TupleObj with 3 arbitrary error handlers Any types (cla...
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.
StatusCode Error(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
Tuples::Type type() const
accessor to the N-Tuple type
double fun(const std::vector< double > &x)
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 Warning(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const override
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
Header file for class : Tuple.
Concrete error handlers for dealing with classes, which supports member functions Error...
General namespace for Tuple properties.