Line | |
---|
1 | #ifndef MARS_MImgCleanStd
|
---|
2 | #define MARS_MImgCleanStd
|
---|
3 |
|
---|
4 | #ifndef MARS_MGTask
|
---|
5 | #include "MGTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MGeomCam;
|
---|
9 | class MSigmabar;
|
---|
10 | class MCerPhotPix;
|
---|
11 | class MCerPhotEvt;
|
---|
12 | class MPedPhotCam;
|
---|
13 | class MCameraData;
|
---|
14 |
|
---|
15 | class MGGroupFrame;
|
---|
16 |
|
---|
17 | class MImgCleanStd : public MGTask
|
---|
18 | {
|
---|
19 | public:
|
---|
20 | typedef enum {
|
---|
21 | kStandard,
|
---|
22 | kScaled,
|
---|
23 | kDemocratic
|
---|
24 | } CleaningMethod_t;
|
---|
25 |
|
---|
26 | private:
|
---|
27 | const MGeomCam *fCam; //!
|
---|
28 | MCerPhotEvt *fEvt; //!
|
---|
29 | MPedPhotCam *fPed; //!
|
---|
30 | MCameraData *fData; //!
|
---|
31 |
|
---|
32 | CleaningMethod_t fCleaningMethod;
|
---|
33 |
|
---|
34 | Float_t fCleanLvl1;
|
---|
35 | Float_t fCleanLvl2;
|
---|
36 |
|
---|
37 | UShort_t fCleanRings;
|
---|
38 |
|
---|
39 | Float_t fInnerNoise; //!
|
---|
40 | TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container
|
---|
41 |
|
---|
42 |
|
---|
43 | void CreateGuiElements(MGGroupFrame *f);
|
---|
44 | void StreamPrimitive(ofstream &out) const;
|
---|
45 |
|
---|
46 | void CleanStep3b(MCerPhotPix &pix);
|
---|
47 | void CleanStep4(UShort_t r, MCerPhotPix &pix);
|
---|
48 |
|
---|
49 | void CleanStep1();
|
---|
50 | void CleanStep2();
|
---|
51 | void CleanStep3();
|
---|
52 |
|
---|
53 | Int_t PreProcess(MParList *pList);
|
---|
54 | Int_t Process();
|
---|
55 |
|
---|
56 | public:
|
---|
57 | MImgCleanStd(const Float_t lvl1=3.0, const Float_t lvl2=2.5,
|
---|
58 | const char *name=NULL, const char *title=NULL);
|
---|
59 | void Print(Option_t *o="") const;
|
---|
60 |
|
---|
61 | Float_t GetCleanLvl1() const { return fCleanLvl1; }
|
---|
62 | Float_t GetCleanLvl2() const { return fCleanLvl2; }
|
---|
63 | UShort_t GetCleanRings() const { return fCleanRings;}
|
---|
64 |
|
---|
65 | void SetCleanRings(UShort_t r) { if(r==0) r=1; fCleanRings=r; }
|
---|
66 | void SetMethod(CleaningMethod_t m) { fCleaningMethod = m; }
|
---|
67 |
|
---|
68 | Bool_t ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2);
|
---|
69 | void SetNamePedPhotContainer(const char *name) { fNamePedPhotContainer = name; }
|
---|
70 |
|
---|
71 | ClassDef(MImgCleanStd, 2) // task doing the image cleaning
|
---|
72 | };
|
---|
73 |
|
---|
74 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.