2 #ifndef GAUDIALG_TUPLEDETAIL_H
3 #define GAUDIALG_TUPLEDETAIL_H 1
7 #include "GaudiAlg/Tuples.h"
8 #include "GaudiAlg/Tuple.h"
9 #include "GaudiAlg/TupleObj.h"
78 template<
class HANDLER1,
class HANDLER2>
92 const std::string&
name ,
94 const CLID&
clid = CLID_ColumnWiseTuple ,
103 (
const std::string&
msg ,
108 (
const std::string& msg ,
148 template<
class HANDLER1,
class HANDLER2>
150 ( HANDLER1 handler1 ,
152 const std::string& name ,
154 const CLID& clid = CLID_ColumnWiseTuple ,
158 ( handler1 , handler2 ,
159 name , tuple , clid ,
type ) ;
172 template <
class OBJECT,
class FUNCTION>
184 const size_t mp = 10 )
const
215 template <
class OBJECT,
class FUNCTION>
241 template <
class OWNER>
243 (
const OWNER* owner ,
244 const std::string& name ,
246 const CLID& clid = CLID_ColumnWiseTuple ,
252 name , tuple , clid ,
type ) ;
262 #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...
ErrorHandler(const OBJECT *obj, FUNCTION fun)
constructor
virtual StatusCode Error(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const
The simplest concrete implementation of class TupleObj with 3 arbitrary error handlers Any types (cla...
virtual ~TupleObjImp()
empty protected destructor
NTuple::Tuple * tuple() const
provide the access to underlying Gaudi N-tuple
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
virtual StatusCode Warning(const std::string &msg, const StatusCode sc=StatusCode::FAILURE) const
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...
General namespace for Tuple properties.