ATLAS Offline Software
Loading...
Searching...
No Matches
ClusterDef.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_CLUSTER_CLUSTER_DEF_H
9#define COLUMNAR_CLUSTER_CLUSTER_DEF_H
10
14
15namespace columnar
16{
17 namespace ContainerId
18 {
19 struct cluster : regularCIBase<xAOD::CaloCluster,xAOD::CaloClusterContainer>
20 {
22 static constexpr std::string_view idName = "cluster";
23 };
24 }
25
28 template<typename CT,typename CM=ColumnarModeDefault> using ClusterAccessor = AccessorTemplate<ContainerId::cluster,CT,ColumnAccessMode::input,CM>;
29 template<typename CT,typename CM=ColumnarModeDefault> using ClusterDecorator = AccessorTemplate<ContainerId::cluster,CT,ColumnAccessMode::output,CM>;
30}
31
32#endif
the raw column accessor template class
a class representing a single object (electron, muons, etc.)
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::cluster > ClusterId
Definition ClusterDef.h:26
AccessorTemplate< ContainerId::cluster, CT, ColumnAccessMode::output, CM > ClusterDecorator
Definition ClusterDef.h:29
OptObjectId< ContainerId::cluster > OptClusterId
Definition ClusterDef.h:27
AccessorTemplate< ContainerId::cluster, CT, ColumnAccessMode::input, CM > ClusterAccessor
Definition ClusterDef.h:28
static constexpr std::string_view idName
a unique internal identifier for this container
Definition ClusterDef.h:22
a template that provides a base definition of container id for a regular container