#include <RPCDCCLink.h>
Public Member Functions | |
::uint32_t | getId () const |
::uint32_t | getMask () const |
std::string | getName () const |
bool | matches (RPCDCCLink const &_rhs) const |
bool | operator!= (RPCDCCLink const &_rhs) const |
bool | operator!= (::uint32_t const &_rhs) const |
RPCDCCLink & | operator++ () |
RPCDCCLink | operator++ (int) |
RPCDCCLink & | operator-- () |
RPCDCCLink | operator-- (int) |
operator::uint32_t () const | |
bool | operator< (RPCDCCLink const &_rhs) const |
bool | operator< (::uint32_t const &_rhs) const |
bool | operator== (RPCDCCLink const &_rhs) const |
bool | operator== (::uint32_t const &_rhs) const |
void | reset () |
RPCDCCLink () | |
RPCDCCLink (::uint32_t const &_id) | |
RPCDCCLink (int _fed, int _dccinput, int _tbinput=wildcard_) | |
void | setId (::uint32_t const &_id) |
int | getFED () const |
int | getDCCInput () const |
int | getTBInput () const |
RPCDCCLink & | setFED (int _fed=wildcard_) |
RPCDCCLink & | setDCCInput (int _dccinput=wildcard_) |
RPCDCCLink & | setTBInput (int _tbinput=wildcard_) |
Static Public Attributes | |
static int const | wildcard_ = INT_MIN |
static int const | min_fed_ = 0 |
static int const | max_fed_ = 65534 |
static int const | min_dccinput_ = 0 |
static int const | max_dccinput_ = 36 |
static int const | min_tbinput_ = 0 |
static int const | max_tbinput_ = 18 |
Protected Member Functions | |
int | bf_get (int const _min,::uint32_t const _mask, int const _pos) const |
RPCDCCLink & | bf_set (int const _min, int const _max,::uint32_t const _mask, int const _pos, int const _value) |
std::ostream & | bf_stream (std::ostream &_ostream, int const _min,::uint32_t const _mask, int const _pos) const |
Protected Attributes | |
::uint32_t | id_ |
Static Protected Attributes | |
static int const | pos_fed_ = 16 |
::uint32_t const | mask_fed_ = 0xffff0000 |
static int const | pos_dccinput_ = 8 |
::uint32_t const | mask_dccinput_ = 0x0000ff00 |
static int const | pos_tbinput_ = 0 |
::uint32_t const | mask_tbinput_ = 0x000000ff |
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 |
Identifier for RPC DCC-LB path
Definition at line 12 of file RPCDCCLink.h.
RPCDCCLink::RPCDCCLink | ( | ) |
Definition at line 6 of file RPCDCCLink.cc.
RPCDCCLink::RPCDCCLink | ( | ::uint32_t const & | _id | ) |
Definition at line 10 of file RPCDCCLink.cc.
RPCDCCLink::RPCDCCLink | ( | int | _fed, |
int | _dccinput, | ||
int | _tbinput = wildcard_ |
||
) |
Definition at line 14 of file RPCDCCLink.cc.
References setDCCInput(), setFED(), and setTBInput().
|
protected |
|
protected |
|
protected |
Referenced by getName().
int RPCDCCLink::getDCCInput | ( | ) | const |
int RPCDCCLink::getFED | ( | ) | const |
Field Getters
::uint32_t RPCDCCLink::getId | ( | ) | const |
uint32_t RPCDCCLink::getMask | ( | ) | const |
Definition at line 24 of file RPCDCCLink.cc.
References id_, mask_dccinput_, mask_fed_, and mask_tbinput_.
std::string RPCDCCLink::getName | ( | ) | const |
Definition at line 36 of file RPCDCCLink.cc.
References bf_stream(), mask_dccinput_, mask_fed_, mask_tbinput_, min_dccinput_, min_fed_, min_tbinput_, pos_dccinput_, pos_fed_, and pos_tbinput_.
Referenced by plotting.Plot::draw(), and operator<<().
int RPCDCCLink::getTBInput | ( | ) | const |
bool RPCDCCLink::matches | ( | RPCDCCLink const & | _rhs | ) | const |
bool RPCDCCLink::operator!= | ( | RPCDCCLink const & | _rhs | ) | const |
bool RPCDCCLink::operator!= | ( | ::uint32_t const & | _rhs | ) | const |
RPCDCCLink& RPCDCCLink::operator++ | ( | ) |
RPCDCCLink RPCDCCLink::operator++ | ( | int | ) |
RPCDCCLink& RPCDCCLink::operator-- | ( | ) |
RPCDCCLink RPCDCCLink::operator-- | ( | int | ) |
RPCDCCLink::operator::uint32_t | ( | ) | const |
bool RPCDCCLink::operator< | ( | RPCDCCLink const & | _rhs | ) | const |
bool RPCDCCLink::operator< | ( | ::uint32_t const & | _rhs | ) | const |
bool RPCDCCLink::operator== | ( | RPCDCCLink const & | _rhs | ) | const |
bool RPCDCCLink::operator== | ( | ::uint32_t const & | _rhs | ) | const |
void RPCDCCLink::reset | ( | ) |
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
RPCDCCLink& RPCDCCLink::setDCCInput | ( | int | _dccinput = wildcard_ | ) |
Referenced by RPCDCCLink().
RPCDCCLink& RPCDCCLink::setFED | ( | int | _fed = wildcard_ | ) |
Field Setters A cms::Exception("OutOfRange") is thrown for out-of-range input values.
Referenced by RPCDCCLink().
void RPCDCCLink::setId | ( | ::uint32_t const & | _id | ) |
RPCDCCLink& RPCDCCLink::setTBInput | ( | int | _tbinput = wildcard_ | ) |
Referenced by RPCDCCLink().
|
friend |
Definition at line 92 of file RPCDCCLink.h.
|
friend |
Definition at line 92 of file RPCDCCLink.h.
|
protected |
Definition at line 90 of file RPCDCCLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 33 of file RPCDCCLink.h.
|
staticprotected |
Definition at line 31 of file RPCDCCLink.h.
|
staticprotected |
Definition at line 35 of file RPCDCCLink.h.
|
static |
Definition at line 22 of file RPCDCCLink.h.
|
static |
Definition at line 20 of file RPCDCCLink.h.
|
static |
Definition at line 24 of file RPCDCCLink.h.
|
static |
Definition at line 21 of file RPCDCCLink.h.
Referenced by getName().
|
static |
|
static |
Definition at line 23 of file RPCDCCLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 32 of file RPCDCCLink.h.
Referenced by getName().
|
staticprotected |
|
staticprotected |
Definition at line 34 of file RPCDCCLink.h.
Referenced by getName().
|
static |
Definition at line 15 of file RPCDCCLink.h.