#include <RPCAMCLink.h>
Public Member Functions | |
::uint32_t | getId () const |
::uint32_t | getMask () const |
std::string | getName () const |
bool | matches (RPCAMCLink const &_rhs) const |
bool | operator!= (RPCAMCLink const &_rhs) const |
bool | operator!= (::uint32_t const &_rhs) const |
RPCAMCLink & | operator++ () |
RPCAMCLink | operator++ (int) |
RPCAMCLink & | operator-- () |
RPCAMCLink | operator-- (int) |
operator::uint32_t () const | |
bool | operator< (RPCAMCLink const &_rhs) const |
bool | operator< (::uint32_t const &_rhs) const |
bool | operator== (RPCAMCLink const &_rhs) const |
bool | operator== (::uint32_t const &_rhs) const |
void | reset () |
RPCAMCLink () | |
RPCAMCLink (::uint32_t const &_id) | |
RPCAMCLink (int _fed, int _amcnumber, int _amcinput=wildcard_) | |
void | setId (::uint32_t const &_id) |
int | getFED () const |
int | getAMCNumber () const |
int | getAMCInput () const |
RPCAMCLink & | setFED (int _fed=wildcard_) |
RPCAMCLink & | setAMCNumber (int _amcnumber=wildcard_) |
RPCAMCLink & | setAMCInput (int _amcinput=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_amcnumber_ = 0 |
static int const | max_amcnumber_ = 12 |
static int const | min_amcinput_ = 0 |
static int const | max_amcinput_ = 80 |
Protected Member Functions | |
int | bf_get (int const _min,::uint32_t const _mask, int const _pos) const |
RPCAMCLink & | 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_amcnumber_ = 12 |
::uint32_t const | mask_amcnumber_ = 0x0000f000 |
static int const | pos_amcinput_ = 0 |
::uint32_t const | mask_amcinput_ = 0x00000fff |
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 AMC-LB path
Definition at line 12 of file RPCAMCLink.h.
RPCAMCLink::RPCAMCLink | ( | ) |
Definition at line 6 of file RPCAMCLink.cc.
RPCAMCLink::RPCAMCLink | ( | ::uint32_t const & | _id | ) |
Definition at line 10 of file RPCAMCLink.cc.
RPCAMCLink::RPCAMCLink | ( | int | _fed, |
int | _amcnumber, | ||
int | _amcinput = wildcard_ |
||
) |
Definition at line 14 of file RPCAMCLink.cc.
References setAMCInput(), setAMCNumber(), and setFED().
|
protected |
|
protected |
|
protected |
Referenced by getName().
int RPCAMCLink::getAMCInput | ( | ) | const |
int RPCAMCLink::getAMCNumber | ( | ) | const |
int RPCAMCLink::getFED | ( | ) | const |
Field Getters
::uint32_t RPCAMCLink::getId | ( | ) | const |
uint32_t RPCAMCLink::getMask | ( | ) | const |
Definition at line 24 of file RPCAMCLink.cc.
References id_, mask_amcinput_, mask_amcnumber_, and mask_fed_.
std::string RPCAMCLink::getName | ( | ) | const |
Definition at line 36 of file RPCAMCLink.cc.
References bf_stream(), mask_amcinput_, mask_amcnumber_, mask_fed_, min_amcinput_, min_amcnumber_, min_fed_, pos_amcinput_, pos_amcnumber_, and pos_fed_.
Referenced by plotting.Plot::draw(), and operator<<().
bool RPCAMCLink::matches | ( | RPCAMCLink const & | _rhs | ) | const |
bool RPCAMCLink::operator!= | ( | RPCAMCLink const & | _rhs | ) | const |
bool RPCAMCLink::operator!= | ( | ::uint32_t const & | _rhs | ) | const |
RPCAMCLink& RPCAMCLink::operator++ | ( | ) |
RPCAMCLink RPCAMCLink::operator++ | ( | int | ) |
RPCAMCLink& RPCAMCLink::operator-- | ( | ) |
RPCAMCLink RPCAMCLink::operator-- | ( | int | ) |
RPCAMCLink::operator::uint32_t | ( | ) | const |
bool RPCAMCLink::operator< | ( | RPCAMCLink const & | _rhs | ) | const |
bool RPCAMCLink::operator< | ( | ::uint32_t const & | _rhs | ) | const |
bool RPCAMCLink::operator== | ( | RPCAMCLink const & | _rhs | ) | const |
bool RPCAMCLink::operator== | ( | ::uint32_t const & | _rhs | ) | const |
void RPCAMCLink::reset | ( | ) |
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
RPCAMCLink& RPCAMCLink::setAMCInput | ( | int | _amcinput = wildcard_ | ) |
Referenced by RPCAMCLink().
RPCAMCLink& RPCAMCLink::setAMCNumber | ( | int | _amcnumber = wildcard_ | ) |
Referenced by RPCAMCLink().
RPCAMCLink& RPCAMCLink::setFED | ( | int | _fed = wildcard_ | ) |
Field Setters A cms::Exception("OutOfRange") is thrown for out-of-range input values.
Referenced by RPCAMCLink().
void RPCAMCLink::setId | ( | ::uint32_t const & | _id | ) |
|
friend |
Definition at line 92 of file RPCAMCLink.h.
|
friend |
Definition at line 92 of file RPCAMCLink.h.
|
protected |
Definition at line 90 of file RPCAMCLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 35 of file RPCAMCLink.h.
|
staticprotected |
Definition at line 33 of file RPCAMCLink.h.
|
staticprotected |
Definition at line 31 of file RPCAMCLink.h.
|
static |
Definition at line 24 of file RPCAMCLink.h.
|
static |
Definition at line 22 of file RPCAMCLink.h.
|
static |
Definition at line 20 of file RPCAMCLink.h.
|
static |
Definition at line 23 of file RPCAMCLink.h.
Referenced by getName().
|
static |
Definition at line 21 of file RPCAMCLink.h.
Referenced by getName().
|
static |
|
staticprotected |
Definition at line 34 of file RPCAMCLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 32 of file RPCAMCLink.h.
Referenced by getName().
|
staticprotected |
|
static |
Definition at line 15 of file RPCAMCLink.h.