CMS 3D CMS Logo

RPCDigiL1Link.h
Go to the documentation of this file.
1 #ifndef RPCOBJECTS_RPCDIGIL1LINK_H
2 #define RPCOBJECTS_RPCDIGIL1LINK_H
3 
4 #include <vector>
5 #include <map>
6 
7 class RPCDigiL1Link {
8 public:
10 
12 
13  bool empty() const;
14 
15  // Getters -- layer runs from 1 to nlayer
16  bool empty(unsigned int layer) const;
17  unsigned int rawdetId(unsigned int layer) const;
18  int strip(unsigned int layer) const;
19  int bx(unsigned int layer) const;
20  unsigned int nlayer() const;
21 
22  // Setters --layer run from 1 to nlayer
23  void setLink(unsigned int layer, unsigned int rpcdetId, int strip, int bx);
24 
25 private:
26  void checklayer(unsigned int layer) const;
27 
28 private:
29  std::vector<std::pair<unsigned int, int> > _link;
30 };
31 #endif
constexpr std::array< uint8_t, layerIndexSize > layer