FACT++  1.0
double ConnectionBias::ConvertDacToVolt ( uint16_t  ch,
uint16_t  dac 
)
inline

Definition at line 986 of file biasctrl.cc.

987  {
988  if (fCalibrationSlope[ch]<=0)
989  return 0;
990 
991  const double current = dac/4096000.; // Convert dac to current [A] [ *= 1mA/4096]
992  return current*fCalibrationSlope[ch] + fCalibrationOffset[ch];
993  }
vector< float > fCalibrationOffset
Definition: biasctrl.cc:93
vector< float > fCalibrationSlope
Definition: biasctrl.cc:94