source: trunk/MagicSoft/Mars/mtemp/mifae/library/MIslandClean.h@ 5138

Last change on this file since 5138 was 3976, checked in by aliu, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MIslandClean
2#define MARS_MIslandClean
3
4#ifndef MARS_MGTask
5#include "MGTask.h"
6#endif
7
8#ifndef ROOT_TArrayF
9#include <TArrayF.h>
10#endif
11
12class MGeomCam;
13class MSigmabar;
14class MCerPhotPix;
15class MCerPhotEvt;
16class MPedestalCam;
17class MArrivalTimeCam;
18class MArrivalTimePix;
19class MIslands;
20
21class MIslandClean : public MGTask
22{
23 public:
24
25 typedef enum {
26 kTiming,
27 kNoTiming
28 } IslandCleaningMethod_t;
29
30 private:
31 const MGeomCam *fCam; //!
32 MCerPhotEvt *fEvt; //!
33 MSigmabar *fSgb; //!
34 MPedestalCam *fPed; //!
35 MArrivalTimeCam *fTime; //!
36 MIslands *fIsl; //!
37
38 TString fIslName;
39
40 // IslandCleaningMethod_t fIslandCleaningMethod;
41 Int_t fIslandCleaningMethod;
42
43 Float_t fIslCleanThres;
44
45 Int_t PreProcess(MParList *plist);
46 Int_t Process();
47
48 public:
49 MIslandClean(const Float_t newThres=50, const char *name=NULL, const char *title=NULL);
50
51 void SetInputName(TString inname) {fIslName = inname;}
52
53 //void SetMethod(IslandCleaningMethod_t m) {fIslandCleaningMethod = m;}
54 void SetMethod(Int_t m) {fIslandCleaningMethod = m;}
55
56 ClassDef(MIslandClean, 0) // task doing the island cleaning
57};
58
59#endif
Note: See TracBrowser for help on using the repository browser.