source: trunk/Mars/manalysisct1/MCT1PointingCorrCalc.h@ 10075

Last change on this file since 10075 was 4457, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.4 KB
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
16class MSrcPosCam;
17class MParameterD;
18
19
20class MCT1PointingCorrCalc : public MTask
21{
22public:
23 typedef enum {
24 k421,
25 k1959
26 } PointedSource_t;
27
28private:
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
40public:
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.