source: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h@ 6561

Last change on this file since 6561 was 5777, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MBadPixelsCalc
2#define MARS_MBadPixelsCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MBadPixelsCam;
9class MGeomCam;
10class MPedPhotCam;
11
12class MBadPixelsCalc : public MTask
13{
14private:
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 Float_t fPedestalLevelVariance;
21
22 TString fNamePedPhotCam; // name of the 'MPedPhotCam' container
23
24 // void CheckPedestalRMS() const;
25 Bool_t CheckPedestalRms() const;
26
27 Int_t PreProcess(MParList *pList);
28 Int_t Process();
29 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
30
31public:
32 MBadPixelsCalc(const char *name=NULL, const char *title=NULL);
33
34 void SetPedestalLevel(Float_t f) { fPedestalLevel=f; }
35 void SetPedestalLevelVariance(Float_t f) { fPedestalLevelVariance=f; }
36 void SetNamePedPhotCam(const char *name) { fNamePedPhotCam = name; }
37
38 ClassDef(MBadPixelsCalc, 1) // Task to find bad pixels (star, broken pixels, etc)
39};
40
41#endif
42
43
44
45
Note: See TracBrowser for help on using the repository browser.