HLT::TriggerElement::ObjectIndex Class Reference

Helper class for conversion from/to int stored in TE and pair of ints used in Navigation Object pointer in Navigation is pair of ints. One is pointing so collection of givent type. Second int points to object in this sub collection. In TE fro historical reason (and space saving) this 2 ints need to colapse into one 32bit int. More...

#include <TriggerElement.h>

List of all members.

Public Member Functions

 ObjectIndex (sub_index_type subType, index_type begin, index_type end)
 constructor used to create index used in TE
sub_index_type subTypeIndex () const
 to get collection index
index_type objectsBegin () const
 to get object number in th ecollection
index_type objectsEnd () const
 to get object number in th ecollection
bool isSameOrWithin (const ObjectIndex *idx) const
 check if idx is the same as this or is within this index
void updateBeginAndEnd (index_type begin, index_type end)
bool operator< (const ObjectIndex &obj) const
void serialize (std::vector< uint32_t > &output) const
void deserialize (std::vector< uint32_t >::const_iterator &inputIt)
void setSubTypeIndex (sub_index_type idx)
bool valid () const
bool operator== (const ObjectIndex &rhs) const
bool operator!= (const ObjectIndex &rhs) const

Detailed Description

Helper class for conversion from/to int stored in TE and pair of ints used in Navigation Object pointer in Navigation is pair of ints. One is pointing so collection of givent type. Second int points to object in this sub collection. In TE fro historical reason (and space saving) this 2 ints need to colapse into one 32bit int.

Warning:
Therefore limitation ... we can have up to 65000 distinct collections of given type
Therefore limitation ... we can have up to 65000 objects in each subcollection.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1