Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
13 
14 namespace columnar
15 {
16  namespace EventInfoHelpers
17  {
24 
25 
26  template<ContainerId 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
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