ATLAS Offline Software
PhysicsAnalysis
Columnar
ColumnarEventInfo
ColumnarEventInfo
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
11
#include <
ColumnarCore/ContainerId.h
>
12
#include <
xAODEventInfo/EventInfo.h
>
13
14
namespace
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
31
using
EventInfoRange
=
ObjectRange<ContainerId::eventInfo>
;
32
using
EventInfoId
=
ObjectId<ContainerId::eventInfo>
;
33
using
OptEventInfoId
=
OptObjectId<ContainerId::eventInfo>
;
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
columnar::ContainerId::eventInfo
Definition:
EventInfoDef.h:19
columnar::OptObjectId
a class representing a single optional object (electron, muons, etc.)
Definition:
ContainerId.h:177
columnar::ObjectRange
a class representing a continuous sequence of objects (a.k.a. a container)
Definition:
ContainerId.h:175
columnar::ObjectId
a class representing a single object (electron, muons, etc.)
Definition:
ContainerId.h:176
columnar::ContainerId::eventInfo::perEventRange
static constexpr bool perEventRange
Definition:
EventInfoDef.h:26
EventInfo.h
columnar
Definition:
ClusterDef.h:16
ContainerId.h
columnar::ContainerId::regularCIBase
a template that provides a base definition of container id for a regular container
Definition:
ContainerId.h:107
columnar::ContainerId::eventInfo::idName
static constexpr std::string_view idName
Definition:
EventInfoDef.h:22
columnar::AccessorTemplate
the raw column accessor template class
Definition:
ColumnAccessor.h:81
columnar::ContainerId::eventInfo::perEventId
static constexpr bool perEventId
Definition:
EventInfoDef.h:27
Generated on Mon Sep 1 2025 21:10:09 for ATLAS Offline Software by
1.8.18