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 |
|
---|
11 | class MTime;
|
---|
12 | class MReportDrive;
|
---|
13 | class MReportStarguider;
|
---|
14 |
|
---|
15 | class MHPointing : public MH
|
---|
16 | {
|
---|
17 | private:
|
---|
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 |
|
---|
41 | public:
|
---|
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.