File indexing completed on 2024-04-06 12:01:59
0001 #ifndef CSCCrateMap_h
0002 #define CSCCrateMap_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <CondFormats/CSCObjects/interface/CSCMapItem.h>
0007 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
0008
0009 #include <map>
0010
0011 class CSCCrateMap {
0012 public:
0013 CSCCrateMap();
0014 ~CSCCrateMap();
0015
0016
0017 const CSCMapItem::MapItem& item(int key) const;
0018
0019
0020
0021
0022 CSCDetId detId(int vme, int dmb, int cfeb, int layer = 0) const;
0023
0024 typedef std::map<int, CSCMapItem::MapItem> CSCMap;
0025 CSCMap crate_map;
0026
0027 COND_SERIALIZABLE;
0028 };
0029
0030 #endif