CMS 3D CMS Logo

EcalFedMap.h
Go to the documentation of this file.
1 #ifndef ECALFEDMAP_h
2 #define ECALFEDMAP_h
3 
4 #include <map>
5 #include <string>
6 
7 class EcalFedMap{
8 
9  public:
10 
11  EcalFedMap();
12  ~EcalFedMap();
15 
16  private:
17  // use:
18  // #include <boost/bimap.hpp>
19  // bimap< int, std::string > bm;
20  // when available
21 
22  std::map<int, std::string> fedToSliceMap_;
23  std::map<std::string, int> sliceToFedMap_;
24 };
25 #endif
std::map< int, std::string > fedToSliceMap_
Definition: EcalFedMap.h:22
int getFedFromSlice(std::string)
Definition: EcalFedMap.cc:104
std::map< std::string, int > sliceToFedMap_
Definition: EcalFedMap.h:23
std::string getSliceFromFed(int)
Definition: EcalFedMap.cc:93