source: trunk/MagicSoft/Mars/mtemp/MTelAxisFromStars.h@ 4698

Last change on this file since 4698 was 4545, checked in by wittek, 20 years ago
*** empty log message ***
File size: 2.1 KB
Line 
1#ifndef MARS_MTelAxisFromStars
2#define MARS_MTelAxisFromStars
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MTelAxisFromStars //
7// //
8// Task to calculate the position (in the camera)
9// of certain sky directions (source position, tracking direction, ...)
10// from the positions (in the camera) of known stars
11// //
12/////////////////////////////////////////////////////////////////////////////
13
14#ifndef MARS_MTask
15#include "MTask.h"
16#endif
17
18#ifndef ROOT_TArrayD
19#include <TArrayD.h>
20#endif
21
22class MSrcPosCam;
23class MStarLocalCam;
24class MSkyCamTrans;
25
26class MTelAxisFromStars : public MTask
27{
28 private:
29
30 const MStarLocalCam *fStarLocalCam; //!
31 const MStarLocalCam *fSourceLocalCam; //!
32
33 MSrcPosCam *fSrcPos; //!
34 MSkyCamTrans *fSkyCamTrans; //!
35
36 Double_t fFixedScaleFactor; //!
37 Double_t fFixedRotationAngle; //! [degrees]
38
39 Int_t fInputType; //! type of input
40
41 Int_t PreProcess(MParList *pList);
42 Int_t Process();
43 Int_t PostProcess();
44
45 public:
46
47 MTelAxisFromStars(const char *name=NULL, const char *title=NULL);
48 ~MTelAxisFromStars();
49
50 void FixScaleFactorAt(Double_t lambda = 1.0);
51 void FixRotationAngleAt(Double_t alfa = 0.0); // alfa in [degrees]
52
53 void SetInputType(Int_t type = 2);
54
55 Bool_t FindSkyCamTrans(TArrayD[2], TArrayD[2], TArrayD[2][2],
56 Double_t &, Double_t &, Double_t &,
57 Double_t &, Double_t[2][2] , Double_t[2], Double_t[2][2],
58 Int_t &, Int_t &, Double_t &, Double_t &);
59
60 void TransSkyCam(Double_t &, Double_t[2][2], Double_t[2], Double_t[2][2],
61 TArrayD[2], TArrayD[2], TArrayD[2][2]);
62
63 ClassDef(MTelAxisFromStars, 0) // Task to calculate the source position from star positions
64};
65
66#endif
67
68
69
70
71
72
73
74
Note: See TracBrowser for help on using the repository browser.