- Timestamp:
- 05/28/13 17:58:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/feedback.cc
r16412 r16413 727 727 void HandleCalibrateCurrents(const EventImp &evt) 728 728 { 729 if (fBiasVolt. size()==0 || fCalibration.size()==0|| evt.GetSize()<416*sizeof(int16_t))729 if (fBiasVolt.empty() || fCalibration.empty() || evt.GetSize()<416*sizeof(int16_t)) 730 730 return; 731 731 … … 875 875 int PrintCalibration() 876 876 { 877 if (fCalibration. size()==0)877 if (fCalibration.empty()) 878 878 { 879 879 Out() << "No calibration performed so far." << endl; … … 1043 1043 return kSM_FatalError; 1044 1044 1045 if (fCalibration. size()==0)1045 if (fCalibration.empty()) 1046 1046 { 1047 1047 Warn("Current control needs a bias crate calibration first... command ignored."); … … 1130 1130 } 1131 1131 1132 if (fVoltGapd. size()==0)1132 if (fVoltGapd.empty()) 1133 1133 { 1134 1134 Error("No G-APD reference voltages received yet (BIAS_CONTROL/NOMINAL).");
Note:
See TracChangeset
for help on using the changeset viewer.