| Line | |
|---|
| 1 | #ifndef MARS_MBadPixelsCalc
|
|---|
| 2 | #define MARS_MBadPixelsCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MBadPixelsCam;
|
|---|
| 9 | class MGeomCam;
|
|---|
| 10 | class MPedPhotCam;
|
|---|
| 11 |
|
|---|
| 12 | class MBadPixelsCalc : public MTask
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 15 | MGeomCam *fGeomCam; //! Input container storing the pixel sizes
|
|---|
| 16 | MPedPhotCam *fPedPhotCam; //! Input container storing the pedestal and pedestal rms of all pixels
|
|---|
| 17 | MBadPixelsCam *fBadPixels; //! Output container holding the bad pixels
|
|---|
| 18 |
|
|---|
| 19 | Float_t fPedestalLevel;
|
|---|
| 20 | TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container
|
|---|
| 21 |
|
|---|
| 22 | // void CheckPedestalRMS() const;
|
|---|
| 23 | Bool_t CheckPedestalRms() const;
|
|---|
| 24 |
|
|---|
| 25 | Int_t PreProcess(MParList *pList);
|
|---|
| 26 | Int_t Process();
|
|---|
| 27 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 | MBadPixelsCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 31 |
|
|---|
| 32 | void SetPedestalLevel(Float_t f) { fPedestalLevel=f; }
|
|---|
| 33 | void SetNamePedPhotContainer(const char *name) { fNamePedPhotContainer = name; }
|
|---|
| 34 |
|
|---|
| 35 | ClassDef(MBadPixelsCalc, 1) // Task to find bad pixels (star, broken pixels, etc)
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.