CMS 3D CMS Logo

CSCChamberMap.h
Go to the documentation of this file.
1 #ifndef CSCChamberMap_h
2 #define CSCChamberMap_h
3 
5 
7 #include <map>
8 
9 class CSCDetId;
10 
12 public:
13  CSCChamberMap();
15 
17  const CSCMapItem::MapItem& item(int key) const;
18 
20 
22  int crate(const CSCDetId&) const;
23 
25  int dmb(const CSCDetId&) const;
26 
28  int ddu(const CSCDetId&) const;
29 
31  int slink(const CSCDetId&) const;
32 
34  int dduSlot(const CSCDetId&) const;
35 
37  int dduInput(const CSCDetId&) const;
38 
40  typedef std::map<int, CSCMapItem::MapItem> CSCMap;
41  CSCMap ch_map;
42 
43 private:
51  int dbIndex(const CSCDetId&) const;
52 
54 };
55 
56 #endif
std::map< int, CSCMapItem::MapItem > CSCMap
Data are public. @Should be private?
Definition: CSCChamberMap.h:40
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
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.
#define COND_SERIALIZABLE
Definition: Serializable.h:38
int dduSlot(const CSCDetId &) const
ddu slot for given DetId