FACT++  1.0
void UIConnector::on_HwIDBox_valueChanged ( int  = 0)
slot

Definition at line 2093 of file RawEventsViewer.cc.

2094 {
2095  updating = true;
2096 
2097  const int hwID = HwIDBox->value();
2098 
2099  const int crateID = hwID/360;
2100  const int boardID = (hwID%360)/36;
2101  const int patchID = (hwID%36 )/9;
2102  const int pixelID = hwID%9;
2103 
2104  SwIDBox->setValue(GLWindow->softwareMapping[hwID]);
2105 
2106  crateIDBox->setValue(crateID);
2107  boardIDBox->setValue(boardID);
2108  patchIDBox->setValue(patchID);
2109  pixelIDBox->setValue(pixelID);
2110 
2111  updating = false;
2112 
2113  GLWindow->selectedPixel = GLWindow->softwareMapping[hwID];
2114  GLWindow->updateGL();
2115 
2116  pixelChanged(GLWindow->selectedPixel);
2117 }
void pixelChanged(int)