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 PixelHdwAddress & | operator= (const PixelHdwAddress &aROC) |
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 29 of file PixelHdwAddress.cc.
void PixelHdwAddress::compare | ( | std::string | what, |
bool & | changed, | ||
unsigned int | newValue, | ||
unsigned int & | oldValue | ||
) |
Definition at line 113 of file PixelHdwAddress.cc.
References gather_cfg::cout, funct::false, fecnumber_, fedchannel_, fednumber_, fedrocnumber_, hubaddress_, mfec_, mfecchannel_, portaddress_, reco::return(), rocid_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator<().
|
inline |
Definition at line 34 of file PixelHdwAddress.h.
References fecnumber_.
Referenced by pos::PixelCalibConfiguration::getFECCrates(), pos::PixelCalibConfiguration::nextFECState(), and pos::PixelNameTranslation::PixelNameTranslation().
|
inline |
Definition at line 41 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 40 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 |
Definition at line 42 of file PixelHdwAddress.h.
References fedrocnumber_, operator()(), pos::operator<<(), operator=(), and alignCSCRings::s.
|
inline |
Definition at line 37 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 35 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 36 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 146 of file PixelHdwAddress.cc.
References fedchannel_, fednumber_, and fedrocnumber_.
Referenced by fedrocnumber().
|
inline |
Definition at line 62 of file PixelHdwAddress.h.
References compare(), fedchannel_, fednumber_, fedrocnumber_, setAddress(), and AlCaHLTBitMon_QueryRunRegistry::string.
const PixelHdwAddress & PixelHdwAddress::operator= | ( | const PixelHdwAddress & | aROC | ) |
Definition at line 65 of file PixelHdwAddress.cc.
References fecnumber_, fedchannel_, fednumber_, fedrocnumber_, hubaddress_, mfec_, mfecchannel_, portaddress_, and rocid_.
Referenced by fedrocnumber().
|
inline |
Definition at line 53 of file PixelHdwAddress.h.
References fecnumber_, fedchannel_, fednumber_, hubaddress_, mfec_, and mfecchannel_.
|
inline |
Definition at line 38 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 39 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 83 of file PixelHdwAddress.cc.
References gather_cfg::cout, fecnumber_, fedchannel_, fednumber_, fedrocnumber_, hubaddress_, mfec_, mfecchannel_, portaddress_, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by operator<().
|
friend |
|
private |
Definition at line 76 of file PixelHdwAddress.h.
Referenced by compare(), fecnumber(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 83 of file PixelHdwAddress.h.
Referenced by compare(), fedchannel(), operator()(), operator<(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 82 of file PixelHdwAddress.h.
Referenced by compare(), fednumber(), operator()(), operator<(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 84 of file PixelHdwAddress.h.
Referenced by compare(), fedrocnumber(), operator()(), operator<(), pos::operator<<(), operator=(), and setAddress().
|
private |
Definition at line 80 of file PixelHdwAddress.h.
Referenced by compare(), hubaddress(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 77 of file PixelHdwAddress.h.
Referenced by compare(), mfec(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 78 of file PixelHdwAddress.h.
Referenced by compare(), mfecchannel(), pos::operator<<(), operator=(), operator|=(), and setAddress().
|
private |
Definition at line 79 of file PixelHdwAddress.h.
Referenced by compare(), pos::operator<<(), operator=(), portaddress(), and setAddress().
|
private |
Definition at line 81 of file PixelHdwAddress.h.
Referenced by compare(), pos::operator<<(), operator=(), rocid(), and setAddress().