source: trunk/MagicSoft/Mars/mtemp/MSourceDirections.h@ 5454

Last change on this file since 5454 was 4685, checked in by rwagner, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MSourceDirections
2#define MARS_MSourceDirections
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef MARS_MAstroCamera
9#include "MAstroCamera.h"
10#endif
11
12class MTime;
13class MReportDrive;
14class MStarCam;
15class MStarPos;
16
17class MSourceDirections : public MTask
18{
19
20private:
21
22 MGeomCam *fGeomCam;
23 MTime *fTimeCurr;
24 MReportDrive *fDrive;
25 MStarCam *fStars;
26
27 MAstroCamera fAstro;
28
29 TString fGeometryFile;
30
31 public:
32
33 MSourceDirections(const char *name=NULL, const char *title=NULL);
34
35 Int_t AddDirection(Float_t ra, Float_t dec, Float_t mag, TString name="");
36 Int_t PreProcess(MParList *pList);
37 Int_t Process();
38 Int_t PostProcess();
39
40 // setters
41 void SetGeometryFile(TString f) {fGeometryFile=f;}
42 void SetRaDec(Double_t ra, Double_t dec) {fAstro.SetRaDec(ra,dec);}
43 void SetRaDec(TVector3 &v) { fAstro.SetRaDec(v); }
44 void SetRadiusFOV(Double_t deg) { fAstro.SetRadiusFOV(deg); }
45
46 ClassDef(MSourceDirections, 0) // Tool to translate RaDec Source Directions into camera coordinates
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.