Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
columnar::OptObjectId< CI, CM > Class Template Reference

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

#include <OptObjectId.h>

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

Detailed Description

template<ContainerId 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 24 of file OptObjectId.h.


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