ATLAS Offline Software
columnar::OptObjectId< CI, CM > Class Template Reference

a class representing a single optional object (electron, muons, etc.) More...

#include <ContainerId.h>

Collaboration diagram for columnar::OptObjectId< CI, CM >:

Detailed Description

template<ContainerIdConcept CI, typename CM = ColumnarModeDefault>
class columnar::OptObjectId< CI, CM >

a class representing a single optional object (electron, muons, etc.)

This essentially behaves like an std::optional<ObjectId>, and is used in cases in which a given object may or may not exist. For xAOD only code this is typically handled by a pointer with nullptr taking the empty value. This is its own type both for compactness and to allow a slightly more efficient representation internally.

Definition at line 179 of file ContainerId.h.


The documentation for this class was generated from the following file: