source: trunk/MagicSoft/Mars/mtemp/MFindStars.h@ 3932

Last change on this file since 3932 was 3808, checked in by jlopez, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MJFindStars
2#define MARS_MJFindStars
3
4#ifndef ROOT_TArrayS
5#include <TArrayS.h>
6#endif
7
8#ifndef ROOT_TArrayC
9#include <TArrayC.h>
10#endif
11
12#ifndef MARS_MTask
13#include "MTask.h"
14#endif
15
16#ifndef MARS_MHCamera
17#include "MHCamera.h"
18#endif
19
20#ifndef MARS_MAstroCamera
21#include "MAstroCamera.h"
22#endif
23
24class MGeomCam;
25class MCameraDC;
26class MTime;
27class MReportDrive;
28class MStarLocalCam;
29class MStarLocalPos;
30
31class MFindStars : public MTask
32{
33
34private:
35
36 MGeomCam *fGeomCam;
37 MCameraDC *fCurr;
38 MTime *fTimeCurr;
39 MReportDrive *fDrive;
40 MStarLocalCam *fStars;
41
42 MAstroCamera fAstro;
43 TArrayC fPixelsUsed;
44 MHCamera fDisplay;
45
46 UInt_t fMaxNumIntegratedEvents;
47 UInt_t fNumIntegratedEvents;
48
49 Float_t fRingInterest; //[mm]
50
51public:
52 MFindStars(const char *name=NULL, const char *title=NULL);
53
54 Int_t PreProcess(MParList *pList);
55 Int_t Process();
56 Int_t PostProcess();
57
58 void SetNumIntegratedEvents(UInt_t max) {fMaxNumIntegratedEvents=max;}
59 void SetRingInterest(Float_t ring) {fRingInterest=ring;}
60 void SetBlindPixels(TArrayS blindpixels);
61
62 Bool_t FindStar(MStarLocalPos* star);
63
64 ClassDef(MFindStars, 0) // Tool to find stars from Base Currents
65};
66
67#endif
Note: See TracBrowser for help on using the repository browser.