source: trunk/Cosy/main/MMoonPointing.h@ 10075

Last change on this file since 10075 was 9553, checked in by tbretz, 15 years ago
*** empty log message ***
File size: 673 bytes
Line 
1#ifndef COSY_MMoonPointing
2#define COSY_MMoonPointing
3
4#ifndef ROOT_TGraph2D
5#include <TGraph2D.h>
6#endif
7
8#ifndef MARS_MPointing
9#include "MPointing.h"
10#endif
11
12class MMoonPointing : public TObject
13{
14 TGraph2D fCos;
15 TGraph2D fSin;
16
17 Double_t fOffsetShadow; // [rad] distance of the Moon shadow from the Moon
18 Double_t fOffsetWobble; // [rad] wobble offset
19
20public:
21 MMoonPointing(const char *filename);
22
23 void SetOffsetShadow(Double_t off=-1) { fOffsetShadow=off; }
24 void SetOffsetWobble(Double_t off=-1) { fOffsetWobble=off; }
25
26 Bool_t CalcPosition(const ZdAz &moon, ZdAz &srcpos, ZdAz &pointpos) const;
27
28 ClassDef(MMoonPointing, 0)
29};
30
31#endif
Note: See TracBrowser for help on using the repository browser.