30 int hubaddress,
int portaddress,
int rocid,
31 int fednumber,
int fedchannel,
33 fecnumber_(fecnumber),
35 mfecchannel_(mfecchannel),
36 portaddress_(portaddress),
37 hubaddress_(hubaddress),
39 fednumber_(fednumber),
40 fedchannel_(fedchannel),
41 fedrocnumber_(fedrocnumber)
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 ;
bool operator()(const PixelHdwAddress &roc1, const PixelHdwAddress &roc2) const
Store mfec, mfecchannel etc.
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
const PixelHdwAddress & operator=(const PixelHdwAddress &aROC)
unsigned int mfecchannel_
unsigned int portaddress_
void setAddress(std::string what, int value)
Store mfec, mfecchannel etc.
void compare(std::string what, bool &changed, unsigned int newValue, unsigned int &oldValue)
unsigned int fedrocnumber_