The Gaudi Framework
v30r3 (a5ef0a68)
|
Abstract base class which allows the user to interact with the actual N tuple implementation. More...
#include <GaudiKernel/NTuple.h>
Public Member Functions | |
template<class TYPE > | |
StatusCode | item (const std::string &name, Item< TYPE > &result) |
Locate a scalar Item of data to the N tuple type safe. More... | |
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) More... | |
template<class TYPE > | |
StatusCode | item (const std::string &name, Array< TYPE > &result) |
Locate a Array of data to the N tuple type safe. More... | |
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) More... | |
template<class TYPE > | |
StatusCode | item (const std::string &name, Matrix< TYPE > &result) |
Locate a Matrix of data to the N tuple type safe. More... | |
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) More... | |
template<class TYPE > | |
StatusCode | addItem (const std::string &name, Item< TYPE > &itm) |
Add a scalar data item a N tuple. More... | |
template<class TYPE > | |
StatusCode | addItem (const std::string &name, Item< TYPE * > &itm) |
Add an simple object item to an N tuple. More... | |
StatusCode | addItem (const std::string &name, Item< IOpaqueAddress * > &itm) |
Add an address object item to an N tuple: specialized call. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
Public Member Functions inherited from DataObject | |
DataObject () | |
Standard Constructor. More... | |
DataObject (const DataObject &rhs) | |
Copy Constructor. More... | |
DataObject & | operator= (const DataObject &rhs) |
Assignment Operator. More... | |
DataObject (DataObject &&rhs) | |
Move Constructor. More... | |
DataObject & | operator= (DataObject &&rhs) |
Move Assignment Operator. More... | |
virtual | ~DataObject () |
Standard Destructor. More... | |
virtual unsigned long | addRef () |
Add reference to object. More... | |
virtual unsigned long | release () |
release reference to object More... | |
virtual const CLID & | clID () const |
Retrieve reference to class definition structure. More... | |
const std::string & | name () const |
Retreive DataObject name. It is the name when registered in the store. More... | |
virtual StatusCode | update () |
Provide empty placeholder for internal object reconfiguration callback. More... | |
void | setRegistry (IRegistry *pRegistry) |
Set pointer to Registry. More... | |
IRegistry * | registry () const |
Get pointer to Registry. More... | |
LinkManager * | linkMgr () const |
Retrieve Link manager. More... | |
unsigned char | version () const |
Retrieve version number of this object representation. More... | |
void | setVersion (unsigned char vsn) |
Set version number of this object representation. More... | |
unsigned long | refCount () const |
Return the refcount. More... | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII) More... | |
Public Member Functions inherited from INTuple | |
virtual ItemContainer & | items ()=0 |
Access item container. More... | |
virtual const ItemContainer & | items () const =0 |
Access item container (CONST) More... | |
virtual char * | setBuffer (char *buff)=0 |
Attach data buffer. More... | |
virtual const char * | buffer () const =0 |
Access data buffer (CONST) More... | |
virtual char * | buffer ()=0 |
Access data buffer. More... | |
virtual const std::string & | title () const =0 |
Object title. More... | |
virtual void | reset ()=0 |
Reset all entries to their default values. More... | |
virtual const INTupleItem * | find (const std::string &name) const =0 |
Find an item row of the Ntuple (CONST) More... | |
virtual INTupleItem * | find (const std::string &name)=0 |
Find an item row of the Ntuple. More... | |
virtual StatusCode | add (INTupleItem *item)=0 |
Add an item row to the N tuple. More... | |
virtual StatusCode | remove (INTupleItem *item)=0 |
Remove an item row (identified by pointer) from the N tuple. More... | |
virtual StatusCode | remove (const std::string &name)=0 |
Remove an item row (identified by name) from the N tuple. More... | |
virtual StatusCode | attachSelector (ISelectStatement *sel)=0 |
Attach selector. More... | |
virtual ISelectStatement * | selector ()=0 |
Access selector. More... | |
virtual StatusCode | write ()=0 |
Write record of the NTuple (Shortcut of writeRecord) More... | |
virtual StatusCode | writeRecord ()=0 |
Write record of the NTuple. More... | |
virtual StatusCode | read ()=0 |
Read record of the NTuple (Shortcut of readRecord) More... | |
virtual StatusCode | readRecord ()=0 |
Read record of the NTuple. More... | |
virtual StatusCode | save ()=0 |
Save the NTuple. More... | |
virtual | ~INTuple ()=default |
Protected Member Functions | |
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. More... | |
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. More... | |
StatusCode | i_item (const std::string &name, _Item< IOpaqueAddress * > *&result) const |
Locate a _Column of data to the N tuple type safe. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
template<class TYPE > | |
StatusCode | i_addObject (const std::string &name, _Item< TYPE * > *&result, const std::type_info &) |
Protected Member Functions inherited from INTuple | |
virtual INTupleItem * | i_find (const std::string &name) const =0 |
Internally used by abstract classes. More... | |
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) More... | |
Abstract base class which allows the user to interact with the actual N tuple implementation.
The class is abstract, because the template methods must be instantiated by the compiler at compile time. Otherwise the references would be unresolved.
|
inline |
Add an indexed Array of data to a column wise N tuple with a range.
You should use this entry point to add a VARIABLE SIZE ARRAY to a column wise N-tuple. The dimension of the array is unspecified and depends on the data range, which you allowed for the index column.
Hence you have to be careful on the allowed data range of the index column, because the index column determines the total allocated memory.
Note: Checks on the data range are not implemented!
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the size of the array. |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple array. |
high | Upper edge of client data values allowed to fill into the N-tuple array. |
Definition at line 728 of file NTuple.h.
|
inline |
Add an indexed Array of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE ARRAY to a column wise N-tuple. The dimension of the array is unspecified and depends on the data range, which you allowed for the index column.
Hence, you have to be careful on the allowed data range of the index column, because the index column determines the total allocated memory.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the size of the array. |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 785 of file NTuple.h.
|
inline |
Add an variable size Matrix of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE MATRIX to a column wise N-tuple. The number of columns of the matrix is given by the allowed data range of the index column. The number of rows however, which are allowed in the matrix must be specified explicitly and cannot be variable.
Attention: Do not confuse with entry point to add a FIXED SIZE MATRIX.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the number of data columns in the matrix |
rows | Number of data rows in the Matrix. |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 896 of file NTuple.h.
|
inline |
Add an variable size Matrix of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE MATRIX to a column wise N-tuple. The number of columns of the matrix is given by the allowed data range of the index column. The number of rows however, which are allowed in the matrix must be specified explicitly and cannot be variable. Also the range of allowed data values to be filled into the data area of the matrix can be specified.
Note: Checks on the data range are not implemented! Attention: Do not confuse with entry point to add a FIXED SIZE MATRIX.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the number of data columns in the matrix |
rows | Number of data rows in the Matrix. |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple matrix. |
high | Upper edge of client data values allowed to fill into the N-tuple matrix. |
Definition at line 969 of file NTuple.h.
|
inline |
Add a scalar data item a N tuple.
Use this entry point to connect any allowed scalar data type to an N-tuple. The value filled, may have any range. Do NOT use this entry point to specify an index column in a column wise N-tuple.
name | Name of the column in the column wise N-tuple |
itm | Reference to the Item<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 564 of file NTuple.h.
|
inline |
Add an simple object item to an N tuple.
name | Name of the column in the column wise N-tuple |
itm | Reference to the Item<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 579 of file NTuple.h.
|
inline |
Add an address object item to an N tuple: specialized call.
name | Name of the column in the column wise N-tuple |
itm | Reference to the Item<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 592 of file NTuple.h.
|
inline |
Add a scalar data item a N tuple with a range.
Typically this entry point is used to specuify index column with a fixed data range for a column wise N-tuple.
Note: Checks on the data range are not implemented!
name | Name of the column in the column wise N-tuple |
itm | Reference to the Item<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple array. |
high | Upper edge of client data values allowed to fill into the N-tuple array. |
Definition at line 616 of file NTuple.h.
|
inline |
Add an fixed-size Array of data to a column wise N tuple.
You should use this entry point to add a FIXED SIZE ARRAY to a column wise N-tuple. The dimension of the array must be specified.
name | Name of the column in the column wise N-tuple |
dim | Length of the array to be added to the N-tuple |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 635 of file NTuple.h.
|
inline |
Add an fixed-size Array of data to a column wise N tuple with a range.
You should use this entry point to add a FIXED SIZE ARRAY to a column wise N-tuple. The dimension of the array must be specified.
Note: Checks on the data range are not implemented!
name | Name of the column in the column wise N-tuple |
dim | Length of the array to be added to the N-tuple |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple array. |
high | Upper edge of client data values allowed to fill into the N-tuple array. |
Definition at line 660 of file NTuple.h.
|
inline |
Add an indexed Array of data to a column wise N tuple with a range.
You should use this entry point to add a VARIABLE SIZE ARRAY to a column wise N-tuple. The dimension of the array is unspecified and depends on the data range, which you allowed for the index column.
Hence you have to be careful on the allowed data range of the index column, because the index column determines the total allocated memory.
Note: Checks on the data range are not implemented!
Note: Due to confusion with the entry point to connecting a fixed size array the use of this function is DEPRECATED *** please use addIndexedItem(...) instead.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the size of the array. |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple array. |
high | Upper edge of client data values allowed to fill into the N-tuple array. |
Definition at line 696 of file NTuple.h.
|
inline |
Add an indexed Array of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE ARRAY to a column wise N-tuple. The dimension of the array is unspecified and depends on the data range, which you allowed for the index column.
Hence, you have to be careful on the allowed data range of the index column, because the index column determines the total allocated memory.
Note: Due to confusion with the entry point to connecting a fixed size array the use of this member function is DEPRECATED *** please use addIndexedItem(...) instead.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the size of the array. |
array | Reference to the Array<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 759 of file NTuple.h.
|
inline |
Add an fixed size Matrix of data to a column wise N tuple.
You should use this entry point to add a FIXED SIZE MATRIX to a column wise N-tuple. The dimension of the matrix must be specified.
Attention: Do not confuse with entry point to add a VARIABLE SIZE MATRIX!
name | Name of the column in the column wise N-tuple |
cols | Number of data columns in the Matrix. |
rows | Number of data rows in the Matrix. |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
Definition at line 809 of file NTuple.h.
|
inline |
Add an fixed size Matrix of data to a column wise N tuple.
You should use this entry point to add a FIXED SIZE MATRIX to a column wise N-tuple. The dimension of the matrix must be specified.
Note: Checks on the data range are not implemented! Attention: Do not confuse with entry point to add a VARIABLE SIZE MATRIX!
name | Name of the column in the column wise N-tuple |
cols | Number of data columns in the Matrix. |
rows | Number of data rows in the Matrix. |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
low | Lower edge of client data values allowed to fill into the N-tuple matrix. |
high | Upper edge of client data values allowed to fill into the N-tuple matrix. |
Definition at line 837 of file NTuple.h.
|
inline |
Add an variable size Matrix of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE MATRIX to a column wise N-tuple. The number of columns of the matrix is given by the allowed data range of the index column. The number of rows however, which are allowed in the matrix must be specified explicitly and cannot be variable.
Attention: Do not confuse with entry point to add a FIXED SIZE MATRIX.
Note: Due to confusion with the entry point to connecting a fixed size matrix the use of this member function is DEPRECATED *** please use addIndexedItem(...) instead.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the number of data columns in the matrix |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
rows | Number of data rows in the Matrix. |
Definition at line 869 of file NTuple.h.
|
inline |
Add an variable size Matrix of data to a column wise N tuple.
You should use this entry point to add a VARIABLE SIZE MATRIX to a column wise N-tuple. The number of columns of the matrix is given by the allowed data range of the index column. The number of rows however, which are allowed in the matrix must be specified explicitly and cannot be variable. Also the range of allowed data values to be filled into the data area of the matrix can be specified.
Note: Checks on the data range are not implemented! Attention: Do not confuse with entry point to add a FIXED SIZE MATRIX.
Note: Due to confusion with the entry point to connecting a fixed size matrix the use of this member function is DEPRECATED *** please use addIndexedItem(...) instead.
name | Name of the column in the column wise N-tuple |
index | Reference to the scalar index column used to determine the number of data columns in the matrix |
matrix | Reference to the Matrix<TYPE> datatype, which should be connected to the N-tuple. |
rows | Number of data rows in the Matrix. |
low | Lower edge of client data values allowed to fill into the N-tuple matrix. |
high | Upper edge of client data values allowed to fill into the N-tuple matrix. |
Definition at line 935 of file NTuple.h.
|
inlineprotected |
Add a _Item of data to the N tuple.
Definition at line 472 of file NTuple.h.
|
inlineprotected |
Add a _Item of data to the N tuple.
Definition at line 483 of file NTuple.h.
|
inlineprotected |
Add a _Item of data to the N tuple.
Definition at line 493 of file NTuple.h.
|
inlineprotected |
Definition at line 503 of file NTuple.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Locate a _Array of data to the N tuple type safe.
Definition at line 446 of file NTuple.h.
|
inlineprotected |
Locate a _Matrix of data to the N tuple type safe.
Definition at line 459 of file NTuple.h.
|
inline |
Locate a scalar Item of data to the N tuple type safe.
Definition at line 514 of file NTuple.h.
|
inline |
Locate a scalar Item of data to the N tuple type safe (CONST)
Definition at line 520 of file NTuple.h.
|
inline |
Locate a Array of data to the N tuple type safe.
Definition at line 526 of file NTuple.h.
|
inline |
Locate a Array of data to the N tuple type safe (CONST)
Definition at line 532 of file NTuple.h.
|
inline |
Locate a Matrix of data to the N tuple type safe.
Definition at line 538 of file NTuple.h.
|
inline |
Locate a Matrix of data to the N tuple type safe (CONST)
Definition at line 545 of file NTuple.h.