Changeset 12825
- Timestamp:
- 02/03/12 12:37:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/feedback.cc
r12805 r12825 249 249 { 250 250 fCalibration[i] = double(fCurrentsAvg[i])/fCursor; 251 fCalibration[i+416] = sqrt(double(fCurrentsRms[i])/fCursor- val[i]*val[i]);251 fCalibration[i+416] = sqrt(double(fCurrentsRms[i])/fCursor-fCalibration[i]*fCalibration[i]); 252 252 } 253 253 … … 529 529 { 530 530 Out() << "No calibration performed so far." << endl; 531 return GetCurrentStat us();531 return GetCurrentState(); 532 532 } 533 533 … … 537 537 Out() << setw(2) << k << "|" << setw(2) << j*4 << "|"; 538 538 for (int i=0; i<4; i++) 539 Out() << Tools::Form at(" %6.1f+-4.1f", fCalibration[i], fCalibration[i+416]);539 Out() << Tools::Form(" %6.1f+-%4.1f", fCalibration[i], fCalibration[i+416]); 540 540 Out() << endl; 541 541 } 542 }543 542 544 543 return GetCurrentState();
Note:
See TracChangeset
for help on using the changeset viewer.