Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:02

0001 #ifndef ECALFEDMAP_h
0002 #define ECALFEDMAP_h
0003 
0004 #include <map>
0005 #include <string>
0006 
0007 class EcalFedMap {
0008 public:
0009   EcalFedMap();
0010   ~EcalFedMap();
0011   int getFedFromSlice(std::string);
0012   std::string getSliceFromFed(int);
0013 
0014 private:
0015   // use:
0016   // #include <boost/bimap.hpp>
0017   // bimap< int, std::string > bm;
0018   // when available
0019 
0020   std::map<int, std::string> fedToSliceMap_;
0021   std::map<std::string, int> sliceToFedMap_;
0022 };
0023 #endif