Changeset 7200 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 07/19/05 15:53:36 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mpointing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MHPointing.cc
r7198 r7200 87 87 fDevTimeSG.SetNameTitle("DevSG", "Drive (black) and starguider (blue) deviation"); 88 88 fDevTimeCosy.SetNameTitle("DevCosy", "Cosy deviation"); 89 fBrightness.SetNameTitle("Brigtness", "Arbitrary Sky Brightness ");89 fBrightness.SetNameTitle("Brigtness", "Arbitrary Sky Brightness (black), No. of stars identified by starguider (blue)"); 90 90 fNumStars.SetNameTitle("NumStars", "Number of stars identified by starguider"); 91 91 fDevZd.SetNameTitle("DevZd", "Starguider Deviation Zd (blue), Az(black)"); 92 92 fDevAz.SetNameTitle("DevAz", "Starguider Deviation Az"); 93 fPosZd.SetNameTitle("PosZd", "Nominal position Zd (black), Az (blue)"); 94 fPosAz.SetNameTitle("PosZd", "Position Az"); 93 95 94 96 InitGraph(fDevTimeSG); … … 98 100 InitGraph(fDevZd); 99 101 InitGraph(fDevAz); 102 InitGraph(fPosZd); 103 InitGraph(fPosAz); 100 104 101 105 fDevTimeSG.SetMinimum(0); … … 106 110 fDevTimeSG.SetMarkerColor(kBlue); 107 111 fDevZd.SetMarkerColor(kBlue); 112 fNumStars.SetMarkerColor(kBlue); 113 fPosAz.SetMarkerColor(kBlue); 108 114 } 109 115 … … 170 176 { 171 177 AddPoint(fDevTimeCosy, tm, fReportCosy->GetAbsError()*60); 178 AddPoint(fPosZd, tm, fReportCosy->GetNominalZd()); 179 AddPoint(fPosAz, tm, fReportCosy->GetNominalAz()); 172 180 return kTRUE; 173 181 } … … 190 198 } 191 199 } 192 /* 200 193 201 // -------------------------------------------------------------------------- 194 202 // … … 227 235 axis->SetTitle(title); 228 236 axis->SetTitleOffset(0.9); 229 axis->SetTextColor(k Red);237 axis->SetTextColor(kBlue); 230 238 axis->SetBit(kCanDelete); 231 239 axis->Draw(); 232 240 } 233 */ 241 234 242 // -------------------------------------------------------------------------- 235 243 // … … 259 267 gPad->SetGridy(); 260 268 fBrightness.Draw("AP"); 269 fNumStars.Draw("P"); 270 DrawRightAxis("N"); 261 271 262 272 pad->cd(3); … … 271 281 gPad->SetGridx(); 272 282 gPad->SetGridy(); 273 fNumStars.Draw("AP"); 283 fPosZd.Draw("AP"); 284 fPosAz.Draw("P"); 285 DrawRightAxis("Az [\\circ]"); 274 286 } 275 287 … … 282 294 DrawGraph(fDevZd, "\\Delta [arcmin]"); 283 295 DrawGraph(fDevAz, "\\Delta [arcmin]"); 284 /* 285 gPad->cd(1); 286 296 DrawGraph(fPosZd, "Zd [\\circ]"); 297 DrawGraph(fPosAz, "Az [\\circ]"); 298 299 TVirtualPad *pad = gPad; 300 301 pad->cd(2); 287 302 if (gPad) 288 303 { 289 fHumidity.GetHistogram()->GetYaxis()->SetTitleColor(kBlue); 290 UpdateRightAxis(fTemperature); 291 }*/ 292 } 304 fNumStars.GetHistogram()->GetYaxis()->SetTitleColor(kBlue); 305 UpdateRightAxis(fBrightness); 306 } 307 308 pad->cd(4); 309 if (gPad) 310 { 311 fPosAz.GetHistogram()->GetYaxis()->SetTitleColor(kBlue); 312 UpdateRightAxis(fPosZd); 313 } 314 } -
trunk/MagicSoft/Mars/mpointing/MHPointing.h
r7198 r7200 29 29 TGraph fDevAz; // Starguider deviation Az 30 30 31 TGraph fPosZd; // Position Zd 32 TGraph fPosAz; // Position Az 33 31 34 void ResetGraph(TGraph &g) const; 32 35 void InitGraph(TGraph &g) const; 33 36 void AddPoint(TGraph &g, Double_t x, Double_t y) const; 34 37 void DrawGraph(TGraph &g, const char *y=0) const; 35 //void UpdateRightAxis(TGraph &g) const;36 //void DrawRightAxis(const char *title) const;38 void UpdateRightAxis(TGraph &g) const; 39 void DrawRightAxis(const char *title) const; 37 40 38 41 public: -
trunk/MagicSoft/Mars/mpointing/MSrcPosCorrect.cc
r7196 r7200 100 100 fRunNumber = run->GetRunNumber(); 101 101 102 if (fRunNumber<56161 && fRunNumber>53832) 103 { 104 *fLog << inf << "Run Number " << fRunNumber << " between 53832 and 56161." << endl; 105 *fLog << "A missfocussing correction (-0.048deg/0.034deg) will be applied." << endl; 106 } 107 102 108 return kTRUE; 103 109 }
Note:
See TracChangeset
for help on using the changeset viewer.