FACT++  1.0
void UIConnector::calibFileSelected ( QString  file)
slot

Definition at line 1296 of file RawEventsViewer.cc.

References RawDataViewer::CALIB_BASELINE, RawDataViewer::CALIB_GAIN, and RawDataViewer::CALIB_TRIG_OFFSET.

1297 {
1298  currentCalibFile = file.toStdString();
1299  if (currentCalibFile != "")
1300  GLWindow->openCalibFile(currentCalibFile);
1301  if (GLWindow->fDrsCalib.fRoi != 0)
1302  {//spread the calibration data to the displayers
1303  Baseline_window->getCalibrationDataForDisplay(RawDataViewer::CALIB_BASELINE,
1304  GLWindow->fDrsCalib.fOffset,
1305  GLWindow->fDrsCalib.fRoi,
1306  GLWindow->fDrsCalib.fNumTm);
1307 
1308  Gain_window->getCalibrationDataForDisplay(RawDataViewer::CALIB_GAIN,
1309  GLWindow->fDrsCalib.fGain,
1310  GLWindow->fDrsCalib.fRoi,
1311  GLWindow->fDrsCalib.fNumTm);
1312 
1313  TriggerOffset_window->getCalibrationDataForDisplay(RawDataViewer::CALIB_TRIG_OFFSET,
1314  GLWindow->fDrsCalib.fTrgOff,
1315  GLWindow->fDrsCalib.fRoi,
1316  GLWindow->fDrsCalib.fNumTm);
1317 
1318  }
1319 }
std::string currentCalibFile