Go to the documentation of this file.00001 #ifndef RPCOBJECTS_RPCDIGIL1LINK_H
00002 #define RPCOBJECTS_RPCDIGIL1LINK_H
00003
00004 #include <vector>
00005 #include <map>
00006
00007 class RPCDigiL1Link {
00008 public:
00009 RPCDigiL1Link();
00010
00011 ~RPCDigiL1Link();
00012
00013 bool empty() const;
00014
00015
00016 bool empty(unsigned int layer) const;
00017 unsigned int rawdetId(unsigned int layer) const;
00018 int strip(unsigned int layer) const;
00019 int bx(unsigned int layer) const;
00020 unsigned int nlayer() const;
00021
00022
00023 void setLink(unsigned int layer, unsigned int rpcdetId, int strip, int bx);
00024
00025 private:
00026 void checklayer(unsigned int layer) const;
00027 private:
00028 std::vector< std::pair<unsigned int, int> > _link;
00029
00030 };
00031 #endif