source: trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h@ 1466

Last change on this file since 1466 was 1466, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MBlindPixelCalc
2#define MARS_MBlindPixelCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef ROOT_TArrayS
9#include <TArrayS.h>
10#endif
11
12class MGeomCam;
13class MCerPhotEvt;
14class MBlindPixels;
15
16class MBlindPixelCalc : public MTask
17{
18private:
19 MCerPhotEvt *fEvt; //!
20 MBlindPixels *fPixels; //!
21 MGeomCam *fGeomCam; //!
22
23 TArrayS fPixelsID; // Pixel IDs for blind pixels, which are entered by the user.
24
25 Bool_t fUseInterpolation;
26 Bool_t fUseCentralPixel;
27
28 void Interpolate() const;
29 void Unmap() const;
30
31public:
32 MBlindPixelCalc(const char *name=NULL, const char *title=NULL);
33
34 void SetUseInterpolation(Bool_t b=kTRUE) { fUseInterpolation=kTRUE; }
35 void SetUseCetralPixel(Bool_t b=kTRUE) { fUseCentralPixel=kTRUE; }
36
37 Bool_t PreProcess(MParList *pList);
38 Bool_t Process();
39
40 void SetPixels(Int_t num, Short_t *ids);
41 virtual Bool_t ReInit(MParList *pList);
42
43 ClassDef(MBlindPixelCalc, 0) // task to disable given pixels for analysis
44};
45
46#endif
47
Note: See TracBrowser for help on using the repository browser.