ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14namespace 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
the raw column accessor template class
a class representing a single object (electron, muons, etc.)
a class representing a continuous sequence of objects (a.k.a. a container)
a class representing a single optional object (electron, muons, etc.)
a namespace for holding the ids for the different "virtual" containers
Definition ClusterDef.h:18
ObjectId< ContainerId::muon > MuonId
Definition MuonDef.h:25
AccessorTemplate< ContainerId::muon, CT, ColumnAccessMode::output, CM > MuonDecorator
Definition MuonDef.h:28
ObjectRange< ContainerId::muon > MuonRange
Definition MuonDef.h:24
OptObjectId< ContainerId::muon > OptMuonId
Definition MuonDef.h:26
AccessorTemplate< ContainerId::muon, CT, ColumnAccessMode::input, CM > MuonAccessor
Definition MuonDef.h:27
static constexpr std::string_view idName
Definition MuonDef.h:20
a template that provides a base definition of container id for a regular container