| Line |  | 
|---|
| 1 | #ifndef MGSTARG_H | 
|---|
| 2 | #define MGSTARG_H | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef COSY_MGEmbeddedCanvas | 
|---|
| 5 | #include "MGEmbeddedCanvas.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class TGraph; | 
|---|
| 9 | class TLine; | 
|---|
| 10 | class TText; | 
|---|
| 11 |  | 
|---|
| 12 | class ZdAz; | 
|---|
| 13 |  | 
|---|
| 14 | class MGStarg : public MGEmbeddedCanvas | 
|---|
| 15 | { | 
|---|
| 16 | TLine  *fLin1; | 
|---|
| 17 | TLine  *fLin2; | 
|---|
| 18 |  | 
|---|
| 19 | TText  *fTxt; | 
|---|
| 20 |  | 
|---|
| 21 | TLine  *fBar; | 
|---|
| 22 |  | 
|---|
| 23 | TGraph *fGraph; | 
|---|
| 24 |  | 
|---|
| 25 | Double_t fTime; | 
|---|
| 26 |  | 
|---|
| 27 | void DrawCoordinateSystem(); | 
|---|
| 28 |  | 
|---|
| 29 | void InitText(); | 
|---|
| 30 | void InitCross(); | 
|---|
| 31 | void InitBar(); | 
|---|
| 32 |  | 
|---|
| 33 | void UpdateCross(Float_t x, Float_t y); | 
|---|
| 34 | void UpdateText(Float_t acc); | 
|---|
| 35 | void UpdateGraph(Float_t acc); | 
|---|
| 36 | void Update(Float_t zd, Float_t x, Float_t y); | 
|---|
| 37 |  | 
|---|
| 38 | public: | 
|---|
| 39 | MGStarg(const TGWindow* p, const UInt_t w); | 
|---|
| 40 | ~MGStarg(); | 
|---|
| 41 |  | 
|---|
| 42 | void Update(ZdAz &pos, ZdAz &acc); | 
|---|
| 43 |  | 
|---|
| 44 | ClassDef(MGStarg, 0) | 
|---|
| 45 | }; | 
|---|
| 46 |  | 
|---|
| 47 | #endif // MGSTARG_H | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.