ATLAS Offline Software
|
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. More...
#include <TriggerElement.h>
Public Member Functions | |
ObjectIndex () | |
ObjectIndex (sub_index_type subType, index_type begin, index_type end) | |
constructor used to create index used in TE More... | |
sub_index_type | subTypeIndex () const |
to get collection index More... | |
index_type | objectsBegin () const |
to get object number in th ecollection More... | |
index_type | objectsEnd () const |
to get object number in th ecollection More... | |
bool | isSameOrWithin (const ObjectIndex *idx) const |
check if idx is the same as this or is within this index More... | |
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 |
Private Attributes | |
sub_index_type | m_subTypeIndex |
actual index storage More... | |
index_type | m_objIndexBegin |
auxiliary index word for big features More... | |
index_type | m_objIndexEnd |
auxiliary index word for big features More... | |
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.
Definition at line 75 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
TriggerElement::ObjectIndex::ObjectIndex | ( | ) |
Definition at line 234 of file TrigNavStructure/Root/TriggerElement.cxx.
TriggerElement::ObjectIndex::ObjectIndex | ( | sub_index_type | subType, |
index_type | begin, | ||
index_type | end | ||
) |
constructor used to create index used in TE
Definition at line 238 of file TrigNavStructure/Root/TriggerElement.cxx.
void TriggerElement::ObjectIndex::deserialize | ( | std::vector< uint32_t >::const_iterator & | inputIt | ) |
Definition at line 306 of file TrigNavStructure/Root/TriggerElement.cxx.
bool TriggerElement::ObjectIndex::isSameOrWithin | ( | const ObjectIndex * | idx | ) | const |
check if idx is the same as this or is within this index
Definition at line 332 of file TrigNavStructure/Root/TriggerElement.cxx.
uint32_t TriggerElement::ObjectIndex::objectsBegin | ( | ) | const |
to get object number in th ecollection
Definition at line 256 of file TrigNavStructure/Root/TriggerElement.cxx.
uint32_t TriggerElement::ObjectIndex::objectsEnd | ( | ) | const |
to get object number in th ecollection
Definition at line 260 of file TrigNavStructure/Root/TriggerElement.cxx.
|
inline |
Definition at line 99 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
bool TriggerElement::ObjectIndex::operator< | ( | const ObjectIndex & | obj | ) | const |
Definition at line 269 of file TrigNavStructure/Root/TriggerElement.cxx.
|
inline |
Definition at line 93 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
void TriggerElement::ObjectIndex::serialize | ( | std::vector< uint32_t > & | output | ) | const |
Definition at line 278 of file TrigNavStructure/Root/TriggerElement.cxx.
|
inline |
Definition at line 91 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
uint16_t TriggerElement::ObjectIndex::subTypeIndex | ( | ) | const |
to get collection index
Definition at line 247 of file TrigNavStructure/Root/TriggerElement.cxx.
void TriggerElement::ObjectIndex::updateBeginAndEnd | ( | index_type | begin, |
index_type | end | ||
) |
Definition at line 264 of file TrigNavStructure/Root/TriggerElement.cxx.
bool TriggerElement::ObjectIndex::valid | ( | ) | const |
Definition at line 342 of file TrigNavStructure/Root/TriggerElement.cxx.
|
private |
auxiliary index word for big features
Definition at line 105 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
|
private |
auxiliary index word for big features
Definition at line 106 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.
|
private |
actual index storage
Definition at line 104 of file TrigNavStructure/TrigNavStructure/TriggerElement.h.