Changeset 18116
- Timestamp:
- 02/12/15 11:05:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r17649 r18116 85 85 86 86 protected: 87 vector<float> f BreakdownVoltage; // Breakdown voltage of GAPDs87 vector<float> fOperationVoltage; // Operation voltage of GAPDs 88 88 //vector<float> fChannelOffset; // User defined channel offset 89 89 … … 841 841 fCounter(8), 842 842 fCurrent(kNumChannels), 843 f BreakdownVoltage(kNumChannels, 0),843 fOperationVoltage(kNumChannels, 0), 844 844 //fChannelOffset(kNumChannels), 845 845 fCalibrationOffset(kNumChannels), … … 888 888 } 889 889 890 if (f BreakdownVoltage[ch]<=0)890 if (fOperationVoltage[ch]<=0) 891 891 return true; 892 892 893 if (volt>f BreakdownVoltage[ch]+fVoltageMaxRel)893 if (volt>fOperationVoltage[ch]+fVoltageMaxRel) // FIXME: fVoltageMaxRel!!! 894 894 { 895 895 ostringstream msg; 896 msg << "CheckChannelVoltage - Set voltage " << volt << "V of channel " << ch << " exceeds limit of " << fVoltageMaxRel << "V above breakdown voltage " << fBreakdownVoltage[ch] << "V + limit " << fVoltageMaxRel << "V.";896 msg << "CheckChannelVoltage - Set voltage " << volt << "V of channel " << ch << " exceeds limit of " << fVoltageMaxRel << "V above operation voltage " << fOperationVoltage[ch] << "V + limit " << fVoltageMaxRel << "V."; 897 897 Error(msg); 898 898 return false; … … 1143 1143 } 1144 1144 1145 f BreakdownVoltage = volt;1145 fOperationVoltage = volt; 1146 1146 fCalibrationOffset = offset; 1147 1147 fCalibrationSlope = slope; … … 1389 1389 { 1390 1390 const int id = c+kNumChannelsPerBoard*b; 1391 Out() << " " << setw(5) << f BreakdownVoltage[id];1391 Out() << " " << setw(5) << fOperationVoltage[id]; 1392 1392 } 1393 1393 Out() << endl; … … 1548 1548 vector<float> volt; 1549 1549 volt.reserve(3*kNumChannels); 1550 volt.insert(volt.end(), f BreakdownVoltage.begin(), fBreakdownVoltage.end());1550 volt.insert(volt.end(), fOperationVoltage.begin(), fOperationVoltage.end()); 1551 1551 volt.insert(volt.end(), fCalibrationOffset.begin(), fCalibrationOffset.end()); 1552 1552 volt.insert(volt.end(), fCalibrationSlope.begin(), fCalibrationSlope.end()); … … 1565 1565 "|Uout[V]:Output voltage"), 1566 1566 fDimGapd("BIAS_CONTROL/NOMINAL", "F:416;F:416;F:416", 1567 "|U br[V]:Nominal breakdown voltage at 25deg C"1567 "|Uop[V]:Nominal operation voltage at 25deg C" 1568 1568 "|Uoff[V]:Bias crate channel calibration offsets" 1569 1569 "|Rcal[Ohm]:Bias crate channel calibration slope")
Note:
See TracChangeset
for help on using the changeset viewer.