CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCCrateMap.h
Go to the documentation of this file.
1 #ifndef CSCCrateMap_h
2 #define CSCCrateMap_h
3 
6 
7 #include <map>
8 
9 class CSCCrateMap{
10  public:
11  CSCCrateMap();
12  ~CSCCrateMap();
13 
15  const CSCMapItem::MapItem& item( int key ) const;
16 
20  CSCDetId detId( int vme, int dmb, int cfeb, int layer = 0 ) const;
21 
22  typedef std::map< int,CSCMapItem::MapItem > CSCMap;
24 };
25 
26 #endif
CSCDetId detId(int vme, int dmb, int cfeb, int layer=0) const
Definition: CSCCrateMap.cc:11
std::map< int, CSCMapItem::MapItem > CSCMap
Definition: CSCCrateMap.h:22
const CSCMapItem::MapItem & item(int key) const
Accessor for item according to a key.
Definition: CSCCrateMap.cc:7
list key
Definition: combine.py:13
CSCMap crate_map
Definition: CSCCrateMap.h:23