98 }
while (str[0]==
'#');
101 Int_t n = sscanf(str.Data(),
"%f %f %f %f %*f %*f %*f %*f %*f %*f %f", v, v+1, v+2, v+3, &
mag);
104 cout <<
"Read: ERROR - Not enough numbers" << endl;
107 set.fMag = n<5 ? -25 :
mag;
109 set.fStarAz = v[0]*TMath::DegToRad();
110 set.fStarEl = v[1]*TMath::DegToRad();
112 set.fRawAz = v[2]*TMath::DegToRad();
113 set.fRawEl = v[3]*TMath::DegToRad();
120 res =
set.GetResidual(&err);
121 cout <<
"Read: " << v[0] <<
" " << v[1] <<
" : " << v[2] <<
" " << v[3] <<
" : " << v[2]-v[0] <<
" " << v[3]-v[1] <<
" : " << res <<
" " << err <<
" " << err/res << endl;