test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DetNaming.h
Go to the documentation of this file.
1 #ifndef TauAnalysis_MCEmbeddingTools_DetNaming_h
2 #define TauAnalysis_MCEmbeddingTools_DetNaming_h
3 
4 #include <vector>
5 #include <string>
6 #include <map>
10 
11 #include <boost/foreach.hpp>
12 
13 class DetNaming
14 {
15  public:
16  DetNaming();
18 
19  std::string getKey(const DetId&);
20  std::vector<std::string> getAllKeys();
21 
22  private:
23  typedef std::map<int, std::string > TMyMainMap;
24  typedef std::map<int, std::map<int, std::string> > TMySubMap;
27 };
28 
29 
30 #endif
TMySubMap subDetMap_
Definition: DetNaming.h:26
TMyMainMap detMap_
Definition: DetNaming.h:25
~DetNaming()
Definition: DetNaming.h:17
std::map< int, std::map< int, std::string > > TMySubMap
Definition: DetNaming.h:24
Definition: DetId.h:18
std::vector< std::string > getAllKeys()
Definition: DetNaming.cc:49
std::string getKey(const DetId &)
Definition: DetNaming.cc:36
std::map< int, std::string > TMyMainMap
Definition: DetNaming.h:23