ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoDef.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef COLUMNAR_EVENT_INFO_EVENT_INFO_DEF_H
9#define COLUMNAR_EVENT_INFO_EVENT_INFO_DEF_H
10
13
14namespace columnar
15{
16 namespace ContainerId
17 {
18 struct eventInfo : regularCIBase<xAOD::EventInfo,xAOD::EventInfo>
19 {
20 // this is hard-coded in the ColumnarTool implementation, if you
21 // change it here, you need to change it there as well
22 static constexpr std::string_view idName = "eventInfo";
23
24 // redefine this to be per-event ObjectId instead of per-event
25 // ObjectRange
26 static constexpr bool perEventRange = false;
27 static constexpr bool perEventId = true;
28 };
29 }
30
34 template<typename CT,typename CM=ColumnarModeDefault> using EventInfoAccessor = AccessorTemplate<ContainerId::eventInfo,CT,ColumnAccessMode::input,CM>;
35 template<typename CT,typename CM=ColumnarModeDefault> using EventInfoDecorator = AccessorTemplate<ContainerId::eventInfo,CT,ColumnAccessMode::output,CM>;
36}
37
38#endif
the raw column accessor template class
a class representing a single object (electron, muons, etc.)
a class representing a continuous sequence of objects (a.k.a. a container)
a class representing a single optional object (electron, muons, etc.)
a namespace for holding the ids for the different "virtual" containers
Definition ClusterDef.h:18
AccessorTemplate< ContainerId::eventInfo, CT, ColumnAccessMode::input, CM > EventInfoAccessor
AccessorTemplate< ContainerId::eventInfo, CT, ColumnAccessMode::output, CM > EventInfoDecorator
OptObjectId< ContainerId::eventInfo > OptEventInfoId
ObjectRange< ContainerId::eventInfo > EventInfoRange
ObjectId< ContainerId::eventInfo > EventInfoId
static constexpr bool perEventRange
static constexpr bool perEventId
static constexpr std::string_view idName
a template that provides a base definition of container id for a regular container