source: trunk/MagicSoft/Cosy/gui/MGAccuracy.h@ 4450

Last change on this file since 4450 was 4076, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 897 bytes
Line 
1#ifndef MGACCURACY_H
2#define MGACCURACY_H
3
4//
5// This File contains the declaration of the MGCoordinates-class
6//
7// Author: Thomas Bretz
8// Version: V1.0 (1-8-2000)
9
10#ifndef COSY_MGEmbeddedCanvas
11#include "MGEmbeddedCanvas.h"
12#endif
13
14class TGraph;
15class TLine;
16class TText;
17
18class ZdAz;
19
20class MGAccuracy : public MGEmbeddedCanvas
21{
22 TLine *fLin1;
23 TLine *fLin2;
24
25 TText *fTxt;
26
27 TLine *fBar;
28
29 TGraph *fGraph;
30
31 Double_t fTime;
32
33 void DrawCoordinateSystem();
34
35 void InitText();
36 void InitCross();
37 void InitBar();
38
39 void UpdateCross(Float_t x, Float_t y);
40 void UpdateText(Float_t acc);
41 void UpdateGraph(Float_t acc);
42 void Update(Float_t zd, Float_t x, Float_t y);
43
44public:
45 MGAccuracy(const TGWindow* p, const UInt_t w);
46 ~MGAccuracy();
47
48 void Update(ZdAz &pos, ZdAz &acc);
49
50 ClassDef(MGAccuracy, 0)
51};
52
53#endif // MGSKYPOSITION_H
Note: See TracBrowser for help on using the repository browser.