1 #ifndef CondFormats_RPCObjects_RPCFebConnector_h 2 #define CondFormats_RPCObjects_RPCFebConnector_h 19 static unsigned int bit_count(::uint16_t);
23 ,
unsigned int _first_strip = 1
25 , ::uint16_t _channels = 0x0);
39 bool isActive(
unsigned int _channel)
const;
41 unsigned int getStrip(
unsigned int _channel)
const;
43 bool hasStrip(
unsigned int _strip)
const;
44 unsigned int getChannel(
unsigned int _strip)
const;
60 #include "CondFormats/RPCObjects/interface/RPCFebConnector.icc" 62 #endif // CondFormats_RPCObjects_RPCFebConnector_h ::uint16_t getChannels() const
unsigned int getNChannels() const
RPCFebConnector & setRPCDetId(RPCDetId const &_rpc_det_id)
static unsigned int const max_first_strip_
std::ostream & operator<<(std::ostream &_ostream, RPCFebConnector const &_connector)
unsigned int getFirstStrip() const
bool hasStrip(unsigned int _strip) const
unsigned int getChannel(unsigned int _strip) const
RPCFebConnector(RPCDetId const &_rpc_det_id=RPCDetId(0, 0, 1, 1, 1, 1, 0), unsigned int _first_strip=1, int _slope=1,::uint16_t _channels=0x0)
::uint8_t first_strip_
strip, allowing range [1-128]
bool isActive(unsigned int _channel) const
RPCFebConnector & setSlope(int _slope)
#define COND_SERIALIZABLE
static unsigned int const min_first_strip_
::uint16_t channels_
active channels in range [1-16]
unsigned int getStrip(unsigned int _channel) const
RPCFebConnector & setFirstStrip(unsigned int _strip)
RPCFebConnector & setChannels(::uint16_t _channels)
static unsigned int bit_count(::uint16_t)
RPCDetId getRPCDetId() const
static unsigned int const nchannels_
std::string getString() const