Changeset 7201 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 07/19/05 18:18:44 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MHPointing.cc
r7200 r7201 165 165 if (t->GetName()==(TString)"MTimeStarguider") 166 166 { 167 AddPoint(fDevTimeSG, tm, fReportSG->GetDevAbs()); 167 const Double_t max = 30; // [arcsec] maximum starguider deviation which makes sense 168 168 169 AddPoint(fBrightness, tm, fReportSG->GetSkyBrightness()); 169 170 AddPoint(fNumStars, tm, fReportSG->GetNumIdentifiedStars()); 170 AddPoint(fDevZd, tm, fReportSG->GetDevZd()); 171 AddPoint(fDevAz, tm, fReportSG->GetDevAz()); 171 if (fReportSG->GetDevAbs()<max) 172 AddPoint(fDevTimeSG, tm, fReportSG->GetDevAbs()); 173 if (TMath::Abs(fReportSG->GetDevZd())<max) 174 AddPoint(fDevZd, tm, fReportSG->GetDevZd()); 175 if (TMath::Abs(fReportSG->GetDevAz())<max) 176 AddPoint(fDevAz, tm, fReportSG->GetDevAz()); 172 177 return kTRUE; 173 178 } … … 176 181 { 177 182 AddPoint(fDevTimeCosy, tm, fReportCosy->GetAbsError()*60); 178 AddPoint(fPosZd, tm, fReportCosy->GetNominalZd()); 179 AddPoint(fPosAz, tm, fReportCosy->GetNominalAz()); 183 if (fPosZd.GetY()[fPosZd.GetN()-1] != fReportCosy->GetNominalZd()) 184 AddPoint(fPosZd, tm, fReportCosy->GetNominalZd()); 185 if (fPosAz.GetY()[fPosAz.GetN()-1] != fReportCosy->GetNominalAz()) 186 AddPoint(fPosAz, tm, fReportCosy->GetNominalAz()); 180 187 return kTRUE; 181 188 } … … 303 310 { 304 311 fNumStars.GetHistogram()->GetYaxis()->SetTitleColor(kBlue); 305 UpdateRightAxis(f Brightness);312 UpdateRightAxis(fNumStars); 306 313 } 307 314 … … 310 317 { 311 318 fPosAz.GetHistogram()->GetYaxis()->SetTitleColor(kBlue); 312 UpdateRightAxis(fPos Zd);313 } 314 } 319 UpdateRightAxis(fPosAz); 320 } 321 }
Note:
See TracChangeset
for help on using the changeset viewer.