Line | |
---|
1 | #ifndef MARS_MSrcPosCalc
|
---|
2 | #define MARS_MSrcPosCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MObservatory;
|
---|
9 | class MPointingPos;
|
---|
10 | class MSrcPosCam;
|
---|
11 | class MGeomCam;
|
---|
12 |
|
---|
13 | class MSrcPosCalc : public MTask
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | MObservatory *fObservatory;
|
---|
17 | MPointingPos *fPointPos;
|
---|
18 | MSrcPosCam *fSrcPos;
|
---|
19 | MGeomCam *fGeom;
|
---|
20 |
|
---|
21 | Double_t fR; // Distance of source to a fitted star
|
---|
22 | Double_t fDrho; // angle between the two stars
|
---|
23 |
|
---|
24 | Double_t fX; // [deg] x-position of source
|
---|
25 | Double_t fY; // [deg] y-position of source
|
---|
26 |
|
---|
27 | Int_t PreProcess(MParList *pList);
|
---|
28 | Int_t Process();
|
---|
29 | Bool_t ReInit(MParList *pList);
|
---|
30 |
|
---|
31 | public:
|
---|
32 | MSrcPosCalc(const char *name=NULL, const char *title=NULL);
|
---|
33 |
|
---|
34 | void SetOffset(Double_t r, Double_t drho)
|
---|
35 | {
|
---|
36 | fDrho = drho*TMath::DegToRad();
|
---|
37 | fR = r;
|
---|
38 | }
|
---|
39 | void SetPositionXY(Double_t x, Double_t y) { fX=x; fY=y; }
|
---|
40 |
|
---|
41 | ClassDef(MSrcPosCalc, 0) // Derotates the source position in the camera
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.