#include <RPCLBLink.h>
Public Member Functions | |
::uint32_t | getId () const |
::uint32_t | getMask () const |
std::string | getName () const |
bool | matches (RPCLBLink const &_rhs) const |
bool | operator!= (RPCLBLink const &_rhs) const |
bool | operator!= (::uint32_t const &_rhs) const |
RPCLBLink & | operator++ () |
RPCLBLink | operator++ (int) |
RPCLBLink & | operator-- () |
RPCLBLink | operator-- (int) |
operator::uint32_t () const | |
bool | operator< (RPCLBLink const &_rhs) const |
bool | operator< (::uint32_t const &_rhs) const |
bool | operator== (RPCLBLink const &_rhs) const |
bool | operator== (::uint32_t const &_rhs) const |
void | reset () |
RPCLBLink () | |
RPCLBLink (::uint32_t const &_id) | |
RPCLBLink (int _region, int _yoke, int _sector=wildcard_, int _side=wildcard_, int _wheelordisk=wildcard_, int _fibre=wildcard_, int _radial=wildcard_, int _linkboard=wildcard_, int _connector=wildcard_) | |
void | setId (::uint32_t const &_id) |
int | getRegion () const |
int | getYoke () const |
int | getSector () const |
int | getSide () const |
int | getWheelOrDisk () const |
int | getFibre () const |
int | getRadial () const |
int | getLinkBoard () const |
int | getConnector () const |
RPCLBLink & | setRegion (int _region=wildcard_) |
RPCLBLink & | setYoke (int _yoke=wildcard_) |
RPCLBLink & | setSector (int _sector=wildcard_) |
RPCLBLink & | setSide (int _side=wildcard_) |
RPCLBLink & | setWheelOrDisk (int _wheelordisk=wildcard_) |
RPCLBLink & | setFibre (int _fibre=wildcard_) |
RPCLBLink & | setRadial (int _radial=wildcard_) |
RPCLBLink & | setLinkBoard (int _linkboard=wildcard_) |
RPCLBLink & | setConnector (int _connector=wildcard_) |
Static Public Attributes | |
static int const | wildcard_ = INT_MIN |
static int const | min_region_ = 0 |
static int const | max_region_ = 1 |
static int const | min_yoke_ = -5 |
static int const | max_yoke_ = 5 |
static int const | min_sector_ = 1 |
static int const | max_sector_ = 12 |
static int const | min_side_ = 0 |
static int const | max_side_ = 2 |
static int const | min_wheelordisk_ = 0 |
static int const | max_wheelordisk_ = 4 |
static int const | min_fibre_ = 0 |
static int const | max_fibre_ = 7 |
static int const | min_radial_ = 0 |
static int const | max_radial_ = 1 |
static int const | min_linkboard_ = 0 |
static int const | max_linkboard_ = 2 |
static int const | min_connector_ = 0 |
static int const | max_connector_ = 5 |
Protected Member Functions | |
int | bf_get (int const _min,::uint32_t const _mask, int const _pos) const |
RPCLBLink & | 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_region_ = 24 |
::uint32_t const | mask_region_ = 0x03000000 |
static int const | pos_yoke_ = 20 |
::uint32_t const | mask_yoke_ = 0x00f00000 |
static int const | pos_sector_ = 16 |
::uint32_t const | mask_sector_ = 0x000f0000 |
static int const | pos_side_ = 14 |
::uint32_t const | mask_side_ = 0x0000c000 |
static int const | pos_wheelordisk_ = 11 |
::uint32_t const | mask_wheelordisk_ = 0x00003800 |
static int const | pos_fibre_ = 7 |
::uint32_t const | mask_fibre_ = 0x00000780 |
static int const | pos_radial_ = 5 |
::uint32_t const | mask_radial_ = 0x00000060 |
static int const | pos_linkboard_ = 3 |
::uint32_t const | mask_linkboard_ = 0x00000018 |
static int const | pos_connector_ = 0 |
::uint32_t const | mask_connector_ = 0x00000007 |
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 Readout Links, following CMS IN 2002/065
Definition at line 12 of file RPCLBLink.h.
RPCLBLink::RPCLBLink | ( | ) |
Definition at line 6 of file RPCLBLink.cc.
RPCLBLink::RPCLBLink | ( | ::uint32_t const & | _id | ) |
Definition at line 10 of file RPCLBLink.cc.
RPCLBLink::RPCLBLink | ( | int | _region, |
int | _yoke, | ||
int | _sector = wildcard_ , |
||
int | _side = wildcard_ , |
||
int | _wheelordisk = wildcard_ , |
||
int | _fibre = wildcard_ , |
||
int | _radial = wildcard_ , |
||
int | _linkboard = wildcard_ , |
||
int | _connector = wildcard_ |
||
) |
Definition at line 14 of file RPCLBLink.cc.
References setConnector(), setFibre(), setLinkBoard(), setRadial(), setRegion(), setSector(), setSide(), setWheelOrDisk(), and setYoke().
|
protected |
|
protected |
|
protected |
Referenced by getName().
int RPCLBLink::getConnector | ( | ) | const |
Referenced by getName().
int RPCLBLink::getFibre | ( | ) | const |
Referenced by getName().
::uint32_t RPCLBLink::getId | ( | ) | const |
int RPCLBLink::getLinkBoard | ( | ) | const |
Referenced by getName().
uint32_t RPCLBLink::getMask | ( | ) | const |
Definition at line 36 of file RPCLBLink.cc.
References id_, mask_connector_, mask_fibre_, mask_linkboard_, mask_radial_, mask_region_, mask_sector_, mask_side_, mask_wheelordisk_, and mask_yoke_.
std::string RPCLBLink::getName | ( | ) | const |
Definition at line 60 of file RPCLBLink.cc.
References bf_stream(), getConnector(), getFibre(), getLinkBoard(), getRadial(), getRegion(), getSide(), getYoke(), mask_sector_, mask_wheelordisk_, min_sector_, min_wheelordisk_, pos_sector_, pos_wheelordisk_, and wildcard_.
Referenced by plotting.Plot::draw(), RPCDCCLinkMapHandler::getNewObjects(), RPCLBLinkMapHandler::getNewObjects(), and operator<<().
int RPCLBLink::getRadial | ( | ) | const |
Referenced by getName().
int RPCLBLink::getRegion | ( | ) | const |
Field Getters
Referenced by getName().
int RPCLBLink::getSector | ( | ) | const |
int RPCLBLink::getSide | ( | ) | const |
Referenced by getName().
int RPCLBLink::getWheelOrDisk | ( | ) | const |
int RPCLBLink::getYoke | ( | ) | const |
Referenced by getName().
bool RPCLBLink::matches | ( | RPCLBLink const & | _rhs | ) | const |
bool RPCLBLink::operator!= | ( | RPCLBLink const & | _rhs | ) | const |
bool RPCLBLink::operator!= | ( | ::uint32_t const & | _rhs | ) | const |
RPCLBLink& RPCLBLink::operator++ | ( | ) |
RPCLBLink RPCLBLink::operator++ | ( | int | ) |
RPCLBLink& RPCLBLink::operator-- | ( | ) |
RPCLBLink RPCLBLink::operator-- | ( | int | ) |
RPCLBLink::operator::uint32_t | ( | ) | const |
bool RPCLBLink::operator< | ( | RPCLBLink const & | _rhs | ) | const |
bool RPCLBLink::operator< | ( | ::uint32_t const & | _rhs | ) | const |
bool RPCLBLink::operator== | ( | RPCLBLink const & | _rhs | ) | const |
bool RPCLBLink::operator== | ( | ::uint32_t const & | _rhs | ) | const |
void RPCLBLink::reset | ( | ) |
|
private |
Referenced by RPCDCCLinkMapHandler::getNewObjects(), RPCLBLinkMapHandler::getNewObjects(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
void RPCLBLink::setId | ( | ::uint32_t const & | _id | ) |
Referenced by RPCDCCLinkMapHandler::getNewObjects(), RPCLBLinkNameParser::parse(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
Field Setters A cms::Exception("OutOfRange") is thrown for out-of-range input values.
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
|
friend |
Definition at line 134 of file RPCLBLink.h.
|
friend |
Definition at line 134 of file RPCLBLink.h.
|
protected |
Definition at line 132 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 59 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 53 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 57 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 55 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 43 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 47 of file RPCLBLink.h.
|
staticprotected |
Definition at line 49 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 51 of file RPCLBLink.h.
|
staticprotected |
Definition at line 45 of file RPCLBLink.h.
Referenced by getMask().
|
static |
Definition at line 36 of file RPCLBLink.h.
|
static |
Definition at line 30 of file RPCLBLink.h.
|
static |
Definition at line 34 of file RPCLBLink.h.
|
static |
Definition at line 32 of file RPCLBLink.h.
|
static |
Definition at line 20 of file RPCLBLink.h.
|
static |
Definition at line 24 of file RPCLBLink.h.
|
static |
Definition at line 26 of file RPCLBLink.h.
|
static |
Definition at line 28 of file RPCLBLink.h.
|
static |
Definition at line 22 of file RPCLBLink.h.
|
static |
Definition at line 35 of file RPCLBLink.h.
|
static |
Definition at line 29 of file RPCLBLink.h.
|
static |
Definition at line 33 of file RPCLBLink.h.
|
static |
Definition at line 31 of file RPCLBLink.h.
|
static |
field ranges
Definition at line 19 of file RPCLBLink.h.
|
static |
Definition at line 23 of file RPCLBLink.h.
Referenced by getName().
|
static |
Definition at line 25 of file RPCLBLink.h.
|
static |
Definition at line 27 of file RPCLBLink.h.
Referenced by getName().
|
static |
Definition at line 21 of file RPCLBLink.h.
|
staticprotected |
Definition at line 58 of file RPCLBLink.h.
|
staticprotected |
Definition at line 52 of file RPCLBLink.h.
|
staticprotected |
Definition at line 56 of file RPCLBLink.h.
|
staticprotected |
Definition at line 54 of file RPCLBLink.h.
|
staticprotected |
field positions and masks
Definition at line 42 of file RPCLBLink.h.
|
staticprotected |
Definition at line 46 of file RPCLBLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 48 of file RPCLBLink.h.
|
staticprotected |
Definition at line 50 of file RPCLBLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 44 of file RPCLBLink.h.
|
static |
Definition at line 15 of file RPCLBLink.h.
Referenced by getName().