source: trunk/MagicSoft/Mars/mimage/MImgCleanStd.h@ 2027

Last change on this file since 2027 was 1940, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MImgCleanStd
2#define MARS_MImgCleanStd
3
4#ifndef MARS_MGTask
5#include "MGTask.h"
6#endif
7
8class MGeomCam;
9class MCerPhotEvt;
10
11class MGGroupFrame;
12
13class MImgCleanStd : public MGTask
14{
15private:
16 const MGeomCam *fCam; //!
17 MCerPhotEvt *fEvt; //!
18
19 Float_t fCleanLvl1;
20 Float_t fCleanLvl2;
21
22 void SetLvl1(Float_t lvl);
23 void SetLvl2(Float_t lvl);
24
25 void CreateGuiElements(MGGroupFrame *f);
26 void StreamPrimitive(ofstream &out) const;
27
28public:
29 MImgCleanStd(const Float_t lvl1=3.0, const Float_t lvl2=2.5,
30 const char *name=NULL, const char *title=NULL);
31
32 Int_t CleanStep1();
33 void CleanStep2(Int_t max);
34 void CleanStep3();
35
36 Bool_t PreProcess(MParList *pList);
37 Bool_t Process();
38
39 void Print(Option_t *o="") const;
40
41 Float_t GetCleanLvl1() const { return fCleanLvl1; }
42 Float_t GetCleanLvl2() const { return fCleanLvl2; }
43
44 Bool_t ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2);
45 Bool_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
46
47 ClassDef(MImgCleanStd, 0) // task doing a standard image cleaning
48};
49
50#endif
51
Note: See TracBrowser for help on using the repository browser.