|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef ATHCONTAINERS_PACKEDLINKIMPL_H
18 #define ATHCONTAINERS_PACKEDLINKIMPL_H
21 #ifndef XAOD_STANDALONE
48 static constexpr
unsigned NBITS = 32;
114 template <
class STORABLE>
115 #ifndef XAOD_STANDALONE
133 #endif // not ATHCONTAINERS_PACKEDLINKIMPL_H
static constexpr uint32_t COLLECTION_MAX
Determine dependent types for ElementLink classes.
void setCollection(unsigned int collection)
Set the collection index;.
static constexpr unsigned INDEX_NBITS
uint32_t m_packed
The packed form of the link.
ElementLinkTraits class to specialize.
static constexpr uint32_t INDEX_MAX
static constexpr unsigned NBITS
PackedLinkBase(unsigned int collection, unsigned int index)
Constructor.
bool operator==(const PackedLinkBase &other) const
Comparison.
void setIndex(unsigned int index)
Set the element index;.
A packed version of ElementLink.
unsigned int index() const
Unpack the element index from the link.
PackedLinkBase()
Default constructor.
static constexpr unsigned COLLECTION_NBITS
unsigned int collection() const
Unpack the collection index from the link.