source: trunk/MagicSoft/Mars/mpointing/MHPointing.h@ 7200

Last change on this file since 7200 was 7200, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MHPointing
2#define MARS_MHPointing
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TGraph
8#include <TGraph.h>
9#endif
10
11class MTime;
12class MReportDrive;
13class MReportStarguider;
14
15class MHPointing : public MH
16{
17private:
18 MReportDrive *fReportCosy; //!
19 MReportStarguider *fReportSG; //!
20
21 TGraph fDevTimeSG; // Starguider deviation versus time
22 TGraph fDevTimeCosy; // Drive deviation versus time
23
24 TGraph fBrightness; // Arbitrary sky brightness
25
26 TGraph fNumStars; // Number of stars identified by starguider
27
28 TGraph fDevZd; // Starguider deviation Zd
29 TGraph fDevAz; // Starguider deviation Az
30
31 TGraph fPosZd; // Position Zd
32 TGraph fPosAz; // Position Az
33
34 void ResetGraph(TGraph &g) const;
35 void InitGraph(TGraph &g) const;
36 void AddPoint(TGraph &g, Double_t x, Double_t y) const;
37 void DrawGraph(TGraph &g, const char *y=0) const;
38 void UpdateRightAxis(TGraph &g) const;
39 void DrawRightAxis(const char *title) const;
40
41public:
42 MHPointing(const char *name=NULL, const char *title=NULL);
43
44 Bool_t SetupFill(const MParList *plist);
45 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
46
47 void Draw(Option_t *opt="");
48 void Paint(Option_t *opt="");
49
50 ClassDef(MHPointing, 1) // Histogram to display tracking/pointing information
51};
52
53#endif
54
55
Note: See TracBrowser for help on using the repository browser.