Changeset 6488 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 02/15/05 16:05:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MPointingPosInterpolate.cc
r6289 r6488 177 177 // Sometimes there are two reports with the same time 178 178 // 179 if (reporttime->GetTime() == reportTime[n- 1])179 if (reporttime->GetTime() == reportTime[n-2]) 180 180 { 181 181 *fLog << warn <<"["<< GetName() … … 219 219 fSplineAz = new TSpline3("azimuth", 220 220 reportTime.GetArray(), nominalAz.GetArray(), n-1); 221 221 222 222 223 if (fDebug) 223 224 { 225 *fLog << n-1 << " " << reportTime.GetSize() << endl; 226 *fLog << n-1 << " " << nominalZd.GetSize() << endl; 227 *fLog << fFirstDriveTime.GetTime() << " " << fSplineZd->Eval((fFirstDriveTime.GetTime()+fLastDriveTime.GetTime())/2.) << endl; 224 228 TCanvas* c = new TCanvas(); 225 229 c->Divide(2,1); … … 313 317 314 318 case kEventTime: 319 time = fEvtTime->GetTime(); 320 315 321 if (fDebug) 316 322 { … … 364 370 << zd << ", " << az << "," << fRa << "," << fDec << ")" << endl; 365 371 } 366 372 367 373 fPointingPos->SetLocalPosition( zd, az ); 368 374 //fPointingPos->SetSkyPosition( fRa*TMath::DegToRad()/15, fDec*TMath::DegToRad());
Note:
See TracChangeset
for help on using the changeset viewer.