CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondFormats/CSCObjects/interface/CSCCrateMap.h

Go to the documentation of this file.
00001 #ifndef CSCCrateMap_h
00002 #define CSCCrateMap_h
00003 
00004 #include <CondFormats/CSCObjects/interface/CSCMapItem.h>
00005 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
00006 
00007 #include <map>
00008 
00009 class CSCCrateMap{
00010  public:
00011   CSCCrateMap();
00012   ~CSCCrateMap();  
00013 
00015   const CSCMapItem::MapItem& item( int key ) const;
00016 
00020   CSCDetId detId( int vme, int dmb, int cfeb, int layer = 0 ) const;
00021 
00022   typedef std::map< int,CSCMapItem::MapItem > CSCMap;
00023   CSCMap crate_map;
00024 };
00025 
00026 #endif