Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsAnalysis
Columnar
ColumnarEventInfo
ColumnarEventInfo
EventInfoHelpers.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_CORE_EVENT_INFO_HELPERS_H
9
#define COLUMNAR_CORE_EVENT_INFO_HELPERS_H
10
11
#include <
ColumnarCore/ColumnAccessor.h
>
12
#include <
ColumnarEventInfo/EventInfoDef.h
>
13
14
namespace
columnar
15
{
16
namespace
EventInfoHelpers
17
{
24
25
26
template
<ContainerId CI = ContainerId::eventInfo,
typename
CM=ColumnarModeDefault>
27
class
EventTypeAccessor
final
28
{
29
ColumnAccessor<CI,uint32_t,CM>
m_eventTypeBitmaskAcc
;
30
31
public
:
32
33
EventTypeAccessor
(
ColumnarTool<CM>
& columnarTool)
34
:
m_eventTypeBitmaskAcc
(columnarTool,
"eventTypeBitmask"
) {}
35
36
bool
operator ()
(
ObjectId<CI,CM>
object
,
xAOD::EventInfo::EventType
type
)
const
37
{
38
return
m_eventTypeBitmaskAcc
(
object
) &
static_cast<
uint32_t
>
(
type
);
39
}
40
};
41
}
42
}
43
44
#endif
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
columnar::EventInfoHelpers::EventTypeAccessor::EventTypeAccessor
EventTypeAccessor(ColumnarTool< CM > &columnarTool)
Definition:
EventInfoHelpers.h:33
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
columnar::EventInfoHelpers::EventTypeAccessor::operator()
bool operator()(ObjectId< CI, CM > object, xAOD::EventInfo::EventType type) const
Definition:
EventInfoHelpers.h:36
columnar::EventInfoHelpers::EventTypeAccessor::m_eventTypeBitmaskAcc
ColumnAccessor< CI, uint32_t, CM > m_eventTypeBitmaskAcc
Definition:
EventInfoHelpers.h:29
EventInfoDef.h
ColumnAccessor.h
columnar::EventInfoHelpers::EventTypeAccessor
Definition:
EventInfoHelpers.h:28
columnar::final
CM final
Definition:
ColumnAccessor.h:106
columnar::ObjectId
a class representing a single object (electron, muons, etc.)
Definition:
ObjectId.h:18
columnar
Definition:
ClusterDef.h:16
columnar::ColumnarTool
the base class for all columnar components
Definition:
ColumnAccessorDataArray.h:17
columnar::AccessorTemplate
the raw column accessor template class
Definition:
ColumnAccessor.h:81
xAOD::EventInfo_v1::EventType
EventType
Event type codes that can be set/checked in the bitmask.
Definition:
EventInfo_v1.h:149
Generated on Sun May 11 2025 21:09:35 for ATLAS Offline Software by
1.8.18