50 s<<
"[PixelHdwAddress::operator<<]" <<std::endl;
51 s<<
"fecnumber :" << pixelroc.
fecnumber_ <<std::endl;
52 s<<
"mfec :" << pixelroc.
mfec_ <<std::endl;
53 s<<
"mfecchannel :" << pixelroc.
mfecchannel_ <<std::endl;
54 s<<
"portaddress :" << pixelroc.
portaddress_ <<std::endl;
55 s<<
"hubaddress :" << pixelroc.
hubaddress_ <<std::endl;
56 s<<
"rocid :" << pixelroc.
rocid_ <<std::endl;
57 s<<
"fednumber :" << pixelroc.
fednumber_ <<std::endl;
58 s<<
"fedchannel :" << pixelroc.
fedchannel_ <<std::endl;
85 std::string mthn =
"[PixelHdwAddress::setAddress()]\t\t\t " ;
86 if( what ==
"fecnumber" )
89 }
else if( what ==
"mfec" ) {
91 }
else if( what ==
"mfecchannel" ) {
93 }
else if( what ==
"portaddress" ) {
95 }
else if( what ==
"hubaddress" ) {
97 }
else if( what ==
"rocid" ) {
99 }
else if( what ==
"fednumber" ) {
101 }
else if( what ==
"fedchannel" ) {
103 }
else if( what ==
"fedrocnumber") {
106 std::cout << __LINE__ <<
"]\t" << mthn <<
"Could not set a value for " << what
107 <<
" (invalid keyword)" << std::endl ;
115 std::string mthn =
"[PixelHdwAddress::compare()]\t\t\t " ;
119 if( what ==
"fecnumber" )
122 }
else if( what ==
"mfec" ) {
124 }
else if( what ==
"mfecchannel" ) {
126 }
else if( what ==
"portaddress" ) {
128 }
else if( what ==
"hubaddress" ) {
130 }
else if( what ==
"rocid" ) {
132 }
else if( what ==
"fednumber" ) {
134 }
else if( what ==
"fedchannel" ) {
136 }
else if( what ==
"fedrocnumber") {
139 std::cout << __LINE__ <<
"]\t" << mthn <<
"Could not compare value for " << what
140 <<
" (invalid keyword)" << std::endl ;
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_