ATLAS Offline Software
TypeMap.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 TRIGGERMATCHINGTOOL_TYPEMAP_H
8 #define TRIGGERMATCHINGTOOL_TYPEMAP_H
9 
10 #include "TrigNavStructure/Types.h"
11 #include "xAODBase/IParticle.h"
12 #include <map>
13 
14 class TypeMap {
15 public:
16  typedef std::pair<HLT::class_id_type,std::string> clid_string_t;
17  TypeMap();
18  bool isKnown(const xAOD::Type::ObjectType& recoType) const;
19  clid_string_t get(const xAOD::Type::ObjectType& recoType) const;
20 private:
21  std::map<xAOD::Type::ObjectType,clid_string_t> m_typemap;
22 };
23 #endif
IParticle.h
ObjectType
ObjectType
Definition: BaseObject.h:11
TypeMap::clid_string_t
std::pair< HLT::class_id_type, std::string > clid_string_t
Definition: TypeMap.h:16
TypeMap::get
clid_string_t get(const xAOD::Type::ObjectType &recoType) const
Definition: TypeMap.cxx:21
TypeMap
Definition: TypeMap.h:14
Types.h
TypeMap::m_typemap
std::map< xAOD::Type::ObjectType, clid_string_t > m_typemap
Definition: TypeMap.h:21
TypeMap::isKnown
bool isKnown(const xAOD::Type::ObjectType &recoType) const
Definition: TypeMap.cxx:16
TypeMap::TypeMap
TypeMap()
Definition: TypeMap.cxx:7