source: trunk/MagicSoft/Mars/mpointing/MPointingDev.h@ 7207

Last change on this file since 7207 was 7203, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1003 bytes
Line 
1#ifndef MARS_MPointingDev
2#define MARS_MPointingDev
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MPointingDev : public MParContainer
9{
10private:
11 Double_t fDevZd; // [deg] Pointing offset zenith distance as calculated from starguider data
12 Double_t fDevAz; // [deg] Pointing offset azimuth as calculated from starguider dat
13
14public:
15 MPointingDev(const char *name=0, const char *title=0) : fDevZd(0), fDevAz(0)
16 {
17 fName = name ? name : "MPointingDev";
18 fTitle = title ? title : "Container storing the telescope mispointing";
19 }
20
21 void SetDevZdAz(Double_t devzd, Double_t devaz) { fDevZd=devzd; fDevAz=devaz; }
22
23 Double_t GetDevZd() const { return fDevZd; }
24 Double_t GetDevAz() const { return fDevAz; }
25
26 Double_t GetDevZdRad() const { return fDevZd*TMath::DegToRad(); }
27 Double_t GetDevAzRad() const { return fDevAz*TMath::DegToRad(); }
28
29 ClassDef(MPointingDev, 1) //Container storing the telescope mispointing
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.