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;
42 
43 private:
51  int dbIndex(const CSCDetId&) const;
52 
54 };
55 
56 #endif
CSCChamberMap::dduInput
int dduInput(const CSCDetId &) const
ddu input for given DetId
Definition: CSCChamberMap.cc:54
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
CSCChamberMap::ddu
int ddu(const CSCDetId &) const
ddu id for given DetId
Definition: CSCChamberMap.cc:36
CSCChamberMap::dmb
int dmb(const CSCDetId &) const
dmb id for given DetId
Definition: CSCChamberMap.cc:30
CSCChamberMap::dduSlot
int dduSlot(const CSCDetId &) const
ddu slot for given DetId
Definition: CSCChamberMap.cc:48
CSCChamberMap::~CSCChamberMap
~CSCChamberMap()
Definition: CSCChamberMap.cc:6
CSCChamberMap::dbIndex
int dbIndex(const CSCDetId &) const
Definition: CSCChamberMap.cc:10
CSCMapItem.h
CSCMapItem::MapItem
Definition: CSCMapItem.h:13
CSCChamberMap::slink
int slink(const CSCDetId &) const
slink id for given DetId
Definition: CSCChamberMap.cc:42
CSCDetId
Definition: CSCDetId.h:26
CSCChamberMap
Definition: CSCChamberMap.h:11
CSCChamberMap::ch_map
CSCMap ch_map
Definition: CSCChamberMap.h:41
Serializable.h
CSCChamberMap::CSCChamberMap
CSCChamberMap()
Definition: CSCChamberMap.cc:4
CSCChamberMap::CSCMap
std::map< int, CSCMapItem::MapItem > CSCMap
Data are public. @Should be private?
Definition: CSCChamberMap.h:40
CSCChamberMap::crate
int crate(const CSCDetId &) const
Interface required use in digi-to-raw.
Definition: CSCChamberMap.cc:24
crabWrapper.key
key
Definition: crabWrapper.py:19
CSCChamberMap::item
const CSCMapItem::MapItem & item(int key) const
Accessor for item according to key.
Definition: CSCChamberMap.cc:8