Changeset 16941 for trunk/FACT++
- Timestamp:
- 06/28/13 14:32:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r16732 r16941 949 949 } 950 950 951 double ConvertDacToVolt(uint16_t ch, uint16_t dac) 952 { 953 return dac*90./4096 - fChannelCalibration[ch]; 954 } 955 951 956 // -------------------------------------------------------------------- 952 957 … … 1511 1516 vector<float> volt(kNumChannels); 1512 1517 for (float ch=0; ch<kNumChannels; ch++) 1513 volt[ch] = fDacActual[ch]*90./4096 - fChannelCalibration[ch];1518 volt[ch] = ConvertDacToVolt(ch, fDacActual[ch]); 1514 1519 fDimVolt.setTime(now); 1515 1520 fDimVolt.setQuality(rc);
Note:
See TracChangeset
for help on using the changeset viewer.