#include <RPCDCCLink.h>
Public Member Functions | |
std::uint32_t | getId () const |
std::uint32_t | getMask () const |
std::string | getName () const |
bool | matches (RPCDCCLink const &rhs) const |
operator std::uint32_t () const | |
bool | operator!= (RPCDCCLink const &rhs) const |
bool | operator!= (std::uint32_t const &rhs) const |
RPCDCCLink & | operator++ () |
RPCDCCLink | operator++ (int) |
RPCDCCLink & | operator-- () |
RPCDCCLink | operator-- (int) |
bool | operator< (RPCDCCLink const &rhs) const |
bool | operator< (std::uint32_t const &rhs) const |
bool | operator== (RPCDCCLink const &rhs) const |
bool | operator== (std::uint32_t const &rhs) const |
void | reset () |
RPCDCCLink () | |
RPCDCCLink (int fed, int dccinput, int tbinput=wildcard_) | |
RPCDCCLink (std::uint32_t const &id) | |
void | setId (std::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 const int | wildcard_ = INT_MIN |
static const int | min_fed_ = 0 |
static const int | max_fed_ = 65534 |
static const int | min_dccinput_ = 0 |
static const int | max_dccinput_ = 36 |
static const int | min_tbinput_ = 0 |
static const int | max_tbinput_ = 18 |
Protected Member Functions | |
int | bf_get (int const min, std::uint32_t const mask, int const pos) const |
RPCDCCLink & | bf_set (int const min, int const max, std::uint32_t const mask, int const pos, int const value) |
std::ostream & | bf_stream (std::ostream &ostream, int const min, std::uint32_t const mask, int const pos) const |
Protected Attributes | |
std::uint32_t | id_ |
Static Protected Attributes | |
static const int | pos_fed_ = 16 |
static const std::uint32_t | mask_fed_ = 0xffff0000 |
static const int | pos_dccinput_ = 8 |
static const std::uint32_t | mask_dccinput_ = 0x0000ff00 |
static const int | pos_tbinput_ = 0 |
static const std::uint32_t | 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 | ( | std::uint32_t const & | id | ) |
Definition at line 8 of file RPCDCCLink.cc.
RPCDCCLink::RPCDCCLink | ( | int | fed, |
int | dccinput, | ||
int | tbinput = wildcard_ |
||
) |
Definition at line 10 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
std::uint32_t RPCDCCLink::getId | ( | ) | const |
std::uint32_t RPCDCCLink::getMask | ( | ) | const |
Definition at line 16 of file RPCDCCLink.cc.
References id_, mask_dccinput_, mask_fed_, and mask_tbinput_.
std::string RPCDCCLink::getName | ( | ) | const |
Definition at line 27 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().
int RPCDCCLink::getTBInput | ( | ) | const |
bool RPCDCCLink::matches | ( | RPCDCCLink const & | rhs | ) | const |
RPCDCCLink::operator std::uint32_t | ( | ) | const |
bool RPCDCCLink::operator!= | ( | RPCDCCLink const & | rhs | ) | const |
bool RPCDCCLink::operator!= | ( | std::uint32_t const & | rhs | ) | const |
RPCDCCLink& RPCDCCLink::operator++ | ( | ) |
RPCDCCLink RPCDCCLink::operator++ | ( | int | ) |
RPCDCCLink& RPCDCCLink::operator-- | ( | ) |
RPCDCCLink RPCDCCLink::operator-- | ( | int | ) |
bool RPCDCCLink::operator< | ( | RPCDCCLink const & | rhs | ) | const |
bool RPCDCCLink::operator< | ( | std::uint32_t const & | rhs | ) | const |
bool RPCDCCLink::operator== | ( | RPCDCCLink const & | rhs | ) | const |
bool RPCDCCLink::operator== | ( | std::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 | ( | std::uint32_t const & | id | ) |
RPCDCCLink& RPCDCCLink::setTBInput | ( | int | tbinput = wildcard_ | ) |
Referenced by RPCDCCLink().
|
friend |
Definition at line 89 of file RPCDCCLink.h.
|
friend |
Definition at line 89 of file RPCDCCLink.h.
|
protected |
Definition at line 87 of file RPCDCCLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 32 of file RPCDCCLink.h.
|
staticprotected |
Definition at line 30 of file RPCDCCLink.h.
|
staticprotected |
Definition at line 34 of file RPCDCCLink.h.
|
static |
Definition at line 21 of file RPCDCCLink.h.
|
static |
Definition at line 19 of file RPCDCCLink.h.
|
static |
Definition at line 23 of file RPCDCCLink.h.
|
static |
Definition at line 20 of file RPCDCCLink.h.
Referenced by getName().
|
static |
|
static |
Definition at line 22 of file RPCDCCLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 31 of file RPCDCCLink.h.
Referenced by getName().
|
staticprotected |
|
staticprotected |
Definition at line 33 of file RPCDCCLink.h.
Referenced by getName().
|
static |
Definition at line 14 of file RPCDCCLink.h.