| Line | |
|---|
| 1 | #ifndef MARS_MCT1PointingCorrCalc
|
|---|
| 2 | #define MARS_MCT1PointingCorrCalc
|
|---|
| 3 |
|
|---|
| 4 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 5 | // //
|
|---|
| 6 | // MCT1PointingCorrCalc //
|
|---|
| 7 | // //
|
|---|
| 8 | // Task to do the pointing correction //
|
|---|
| 9 | // //
|
|---|
| 10 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 11 |
|
|---|
| 12 | #ifndef MARS_MTask
|
|---|
| 13 | #include "MTask.h"
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | class MSrcPosCam;
|
|---|
| 17 | class MParameterD;
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | class MCT1PointingCorrCalc : public MTask
|
|---|
| 21 | {
|
|---|
| 22 | public:
|
|---|
| 23 | typedef enum {
|
|---|
| 24 | k421,
|
|---|
| 25 | k1959
|
|---|
| 26 | } PointedSource_t;
|
|---|
| 27 |
|
|---|
| 28 | private:
|
|---|
| 29 |
|
|---|
| 30 | MSrcPosCam *fSrcPos;
|
|---|
| 31 | TString fSrcName;
|
|---|
| 32 | MParameterD *fHourAngle;
|
|---|
| 33 |
|
|---|
| 34 | PointedSource_t fPoiSource;
|
|---|
| 35 | Float_t fMm2Deg;
|
|---|
| 36 |
|
|---|
| 37 | void PointCorr421();
|
|---|
| 38 | void PointCorr1959();
|
|---|
| 39 |
|
|---|
| 40 | public:
|
|---|
| 41 |
|
|---|
| 42 | MCT1PointingCorrCalc(const char *srcname="MSrcPosCam",
|
|---|
| 43 | const char *name=NULL, const char *title=NULL);
|
|---|
| 44 |
|
|---|
| 45 | Int_t PreProcess(MParList *pList);
|
|---|
| 46 | Int_t Process();
|
|---|
| 47 |
|
|---|
| 48 | void SetPointedSource(PointedSource_t s) { fPoiSource = s; }
|
|---|
| 49 |
|
|---|
| 50 | ClassDef(MCT1PointingCorrCalc, 0) // Task to do the CT1 pointing correction for Mkn421 2001 data or 1ES1959 2002 data
|
|---|
| 51 | };
|
|---|
| 52 |
|
|---|
| 53 | #endif
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.