ATLAS Offline Software
Loading...
Searching...
No Matches
columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal > Class Template Reference

columnar momentum accessors that redirect to the xAOD::IParticle interface internally More...

#include <MomentumAccessors.h>

Collaboration diagram for columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >:

Public Types

using CI = CIVal
using CM = CMVal

Public Member Functions

double pt (ObjectId< CI, CM > object) const
double eta (ObjectId< CI, CM > object) const
double phi (ObjectId< CI, CM > object) const
double m (ObjectId< CI, CM > object) const
double e (ObjectId< CI, CM > object) const
double rapidity (ObjectId< CI, CM > object) const

Detailed Description

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
class columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >

columnar momentum accessors that redirect to the xAOD::IParticle interface internally

This is mostly to allow a fallback version of columnar accessors that need to be configured at runtime, but haven't been configured (yet). Should this ever be used in actual columnar code, it will throw an exception when called.

Definition at line 92 of file MomentumAccessors.h.

Member Typedef Documentation

◆ CI

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
using columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::CI = CIVal

Definition at line 95 of file MomentumAccessors.h.

◆ CM

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
using columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::CM = CMVal

Definition at line 96 of file MomentumAccessors.h.

Member Function Documentation

◆ e()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::e ( ObjectId< CI, CM > object) const
inline

Definition at line 106 of file MomentumAccessors.h.

106 {
107 return object.getXAODObject().e();}

◆ eta()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::eta ( ObjectId< CI, CM > object) const
inline

Definition at line 100 of file MomentumAccessors.h.

100 {
101 return object.getXAODObject().eta();}

◆ m()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::m ( ObjectId< CI, CM > object) const
inline

Definition at line 104 of file MomentumAccessors.h.

104 {
105 return object.getXAODObject().m();}

◆ phi()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::phi ( ObjectId< CI, CM > object) const
inline

Definition at line 102 of file MomentumAccessors.h.

102 {
103 return object.getXAODObject().phi();}

◆ pt()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::pt ( ObjectId< CI, CM > object) const
inline

Definition at line 98 of file MomentumAccessors.h.

98 {
99 return object.getXAODObject().pt();}

◆ rapidity()

template<ContainerIdConcept CIVal, typename CMVal = ColumnarModeDefault>
double columnar::Detail::MomentumAccessorsIParticle< CIVal, CMVal >::rapidity ( ObjectId< CI, CM > object) const
inline

Definition at line 108 of file MomentumAccessors.h.

108 {
109 return object.getXAODObject().rapidity();}

The documentation for this class was generated from the following file: