ATLAS Offline Software
Loading...
Searching...
No Matches
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_EVENT_INFO_EVENT_INFO_HELPERS_H
9#define COLUMNAR_EVENT_INFO_EVENT_INFO_HELPERS_H
10
13
14namespace columnar
15{
17 {
24
25
26 template<ContainerIdConcept CI = ContainerId::eventInfo,typename CM=ColumnarModeDefault>
28 {
30
31 public:
32
34 : m_eventTypeBitmaskAcc (columnarTool, "eventTypeBitmask") {}
35
37 {
38 return m_eventTypeBitmaskAcc(object) & static_cast< uint32_t >( type );
39 }
40 };
41 }
42}
43
44#endif
the base class for all columnar components
ColumnAccessor< CI, uint32_t, CM > m_eventTypeBitmaskAcc
bool operator()(ObjectId< CI, CM > object, xAOD::EventInfo::EventType type) const
EventTypeAccessor(ColumnarTool< CM > &columnarTool)
a class representing a single object (electron, muons, etc.)
EventType
Event type codes that can be set/checked in the bitmask.
AccessorTemplate< CI, CT, ColumnAccessMode::input, CM > ColumnAccessor