ATLAS Offline Software
MuonDef.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_MUON_MUON_DEF_H
9 #define COLUMNAR_MUON_MUON_DEF_H
10 
12 #include <xAODMuon/MuonContainer.h>
13 
14 namespace columnar
15 {
16  namespace ContainerId
17  {
18  struct muon : regularCIBase<xAOD::Muon,xAOD::MuonContainer>
19  {
20  static constexpr std::string_view idName = "muon";
21  };
22  }
23 
27  template<typename CT,typename CM=ColumnarModeDefault> using MuonAccessor = AccessorTemplate<ContainerId::muon,CT,ColumnAccessMode::input,CM>;
28  template<typename CT,typename CM=ColumnarModeDefault> using MuonDecorator = AccessorTemplate<ContainerId::muon,CT,ColumnAccessMode::output,CM>;
29 }
30 
31 #endif
columnar::ContainerId::muon
Definition: MuonDef.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
MuonContainer.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::AccessorTemplate
the raw column accessor template class
Definition: ColumnAccessor.h:81
columnar::ContainerId::muon::idName
static constexpr std::string_view idName
Definition: MuonDef.h:20