source: trunk/Mars/mpointing/MHPointing.h@ 15891

Last change on this file since 15891 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.5 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 TGraph fNumStarsCor; // Number of correlated stars identified by starguider
28
29 TGraph fDevZd; // Starguider deviation Zd
30 TGraph fDevAz; // Starguider deviation Az
31
32 TGraph fPosZd; // Position Zd
33 //TGraph fPosAz; // Position Az
34
35 void ResetGraph(TGraph &g) const;
36 void InitGraph(TGraph &g) const;
37 void AddPoint(TGraph &g, Double_t x, Double_t y) const;
38 void DrawGraph(TGraph &g, const char *y=0) const;
39 void UpdateRightAxis(TGraph &g1, TGraph &g2) const;
40 void DrawRightAxis(const char *title) const;
41
42public:
43 MHPointing(const char *name=NULL, const char *title=NULL);
44
45 Bool_t SetupFill(const MParList *plist);
46 Int_t Fill(const MParContainer *par, const Stat_t w=1);
47
48 void Draw(Option_t *opt="");
49 void Paint(Option_t *opt="");
50
51 ClassDef(MHPointing, 2) // Histogram to display tracking/pointing information
52};
53
54#endif
55
56
Note: See TracBrowser for help on using the repository browser.