Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ColumnInfo.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_INTERFACES_COLUMN_INFO_H
9 #define COLUMNAR_INTERFACES_COLUMN_INFO_H
10 
11 #include <string>
12 #include <typeinfo>
13 #include <vector>
14 
15 namespace columnar
16 {
18  enum class ColumnAccessMode
19  {
21  input,
22 
24  output,
25 
27  update
28  };
29 
30 
33 
35  {
42  std::string name {};
43 
44 
46  unsigned index = 0u;
47 
48 
54  const std::type_info *type = nullptr;
55 
56 
59 
60 
74  std::string offsetName {};
75 
76 
84  bool isOffset = false;
85 
86 
94  std::string replacesColumn {};
95 
96 
113  bool isOptional = false;
114 
115 
130  std::string linkToName {};
131  };
132 }
133 
134 #endif
columnar::ColumnAccessMode::input
@ input
an input column
columnar::ColumnInfo::accessMode
ColumnAccessMode accessMode
the access mode for the column
Definition: ColumnInfo.h:58
columnar::ColumnInfo::name
std::string name
the name of the column
Definition: ColumnInfo.h:42
columnar::ColumnInfo::offsetName
std::string offsetName
the name of the offset column used for this column (or empty string for none)
Definition: ColumnInfo.h:74
index
Definition: index.py:1
columnar::ColumnInfo::replacesColumn
std::string replacesColumn
whether this replaces another column
Definition: ColumnInfo.h:94
columnar::ColumnInfo::type
const std::type_info * type
the type of the individual entries in the column
Definition: ColumnInfo.h:54
columnar::ColumnInfo::isOffset
bool isOffset
whether this is an offset column
Definition: ColumnInfo.h:84
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
columnar::ColumnAccessMode::output
@ output
an output column
columnar::ColumnInfo::linkToName
std::string linkToName
the name of the column we link to (or empty string if we don't link to a column)
Definition: ColumnInfo.h:130
columnar::ColumnInfo
a struct that contains meta-information about each column that's needed to interface the column with ...
Definition: ColumnInfo.h:35
columnar::ColumnInfo::isOptional
bool isOptional
whether this column is optional
Definition: ColumnInfo.h:113
columnar::ColumnAccessMode::update
@ update
an updateable column
columnar::ColumnAccessMode
ColumnAccessMode
an enum for the different access modes for a column
Definition: ColumnInfo.h:19
columnar::final
CM final
Definition: ColumnAccessor.h:106
columnar
Definition: ClusterDef.h:16