#include <RPCLBLink.h>
Public Member Functions | |
std::uint32_t | getId () const |
std::uint32_t | getMask () const |
std::string | getName () const |
bool | matches (RPCLBLink const &rhs) const |
operator std::uint32_t () const | |
bool | operator!= (RPCLBLink const &rhs) const |
bool | operator!= (std::uint32_t const &rhs) const |
RPCLBLink & | operator++ () |
RPCLBLink | operator++ (int) |
RPCLBLink & | operator-- () |
RPCLBLink | operator-- (int) |
bool | operator< (RPCLBLink const &rhs) const |
bool | operator< (std::uint32_t const &rhs) const |
bool | operator== (RPCLBLink const &rhs) const |
bool | operator== (std::uint32_t const &rhs) const |
void | reset () |
RPCLBLink () | |
RPCLBLink (std::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 (std::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, std::uint32_t const mask, int const pos) const |
RPCLBLink & | 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 int const | pos_region_ = 24 |
static std::uint32_t const | mask_region_ = 0x03000000 |
static int const | pos_yoke_ = 20 |
static std::uint32_t const | mask_yoke_ = 0x00f00000 |
static int const | pos_sector_ = 16 |
static std::uint32_t const | mask_sector_ = 0x000f0000 |
static int const | pos_side_ = 14 |
static std::uint32_t const | mask_side_ = 0x0000c000 |
static int const | pos_wheelordisk_ = 11 |
static std::uint32_t const | mask_wheelordisk_ = 0x00003800 |
static int const | pos_fibre_ = 7 |
static std::uint32_t const | mask_fibre_ = 0x00000780 |
static int const | pos_radial_ = 5 |
static std::uint32_t const | mask_radial_ = 0x00000060 |
static int const | pos_linkboard_ = 3 |
static std::uint32_t const | mask_linkboard_ = 0x00000018 |
static int const | pos_connector_ = 0 |
static std::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 | ( | std::uint32_t const & | id | ) |
Definition at line 8 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 10 of file RPCLBLink.cc.
References nano_mu_digi_cff::region, nano_mu_digi_cff::sector, setConnector(), setFibre(), setLinkBoard(), setRadial(), setRegion(), setSector(), setSide(), setWheelOrDisk(), setYoke(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side().
|
protected |
|
protected |
|
protected |
Referenced by getName().
int RPCLBLink::getConnector | ( | ) | const |
Referenced by getName(), and RPCLBPacker::getRPCLBRecords().
int RPCLBLink::getFibre | ( | ) | const |
Referenced by getName().
std::uint32_t RPCLBLink::getId | ( | ) | const |
int RPCLBLink::getLinkBoard | ( | ) | const |
Referenced by getName(), and RPCLBPacker::getRPCLBRecords().
std::uint32_t RPCLBLink::getMask | ( | ) | const |
Definition at line 24 of file RPCLBLink.cc.
References id_, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, 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 47 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_, nano_mu_digi_cff::region, 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 |
RPCLBLink::operator std::uint32_t | ( | ) | const |
bool RPCLBLink::operator!= | ( | RPCLBLink const & | rhs | ) | const |
bool RPCLBLink::operator!= | ( | std::uint32_t const & | rhs | ) | const |
RPCLBLink& RPCLBLink::operator++ | ( | ) |
RPCLBLink RPCLBLink::operator++ | ( | int | ) |
RPCLBLink& RPCLBLink::operator-- | ( | ) |
RPCLBLink RPCLBLink::operator-- | ( | int | ) |
bool RPCLBLink::operator< | ( | RPCLBLink const & | rhs | ) | const |
bool RPCLBLink::operator< | ( | std::uint32_t const & | rhs | ) | const |
bool RPCLBLink::operator== | ( | RPCLBLink const & | rhs | ) | const |
bool RPCLBLink::operator== | ( | std::uint32_t const & | rhs | ) | const |
void RPCLBLink::reset | ( | ) |
|
private |
Referenced by RPCLBLinkNameParser::parse(), and RPCLBLink().
void RPCLBLink::setId | ( | std::uint32_t const & | id | ) |
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 133 of file RPCLBLink.h.
|
friend |
Definition at line 133 of file RPCLBLink.h.
|
protected |
Definition at line 131 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 58 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 52 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 56 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 54 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 42 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 46 of file RPCLBLink.h.
|
staticprotected |
Definition at line 48 of file RPCLBLink.h.
Referenced by getMask().
|
staticprotected |
Definition at line 50 of file RPCLBLink.h.
|
staticprotected |
Definition at line 44 of file RPCLBLink.h.
Referenced by getMask().
|
static |
Definition at line 35 of file RPCLBLink.h.
Referenced by RPCTwinMuxRawToDigi::processRPCRecord(), and RPCCPPFUnpacker::processRXRecord().
|
static |
Definition at line 29 of file RPCLBLink.h.
|
static |
Definition at line 33 of file RPCLBLink.h.
Referenced by RPCTwinMuxRawToDigi::processRPCRecord(), and RPCCPPFUnpacker::processRXRecord().
|
static |
Definition at line 31 of file RPCLBLink.h.
|
static |
Definition at line 19 of file RPCLBLink.h.
|
static |
Definition at line 23 of file RPCLBLink.h.
|
static |
Definition at line 25 of file RPCLBLink.h.
|
static |
Definition at line 27 of file RPCLBLink.h.
|
static |
Definition at line 21 of file RPCLBLink.h.
|
static |
Definition at line 34 of file RPCLBLink.h.
|
static |
Definition at line 28 of file RPCLBLink.h.
|
static |
Definition at line 32 of file RPCLBLink.h.
|
static |
Definition at line 30 of file RPCLBLink.h.
|
static |
field ranges
Definition at line 18 of file RPCLBLink.h.
|
static |
Definition at line 22 of file RPCLBLink.h.
Referenced by getName().
|
static |
Definition at line 24 of file RPCLBLink.h.
|
static |
Definition at line 26 of file RPCLBLink.h.
Referenced by getName().
|
static |
Definition at line 20 of file RPCLBLink.h.
|
staticprotected |
Definition at line 57 of file RPCLBLink.h.
|
staticprotected |
Definition at line 51 of file RPCLBLink.h.
|
staticprotected |
Definition at line 55 of file RPCLBLink.h.
|
staticprotected |
Definition at line 53 of file RPCLBLink.h.
|
staticprotected |
field positions and masks
Definition at line 41 of file RPCLBLink.h.
|
staticprotected |
Definition at line 45 of file RPCLBLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 47 of file RPCLBLink.h.
|
staticprotected |
Definition at line 49 of file RPCLBLink.h.
Referenced by getName().
|
staticprotected |
Definition at line 43 of file RPCLBLink.h.
|
static |
Definition at line 14 of file RPCLBLink.h.
Referenced by getName().