ATLAS Offline Software
Loading...
Searching...
No Matches
JetAccessorMap.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef XAODJET_JETACCESSORMAP_H
8#define XAODJET_JETACCESSORMAP_H
15
16namespace xAOD {
17
18
19 // can't forward a template in c++-03 : use a templated function.
20 namespace JetAttributeAccessor {
25 template<class T>
29
30 inline std::string name(xAOD::JetAttribute::AttributeID id ) {
31 return name_v1(id);
32 }
33
34 }
35
36}
37
38#endif
const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID id)
Returns an attribute accessor corresponding to an AttributeID.
std::string name_v1(xAOD::JetAttribute::AttributeID id)
Returns a name given the AttributeID.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID moment)