File ObjectID.h

namespace podio

Functions

inline std::ostream &operator<<(std::ostream &os, const podio::ObjectID &id)
class ObjectID
#include <podio/ObjectID.h>

Public Functions

inline bool operator==(const ObjectID &other) const

index and collectionID uniquely defines the object.

this operator is necessary for meaningful comparisons in python

inline bool operator!=(const ObjectID &other) const

Public Members

int index = {untracked}

index of object in collection

uint32_t collectionID = {static_cast<uint32_t>(untracked)}

ID of the collection.

Public Static Attributes

static const int untracked = -1

not part of a collection

static const int invalid = -2

invalid or non-available object