51 s <<
"[PixelHdwAddress::operator<<]" << std::endl;
52 s <<
"fecnumber :" << pixelroc.
fecnumber_ << std::endl;
53 s <<
"mfec :" << pixelroc.
mfec_ << std::endl;
54 s <<
"mfecchannel :" << pixelroc.
mfecchannel_ << std::endl;
55 s <<
"portaddress :" << pixelroc.
portaddress_ << std::endl;
56 s <<
"hubaddress :" << pixelroc.
hubaddress_ << std::endl;
57 s <<
"rocid :" << pixelroc.
rocid_ << std::endl;
58 s <<
"fednumber :" << pixelroc.
fednumber_ << std::endl;
59 s <<
"fedchannel :" << pixelroc.
fedchannel_ << std::endl;
83 std::string mthn =
"[PixelHdwAddress::setAddress()]\t\t\t ";
84 if (what ==
"fecnumber") {
86 }
else if (what ==
"mfec") {
88 }
else if (what ==
"mfecchannel") {
90 }
else if (what ==
"portaddress") {
92 }
else if (what ==
"hubaddress") {
94 }
else if (what ==
"rocid") {
96 }
else if (what ==
"fednumber") {
98 }
else if (what ==
"fedchannel") {
100 }
else if (what ==
"fedrocnumber") {
103 std::cout << __LINE__ <<
"]\t" << mthn <<
"Could not set a value for " << what <<
" (invalid keyword)" << std::endl;
110 std::string mthn =
"[PixelHdwAddress::compare()]\t\t\t ";
114 if (what ==
"fecnumber") {
120 }
else if (what ==
"mfec") {
121 if (
mfec_ != newValue) {
126 }
else if (what ==
"mfecchannel") {
132 }
else if (what ==
"portaddress") {
138 }
else if (what ==
"hubaddress") {
144 }
else if (what ==
"rocid") {
150 }
else if (what ==
"fednumber") {
156 }
else if (what ==
"fedchannel") {
162 }
else if (what ==
"fedrocnumber") {
169 std::cout << __LINE__ <<
"]\t" << mthn <<
"Could not compare value for " << what <<
" (invalid keyword)" unsigned int mfec() const
unsigned int portaddress() const
unsigned int fedrocnumber() const
unsigned int fednumber() const
bool operator()(const PixelHdwAddress &roc1, const PixelHdwAddress &roc2) const
Store mfec, mfecchannel etc.
unsigned int rocid() const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
unsigned int mfecchannel() const
const PixelHdwAddress & operator=(const PixelHdwAddress &aROC)
unsigned int mfecchannel_
unsigned int portaddress_
unsigned int fedchannel() const
unsigned int hubaddress() const
void setAddress(std::string what, int value)
Store mfec, mfecchannel etc.
unsigned int fecnumber() const
void compare(std::string what, bool &changed, unsigned int newValue, unsigned int &oldValue)
unsigned int fedrocnumber_