![]() |
The Gaudi Framework
master (b9786168)
|
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTupleImplementation.h>


Public Member Functions | |
| INTupleItem * | i_find (const std::string &name) const override |
| Internally used by abstract classes. | |
| TupleImp (std::string title) | |
| Standard Constructor. | |
| ~TupleImp () override | |
| Standard Destructor. | |
| ItemContainer & | items () override |
| Access item container. | |
| const ItemContainer & | items () const override |
| Access item container (CONST) | |
| const std::string & | title () const override |
| Object title. | |
| const INTupleItem * | find (const std::string &name) const override |
| Find an item row of the Ntuple (CONST) | |
| INTupleItem * | find (const std::string &name) override |
| Find an item row of the Ntuple. | |
| char * | buffer () override |
| Access N tuple data buffer. | |
| const char * | buffer () const override |
| Access N tuple data buffer (CONST) | |
| IConversionSvc * | conversionService () const |
| Access conversion service. | |
| void | setConversionService (IConversionSvc *svc) |
| Access conversion service. | |
| INTupleSvc * | tupleService () const |
| Access conversion service. | |
| void | setTupleService (INTupleSvc *svc) |
| Access conversion service. | |
| StatusCode | attachSelector (ISelectStatement *sel) override |
| Attach selector. | |
| ISelectStatement * | selector () override |
| Access selector. | |
| virtual char * | setBuffer (std::unique_ptr< char[]> &&buff) |
| Set N tuple data buffer. | |
| char * | setBuffer (char *buff) override |
| Set N tuple data buffer. | |
| void | reset () override |
| Reset all entries to their default values. | |
| StatusCode | add (INTupleItem *item) override |
| Add an item row to the N tuple. | |
| StatusCode | remove (INTupleItem *item) override |
| Remove an item row (identified by pointer) from the N tuple. | |
| StatusCode | remove (const std::string &name) override |
| Remove an item row (identified by name) from the N tuple. | |
| StatusCode | write () override |
| Write record of the NTuple (Shortcut of writeRecord) | |
| StatusCode | writeRecord () override |
| Write record of the NTuple. | |
| StatusCode | read () override |
| Read record of the NTuple (Shortcut of readRecord) | |
| StatusCode | readRecord () override |
| Read record of the NTuple. | |
| StatusCode | save () override |
| Save the NTuple. | |
Public Member Functions inherited from NTuple::Tuple | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, Item< TYPE > &result) |
| Locate a scalar Item of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, const Item< TYPE > &result) const |
| Locate a scalar Item of data to the N tuple type safe (CONST) | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, Array< TYPE > &result) |
| Locate a Array of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, const Array< TYPE > &result) const |
| Locate a Array of data to the N tuple type safe (CONST) | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, Matrix< TYPE > &result) |
| Locate a Matrix of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | item (const std::string &name, const Matrix< TYPE > &result) const |
| Locate a Matrix of data to the N tuple type safe (CONST) | |
| template<class TYPE> | |
| StatusCode | addItem (const std::string &name, Item< TYPE > &itm) |
| Add a scalar data item a N tuple. | |
| template<class TYPE> | |
| StatusCode | addItem (const std::string &name, Item< TYPE * > &itm) |
| Add an simple object item to an N tuple. | |
| StatusCode | addItem (const std::string &name, Item< IOpaqueAddress * > &itm) |
| Add an address object item to an N tuple: specialized call. | |
| template<class TYPE, class RANGE> | |
| StatusCode | addItem (const std::string &name, Item< TYPE > &itm, const RANGE low, const RANGE high) |
| Add a scalar data item a N tuple with a range. | |
| template<class TYPE> | |
| StatusCode | addItem (const std::string &name, long dim, Array< TYPE > &array) |
| Add an fixed-size Array of data to a column wise N tuple. | |
| template<class TYPE, class RANGE> | |
| StatusCode | addItem (const std::string &name, long dim, Array< TYPE > &array, const RANGE low, const RANGE high) |
| Add an fixed-size Array of data to a column wise N tuple with a range. | |
| template<class TYPE, class INDEX, class RANGE> | |
| StatusCode | addItem (const std::string &name, Item< INDEX > &index, Array< TYPE > &array, const RANGE low, const RANGE high) |
| Add an indexed Array of data to a column wise N tuple with a range. | |
| template<class TYPE, class INDEX, class RANGE> | |
| StatusCode | addIndexedItem (const std::string &name, Item< INDEX > &index, Array< TYPE > &array, const RANGE low, const RANGE high) |
| Add an indexed Array of data to a column wise N tuple with a range. | |
| template<class TYPE, class INDEX> | |
| StatusCode | addItem (const std::string &name, Item< INDEX > &index, Array< TYPE > &array) |
| Add an indexed Array of data to a column wise N tuple. | |
| template<class TYPE, class INDEX> | |
| StatusCode | addIndexedItem (const std::string &name, Item< INDEX > &index, Array< TYPE > &array) |
| Add an indexed Array of data to a column wise N tuple. | |
| template<class TYPE> | |
| StatusCode | addItem (const std::string &name, long cols, long rows, Matrix< TYPE > &matrix) |
| Add an fixed size Matrix of data to a column wise N tuple. | |
| template<class TYPE, class RANGE> | |
| StatusCode | addItem (const std::string &name, long cols, long rows, Matrix< TYPE > &result, const RANGE low, const RANGE high) |
| Add an fixed size Matrix of data to a column wise N tuple. | |
| template<class TYPE, class INDEX> | |
| StatusCode | addItem (const std::string &name, Item< INDEX > &index, Matrix< TYPE > &matrix, long rows) |
| Add an variable size Matrix of data to a column wise N tuple. | |
| template<class TYPE, class INDEX> | |
| StatusCode | addIndexedItem (const std::string &name, Item< INDEX > &col_index, long rows, Matrix< TYPE > &matrix) |
| Add an variable size Matrix of data to a column wise N tuple. | |
| template<class TYPE, class INDEX, class RANGE> | |
| StatusCode | addItem (const std::string &name, Item< INDEX > &index, Matrix< TYPE > &matrix, long rows, const RANGE low, const RANGE high) |
| Add an variable size Matrix of data to a column wise N tuple. | |
| template<class TYPE, class INDEX, class RANGE> | |
| StatusCode | addIndexedItem (const std::string &name, Item< INDEX > &index, long rows, Matrix< TYPE > &matrix, const RANGE low, const RANGE high) |
| Add an variable size Matrix of data to a column wise N tuple. | |
Public Member Functions inherited from DataObject | |
| DataObject () | |
| Standard Constructor. | |
| DataObject (const DataObject &rhs) | |
| Copy Constructor. | |
| DataObject & | operator= (const DataObject &rhs) |
| Assignment Operator. | |
| DataObject (DataObject &&rhs) | |
| Move Constructor. | |
| DataObject & | operator= (DataObject &&rhs) |
| Move Assignment Operator. | |
| virtual | ~DataObject () |
| Standard Destructor. | |
| virtual unsigned long | addRef () |
| Add reference to object. | |
| virtual unsigned long | release () |
| release reference to object | |
| virtual const CLID & | clID () const |
| Retrieve reference to class definition structure. | |
| const std::string & | name () const |
| Retreive DataObject name. It is the name when registered in the store. | |
| virtual StatusCode | update () |
| Provide empty placeholder for internal object reconfiguration callback. | |
| void | setRegistry (IRegistry *pRegistry) |
| Set pointer to Registry. | |
| IRegistry * | registry () const |
| Get pointer to Registry. | |
| LinkManager * | linkMgr () |
| Retrieve Link manager. | |
| const LinkManager * | linkMgr () const |
| unsigned char | version () const |
| Retrieve version number of this object representation. | |
| void | setVersion (unsigned char vsn) |
| Set version number of this object representation. | |
| unsigned long | refCount () const |
| Return the refcount. | |
| virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the output stream (ASCII) | |
Public Member Functions inherited from INTuple | |
| virtual | ~INTuple ()=default |
Protected Attributes | |
| ItemContainer | m_items |
| Container with N tuple _Columns. | |
| bool | m_isBooked = false |
| Flag wether N tuple is booked. | |
| std::string | m_title |
| N tuple title. | |
| SmartIF< ISelectStatement > | m_pSelector |
| Possibly hanging selector. | |
| std::unique_ptr< char[]> | m_buffer |
| Buffer. | |
| INTupleSvc * | m_ntupleSvc = nullptr |
| Reference to N-tuple service used. | |
| IConversionSvc * | m_cnvSvc = nullptr |
| Reference to the conversion service used. | |
Private Member Functions | |
| TupleImp (const TupleImp &)=delete | |
| Standard Copy Constructor. | |
Additional Inherited Members | |
Public Types inherited from INTuple | |
| typedef std::vector< INTupleItem * > | ItemContainer |
Static Public Member Functions inherited from DataObject | |
| static const CLID & | classID () |
| Retrieve reference to class definition structure (static access) | |
Protected Member Functions inherited from NTuple::Tuple | |
| template<class TYPE> | |
| StatusCode | i_item (const std::string &name, _Item< TYPE > *&result) const |
| Locate a _Column of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | i_item (const std::string &name, _Item< TYPE * > *&result) const |
| Locate a _Column of data to the N tuple type unsafe for objects. | |
| StatusCode | i_item (const std::string &name, _Item< IOpaqueAddress * > *&result) const |
| Locate a _Column of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | i_item (const std::string &name, _Array< TYPE > *&result) const |
| Locate a _Array of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | i_item (const std::string &name, _Matrix< TYPE > *&result) const |
| Locate a _Matrix of data to the N tuple type safe. | |
| template<class TYPE> | |
| StatusCode | i_addItem (const std::string &name, long, const std::string &, TYPE low, TYPE high, _Item< TYPE > *&result) |
| Add a _Item of data to the N tuple. | |
| template<class TYPE> | |
| StatusCode | i_addItem (const std::string &name, long dim, const std::string &index, TYPE low, TYPE high, _Array< TYPE > *&result) |
| Add a _Item of data to the N tuple. | |
| template<class TYPE> | |
| StatusCode | i_addItem (const std::string &name, long dim1, long dim2, const std::string &index, TYPE low, TYPE high, _Matrix< TYPE > *&result) |
| Add a _Item of data to the N tuple. | |
| template<class TYPE> | |
| StatusCode | i_addObject (const std::string &name, _Item< TYPE * > *&result, const std::type_info &) |
Definition at line 23 of file NTupleImplementation.h.
|
privatedelete |
Standard Copy Constructor.
| NTuple::TupleImp::TupleImp | ( | std::string | title | ) |
Standard Constructor.
Definition at line 17 of file NTupleImplementation.cpp.
|
override |
Standard Destructor.
Definition at line 18 of file NTupleImplementation.cpp.
|
overridevirtual |
Add an item row to the N tuple.
Implements INTuple.
Definition at line 44 of file NTupleImplementation.cpp.
|
overridevirtual |
Attach selector.
Implements INTuple.
Definition at line 23 of file NTupleImplementation.cpp.
|
inlineoverridevirtual |
Access N tuple data buffer (CONST)
Implements INTuple.
Definition at line 66 of file NTupleImplementation.h.
|
inlineoverridevirtual |
Access N tuple data buffer.
Implements INTuple.
Definition at line 64 of file NTupleImplementation.h.
|
inline |
Access conversion service.
Definition at line 68 of file NTupleImplementation.h.
|
inlineoverridevirtual |
Find an item row of the Ntuple (CONST)
Implements INTuple.
Definition at line 60 of file NTupleImplementation.h.
|
inlineoverridevirtual |
Find an item row of the Ntuple.
Implements INTuple.
Definition at line 62 of file NTupleImplementation.h.
|
overridevirtual |
Internally used by abstract classes.
Locate a column of data to the N tuple (not type safe)
Implements INTuple.
Definition at line 37 of file NTupleImplementation.cpp.
|
inlineoverridevirtual |
Access item container (CONST)
Implements INTuple.
Definition at line 56 of file NTupleImplementation.h.
|
inlineoverridevirtual |
|
overridevirtual |
Read record of the NTuple (Shortcut of readRecord)
Implements INTuple.
Definition at line 84 of file NTupleImplementation.cpp.
|
overridevirtual |
|
overridevirtual |
Remove an item row (identified by name) from the N tuple.
Remove a column from the N-tuple.
Implements INTuple.
Definition at line 56 of file NTupleImplementation.cpp.
|
overridevirtual |
Remove an item row (identified by pointer) from the N tuple.
Remove a column from the N-tuple.
Implements INTuple.
Definition at line 62 of file NTupleImplementation.cpp.
|
overridevirtual |
Reset all entries to their default values.
Reset N tuple to default values.
Implements INTuple.
Definition at line 32 of file NTupleImplementation.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Set N tuple data buffer.
Implements INTuple.
Definition at line 75 of file NTupleImplementation.cpp.
|
virtual |
Set N tuple data buffer.
Definition at line 70 of file NTupleImplementation.cpp.
|
inline |
Access conversion service.
Definition at line 70 of file NTupleImplementation.h.
|
inline |
Access conversion service.
Definition at line 74 of file NTupleImplementation.h.
|
inlineoverridevirtual |
|
inline |
|
overridevirtual |
Write record of the NTuple (Shortcut of writeRecord)
Implements INTuple.
Definition at line 80 of file NTupleImplementation.cpp.
|
overridevirtual |
|
protected |
Buffer.
Definition at line 34 of file NTupleImplementation.h.
|
protected |
Reference to the conversion service used.
Definition at line 38 of file NTupleImplementation.h.
|
protected |
Flag wether N tuple is booked.
Definition at line 28 of file NTupleImplementation.h.
|
protected |
Container with N tuple _Columns.
Definition at line 26 of file NTupleImplementation.h.
|
protected |
Reference to N-tuple service used.
Definition at line 36 of file NTupleImplementation.h.
|
protected |
Possibly hanging selector.
Definition at line 32 of file NTupleImplementation.h.
|
protected |
N tuple title.
Definition at line 30 of file NTupleImplementation.h.