#include <RPCFebConnector.h>
Public Member Functions | |
unsigned int | getChannel (unsigned int strip) const |
std::uint16_t | getChannels () const |
unsigned int | getFirstStrip () const |
unsigned int | getNChannels () const |
RPCDetId | getRPCDetId () const |
int | getSlope () const |
std::string | getString () const |
unsigned int | getStrip (unsigned int channel) const |
bool | hasStrip (unsigned int strip) const |
bool | isActive (unsigned int channel) const |
void | reset () |
RPCFebConnector (RPCDetId const &rpc_det_id=RPCDetId(0, 0, 1, 1, 1, 1, 0), unsigned int first_strip=1, int slope=1, std::uint16_t channels=0x0) | |
RPCFebConnector & | setChannels (std::uint16_t channels) |
RPCFebConnector & | setFirstStrip (unsigned int strip) |
RPCFebConnector & | setRPCDetId (RPCDetId const &rpc_det_id) |
RPCFebConnector & | setSlope (int slope) |
Static Public Member Functions | |
static unsigned int | bit_count (std::uint16_t) |
Static Public Attributes | |
static unsigned int const | max_first_strip_ = 128 |
static unsigned int const | min_first_strip_ = 1 |
static unsigned int const | nchannels_ = 16 |
Protected Attributes | |
std::uint16_t | channels_ |
active channels in range [1-16] More... | |
std::uint8_t | first_strip_ |
strip, allowing range [1-128] More... | |
std::uint32_t | rpc_det_id_ |
::int8_t | slope_ |
-1 or 1 More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 12 of file RPCFebConnector.h.
RPCFebConnector::RPCFebConnector | ( | RPCDetId const & | rpc_det_id = RPCDetId(0, 0, 1, 1, 1, 1, 0) , |
unsigned int | first_strip = 1 , |
||
int | slope = 1 , |
||
std::uint16_t | channels = 0x0 |
||
) |
Definition at line 6 of file RPCFebConnector.cc.
References setFirstStrip().
|
static |
unsigned int RPCFebConnector::getChannel | ( | unsigned int | strip | ) | const |
std::uint16_t RPCFebConnector::getChannels | ( | ) | const |
unsigned int RPCFebConnector::getFirstStrip | ( | ) | const |
unsigned int RPCFebConnector::getNChannels | ( | ) | const |
RPCDetId RPCFebConnector::getRPCDetId | ( | ) | const |
Referenced by RPCTwinMuxRawToDigi::processRPCRecord().
int RPCFebConnector::getSlope | ( | ) | const |
std::string RPCFebConnector::getString | ( | void | ) | const |
Definition at line 18 of file RPCFebConnector.cc.
References channels_, first_strip_, createfilelist::int, rpc_det_id_, and slope_.
Referenced by operator<<().
unsigned int RPCFebConnector::getStrip | ( | unsigned int | channel | ) | const |
Referenced by RPCTwinMuxRawToDigi::processRPCRecord().
bool RPCFebConnector::hasStrip | ( | unsigned int | strip | ) | const |
bool RPCFebConnector::isActive | ( | unsigned int | channel | ) | const |
void RPCFebConnector::reset | ( | ) |
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
RPCFebConnector& RPCFebConnector::setChannels | ( | std::uint16_t | channels | ) |
RPCFebConnector& RPCFebConnector::setFirstStrip | ( | unsigned int | strip | ) |
Referenced by RPCFebConnector().
RPCFebConnector& RPCFebConnector::setRPCDetId | ( | RPCDetId const & | rpc_det_id | ) |
RPCFebConnector& RPCFebConnector::setSlope | ( | int | slope | ) |
|
friend |
Definition at line 55 of file RPCFebConnector.h.
|
friend |
Definition at line 55 of file RPCFebConnector.h.
|
protected |
active channels in range [1-16]
Definition at line 51 of file RPCFebConnector.h.
Referenced by getString().
|
protected |
strip, allowing range [1-128]
Definition at line 49 of file RPCFebConnector.h.
Referenced by getString().
|
static |
Definition at line 16 of file RPCFebConnector.h.
|
static |
Definition at line 15 of file RPCFebConnector.h.
|
static |
Definition at line 17 of file RPCFebConnector.h.
|
protected |
Definition at line 53 of file RPCFebConnector.h.
Referenced by getString().
|
protected |