5 for (
unsigned int i = 0;
i < 7;
i++) {
6 std::pair<unsigned int, int>
c(0, 0);
15 for (
unsigned int l = 1;
l <= 6;
l++) {
29 return _link[layer - 1].first;
39 return _link[layer - 1].second / 1000;
49 std::pair<unsigned int, int> digi(rpcdetId, pdigi);
50 _link[layer - 1] = digi;
54 if (layer == 0 || layer > 6)
55 throw cms::Exception(
"RPCException") <<
"RPCDigiL1Link: layer must be in the range from 1 to 6" << std::endl;
int strip(unsigned int layer) const
const edm::EventSetup & c
int bx(unsigned int layer) const
void setLink(unsigned int layer, unsigned int rpcdetId, int strip, int bx)
unsigned int rawdetId(unsigned int layer) const
constexpr std::array< uint8_t, layerIndexSize > layer
U second(std::pair< T, U > const &p)
Abs< T >::type abs(const T &t)
void checklayer(unsigned int layer) const
unsigned int nlayer() const
std::vector< std::pair< unsigned int, int > > _link