ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleDef.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef COLUMNAR_TRUTH_TRUTH_PARTICLE_DEF_H
9#define COLUMNAR_TRUTH_TRUTH_PARTICLE_DEF_H
10
13
14namespace columnar
15{
16 struct TruthParticleDef : RegularContainerId<xAOD::TruthParticle,xAOD::TruthParticleContainer>
17 {
18 static constexpr std::string_view idName = "truthparticle";
19 };
20
24 template<typename CT,typename CM=ColumnarModeDefault> using TruthParticleAccessor = AccessorTemplate<TruthParticleDef,CT,ColumnAccessMode::input,CM>;
25 template<typename CT,typename CM=ColumnarModeDefault> using TruthParticleDecorator = AccessorTemplate<TruthParticleDef,CT,ColumnAccessMode::output,CM>;
26}
27
28#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.)
OptObjectId< TruthParticleDef > OptTruthParticleId
ObjectRange< TruthParticleDef > TruthParticleRange
AccessorTemplate< TruthParticleDef, CT, ColumnAccessMode::input, CM > TruthParticleAccessor
AccessorTemplate< TruthParticleDef, CT, ColumnAccessMode::output, CM > TruthParticleDecorator
ObjectId< TruthParticleDef > TruthParticleId
Container id definitions for the columnar infrastructure.
static constexpr std::string_view idName