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
EcalFedMap::fedToSliceMap_
std::map< int, std::string > fedToSliceMap_
Definition: EcalFedMap.h:20
EcalFedMap::sliceToFedMap_
std::map< std::string, int > sliceToFedMap_
Definition: EcalFedMap.h:21
EcalFedMap::~EcalFedMap
~EcalFedMap()
Definition: EcalFedMap.cc:6
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalFedMap::getSliceFromFed
std::string getSliceFromFed(int)
Definition: EcalFedMap.cc:86
EcalFedMap
Definition: EcalFedMap.h:7
EcalFedMap::getFedFromSlice
int getFedFromSlice(std::string)
Definition: EcalFedMap.cc:96
EcalFedMap::EcalFedMap
EcalFedMap()
Definition: EcalFedMap.cc:8