| 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 | 
 | 
|---|
| 24 | class MGeomCam;
 | 
|---|
| 25 | class MGeomPix;
 | 
|---|
| 26 | class MCameraDC;
 | 
|---|
| 27 | class MTime;
 | 
|---|
| 28 | class MReportDrive;
 | 
|---|
| 29 | class MStarLocalCam;
 | 
|---|
| 30 | class MStarLocalPos;
 | 
|---|
| 31 | 
 | 
|---|
| 32 | class MFindStars : public MTask
 | 
|---|
| 33 | {
 | 
|---|
| 34 | 
 | 
|---|
| 35 | private:
 | 
|---|
| 36 | 
 | 
|---|
| 37 |     MGeomCam      *fGeomCam;
 | 
|---|
| 38 |     MCameraDC     *fCurr;
 | 
|---|
| 39 |     MTime         *fTimeCurr;
 | 
|---|
| 40 |     MReportDrive  *fDrive;
 | 
|---|
| 41 |     MStarLocalCam *fStars;
 | 
|---|
| 42 | 
 | 
|---|
| 43 |     MAstroCamera fAstro;
 | 
|---|
| 44 |     TArrayC      fPixelsUsed;
 | 
|---|
| 45 |     MHCamera     fDisplay;
 | 
|---|
| 46 | 
 | 
|---|
| 47 |     UInt_t fMaxNumIntegratedEvents;
 | 
|---|
| 48 |     UInt_t fNumIntegratedEvents;
 | 
|---|
| 49 | 
 | 
|---|
| 50 |     Float_t fRingInterest; //[mm]
 | 
|---|
| 51 |     Float_t fMinDCForStars;
 | 
|---|
| 52 | 
 | 
|---|
| 53 |     Bool_t FindPixelWithMaxDC(Float_t &maxDC, MGeomPix &maxPix);
 | 
|---|
| 54 |     Bool_t FindStar(MStarLocalPos* star);
 | 
|---|
| 55 |     Bool_t ShadowStar(MStarLocalPos* star);
 | 
|---|
| 56 | 
 | 
|---|
| 57 |   public:
 | 
|---|
| 58 |     MFindStars(const char *name=NULL, const char *title=NULL);
 | 
|---|
| 59 |     
 | 
|---|
| 60 |     Int_t PreProcess(MParList *pList);
 | 
|---|
| 61 |     Int_t Process();
 | 
|---|
| 62 |     Int_t PostProcess();
 | 
|---|
| 63 |   
 | 
|---|
| 64 |     void SetNumIntegratedEvents(UInt_t max) {fMaxNumIntegratedEvents=max;}
 | 
|---|
| 65 |     void SetRingInterest(Float_t ring) {fRingInterest=ring;}
 | 
|---|
| 66 |     void SetBlindPixels(TArrayS blindpixels);
 | 
|---|
| 67 | 
 | 
|---|
| 68 | 
 | 
|---|
| 69 |   ClassDef(MFindStars, 0) // Tool to find stars from DC Currents
 | 
|---|
| 70 | };
 | 
|---|
| 71 | 
 | 
|---|
| 72 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.