ATLAS Offline Software
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 
16 namespace xAOD {
17 
18 
19  // can't forward a template in c++-03 : use a templated function.
20  namespace JetAttributeAccessor {
25  template<class T>
27  return AccessorMap_v1<T>::accessor(id);
28  }
29 
30  inline std::string name(xAOD::JetAttribute::AttributeID id ) {
31  return name_v1(id);
32  }
33 
34  }
35 
36 }
37 
38 #endif
JetAccessorMap_v1.h
xAOD::JetAttributeAccessor::name
std::string name(xAOD::JetAttribute::AttributeID id)
Definition: JetAccessorMap.h:30
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JetAttribute::AttributeID
AttributeID
Definition: JetAttributes.h:24
xAOD::JetAttributeAccessor::AccessorMap_v1::accessor
static const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID moment)
Definition: JetAccessorMap_v1.h:62
xAOD::JetAttributeAccessor::accessor
const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID id)
Returns an attribute accessor corresponding to an AttributeID.
Definition: JetAccessorMap.h:26
xAOD::JetAttributeAccessor::name_v1
std::string name_v1(xAOD::JetAttribute::AttributeID id)
Returns a name given the AttributeID.
Definition: JetAccessorMap_v1.cxx:27
xAOD::JetAttributeAccessor::AccessorWrapper
Definition: JetAccessors.h:49