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 public:
9  EcalFedMap();
10  ~EcalFedMap();
13 
14 private:
15  // use:
16  // #include <boost/bimap.hpp>
17  // bimap< int, std::string > bm;
18  // when available
19 
20  std::map<int, std::string> fedToSliceMap_;
21  std::map<std::string, int> sliceToFedMap_;
22 };
23 #endif
std::map< int, std::string > fedToSliceMap_
Definition: EcalFedMap.h:20
int getFedFromSlice(std::string)
Definition: EcalFedMap.cc:96
std::map< std::string, int > sliceToFedMap_
Definition: EcalFedMap.h:21
std::string getSliceFromFed(int)
Definition: EcalFedMap.cc:86