Store mfec, mfecchannel etc. More...
#include "interface/PixelHdwAddress.h"
Public Member Functions | |
void | compare (std::string what, bool &changed, unsigned int newValue, unsigned int &oldValue) |
unsigned int | fecnumber () const |
unsigned int | fedchannel () const |
unsigned int | fednumber () const |
unsigned int | fedrocnumber () const |
unsigned int | hubaddress () const |
unsigned int | mfec () const |
unsigned int | mfecchannel () const |
bool | operator() (const PixelHdwAddress &roc1, const PixelHdwAddress &roc2) const |
const bool | operator< (const PixelHdwAddress &aHdwAddress) const |
const bool | operator|= (const PixelHdwAddress &aHdwAddress) const |
PixelHdwAddress () | |
PixelHdwAddress (int fecnumber, int mfec, int mfecchannel, int hubaddress, int portaddress, int rocid, int fednumber, int fedchannel, int fedrocnumber) | |
unsigned int | portaddress () const |
unsigned int | rocid () const |
void | setAddress (std::string what, int value) |
Private Attributes | |
unsigned int | fecnumber_ |
unsigned int | fedchannel_ |
unsigned int | fednumber_ |
unsigned int | fedrocnumber_ |
unsigned int | hubaddress_ |
unsigned int | mfec_ |
unsigned int | mfecchannel_ |
unsigned int | portaddress_ |
unsigned int | rocid_ |
Friends | |
std::ostream & | pos::operator<< (std::ostream &s, const PixelHdwAddress &pixelroc) |
Store mfec, mfecchannel etc.
A longer explanation will be placed here later
Definition at line 23 of file PixelHdwAddress.h.
PixelHdwAddress::PixelHdwAddress | ( | ) |
Definition at line 16 of file PixelHdwAddress.cc.
PixelHdwAddress::PixelHdwAddress | ( | int | fecnumber, |
int | mfec, | ||
int | mfecchannel, | ||
int | hubaddress, | ||
int | portaddress, | ||
int | rocid, | ||
int | fednumber, | ||
int | fedchannel, | ||
int | fedrocnumber | ||
) |
Definition at line 27 of file PixelHdwAddress.cc.
void PixelHdwAddress::compare | ( | std::string | what, |
bool & | changed, | ||
unsigned int | newValue, | ||
unsigned int & | oldValue | ||
) |
Definition at line 94 of file PixelHdwAddress.cc.
References cms::cuda::assert(), gather_cfg::cout, fecnumber_, fedchannel_, fednumber_, fedrocnumber_, hubaddress_, mfec_, mfecchannel_, portaddress_, rocid_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 37 of file PixelHdwAddress.h.
References fecnumber_.
Referenced by pos::PixelCalibConfiguration::getFECCrates(), pos::PixelCalibConfiguration::nextFECState(), and pos::PixelNameTranslation::PixelNameTranslation().
|
inline |
Definition at line 44 of file PixelHdwAddress.h.
References fedchannel_.
Referenced by pos::PixelConfigurationVerifier::checkChannelEnable(), pos::PixelCalibConfiguration::fedCardsAndChannels(), pos::PixelDetectorConfig::getFEDsAndChannels(), pos::PixelCalibConfiguration::getFEDsAndChannels(), pos::PixelNameTranslation::getROCsFromChannel(), and pos::PixelNameTranslation::PixelNameTranslation().
|
inline |
Definition at line 43 of file PixelHdwAddress.h.
References fednumber_.
Referenced by pos::PixelConfigurationVerifier::checkChannelEnable(), pos::PixelCalibConfiguration::fedCardsAndChannels(), pos::PixelCalibConfiguration::getFEDCrates(), pos::PixelDetectorConfig::getFEDs(), pos::PixelDetectorConfig::getFEDsAndChannels(), pos::PixelCalibConfiguration::getFEDsAndChannels(), pos::PixelNameTranslation::getROCsFromChannel(), and pos::PixelNameTranslation::PixelNameTranslation().
|
inline |
|
inline |
Definition at line 40 of file PixelHdwAddress.h.
References hubaddress_.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), pos::PixelTBMSettings::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelDACSettings::generateConfiguration(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelNameTranslation::PixelNameTranslation(), pos::PixelDACSettings::setVcthrDisable(), and pos::PixelDACSettings::setVcthrEnable().
|
inline |
Definition at line 38 of file PixelHdwAddress.h.
References mfec_.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), pos::PixelTBMSettings::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelDACSettings::generateConfiguration(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelNameTranslation::PixelNameTranslation(), pos::PixelDACSettings::setVcthrDisable(), and pos::PixelDACSettings::setVcthrEnable().
|
inline |
Definition at line 39 of file PixelHdwAddress.h.
References mfecchannel_.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), pos::PixelTBMSettings::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelDACSettings::generateConfiguration(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelNameTranslation::PixelNameTranslation(), pos::PixelDACSettings::setVcthrDisable(), and pos::PixelDACSettings::setVcthrEnable().
bool PixelHdwAddress::operator() | ( | const PixelHdwAddress & | roc1, |
const PixelHdwAddress & | roc2 | ||
) | const |
Definition at line 161 of file PixelHdwAddress.cc.
References fedchannel_, fednumber_, and fedrocnumber_.
|
inline |
Definition at line 58 of file PixelHdwAddress.h.
References fedchannel_, fednumber_, and fedrocnumber_.
|
inline |
Definition at line 52 of file PixelHdwAddress.h.
References fecnumber_, fedchannel_, fednumber_, hubaddress_, mfec_, and mfecchannel_.
|
inline |
Definition at line 41 of file PixelHdwAddress.h.
References portaddress_.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelDACSettings::generateConfiguration(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelDACSettings::setVcthrDisable(), and pos::PixelDACSettings::setVcthrEnable().
|
inline |
Definition at line 42 of file PixelHdwAddress.h.
References rocid_.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelDACSettings::generateConfiguration(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelDACSettings::setVcthrDisable(), and pos::PixelDACSettings::setVcthrEnable().
void PixelHdwAddress::setAddress | ( | std::string | what, |
int | value | ||
) |
Definition at line 67 of file PixelHdwAddress.cc.
References cms::cuda::assert(), gather_cfg::cout, fecnumber_, fedchannel_, fednumber_, fedrocnumber_, hubaddress_, mfec_, mfecchannel_, portaddress_, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
friend |
|
private |
Definition at line 74 of file PixelHdwAddress.h.
Referenced by compare(), fecnumber(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 81 of file PixelHdwAddress.h.
Referenced by compare(), fedchannel(), operator()(), operator<(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 80 of file PixelHdwAddress.h.
Referenced by compare(), fednumber(), operator()(), operator<(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 82 of file PixelHdwAddress.h.
Referenced by compare(), fedrocnumber(), operator()(), operator<(), pos::operator<<(), and setAddress().
|
private |
Definition at line 78 of file PixelHdwAddress.h.
Referenced by compare(), hubaddress(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 75 of file PixelHdwAddress.h.
Referenced by compare(), mfec(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 76 of file PixelHdwAddress.h.
Referenced by compare(), mfecchannel(), pos::operator<<(), operator|=(), and setAddress().
|
private |
Definition at line 77 of file PixelHdwAddress.h.
Referenced by compare(), pos::operator<<(), portaddress(), and setAddress().
|
private |
Definition at line 79 of file PixelHdwAddress.h.
Referenced by compare(), pos::operator<<(), rocid(), and setAddress().