CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCChamberMap.h
Go to the documentation of this file.
1 #ifndef CSCChamberMap_h
2 #define CSCChamberMap_h
3 
5 #include <map>
6 
7 class CSCDetId;
8 
10  public:
11  CSCChamberMap();
13 
15  const CSCMapItem::MapItem& item( int key ) const;
16 
18 
20  int crate(const CSCDetId&) const;
21 
23  int dmb(const CSCDetId&) const;
24 
26  int ddu(const CSCDetId&) const;
27 
29  int slink(const CSCDetId&) const;
30 
32  int dduSlot(const CSCDetId&) const;
33 
35  int dduInput(const CSCDetId&) const;
36 
38  typedef std::map< int, CSCMapItem::MapItem > CSCMap;
40 
41  private:
49  int dbIndex(const CSCDetId&) const;
50 };
51 
52 #endif
int ddu(const CSCDetId &) const
ddu id for given DetId
int dmb(const CSCDetId &) const
dmb id for given DetId
const CSCMapItem::MapItem & item(int key) const
Accessor for item according to key.
Definition: CSCChamberMap.cc:8
int slink(const CSCDetId &) const
slink id for given DetId
std::map< int, CSCMapItem::MapItem > CSCMap
Data are public. @Should be private?
Definition: CSCChamberMap.h:38
int dduInput(const CSCDetId &) const
ddu input for given DetId
int dbIndex(const CSCDetId &) const
int crate(const CSCDetId &) const
Interface required use in digi-to-raw.
int dduSlot(const CSCDetId &) const
ddu slot for given DetId
list key
Definition: combine.py:13