1 | #ifndef MARS_MSkyCamTrans
|
---|
2 | #define MARS_MSkyCamTrans
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MSkyCamTrans : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 |
|
---|
12 | //Parameters of transformation from sky to camera
|
---|
13 |
|
---|
14 | Double_t fLambda; // scale factor lambda
|
---|
15 | Double_t fAlfa; // rotation angle alfa [degrees]
|
---|
16 | Double_t fA[2][2]; // rotation matrix A
|
---|
17 | Double_t fD[2]; // shift D [mm]
|
---|
18 | Double_t fErrD[2][2]; // error matrix of shift D [mm*mm]
|
---|
19 |
|
---|
20 | Int_t fNStars;
|
---|
21 | Int_t fNumIter;
|
---|
22 | Int_t fNdof;
|
---|
23 | Double_t fChiSquare;
|
---|
24 | Double_t fChiSquareProb;
|
---|
25 |
|
---|
26 | public:
|
---|
27 |
|
---|
28 | MSkyCamTrans(const char *name=NULL, const char *title=NULL);
|
---|
29 |
|
---|
30 | void SetParameters(Double_t &, Double_t &,
|
---|
31 | Double_t[2][2], Double_t[2], Double_t[2][2],
|
---|
32 | Int_t &, Int_t &, Int_t &, Double_t &, Double_t &);
|
---|
33 |
|
---|
34 | Int_t GetNStars() { return fNStars; }
|
---|
35 | Int_t GetNumIter() { return fNumIter; }
|
---|
36 | Int_t GetNdof() { return fNdof; }
|
---|
37 | Double_t GetChiSquare() { return fChiSquare; }
|
---|
38 | Double_t GetChiSquareProb() { return fChiSquareProb; }
|
---|
39 | Double_t GetLambda() { return fLambda; }
|
---|
40 | Double_t GetAlfa() { return fAlfa; }
|
---|
41 |
|
---|
42 | Double_t *GetRotationMatrix() { return &fA[0][0]; }
|
---|
43 | Double_t *GetShiftD() { return &fD[0]; }
|
---|
44 | Double_t *GetErrMatrixShiftD() { return &fErrD[0][0]; }
|
---|
45 |
|
---|
46 | ClassDef(MSkyCamTrans, 1) // Container holding the sky-camera transformation parameters
|
---|
47 | };
|
---|
48 |
|
---|
49 | #endif
|
---|
50 |
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|