source: branches/Mars_use_drstimefiles/mtemp/mifae/library/MIslandsClean.h@ 19365

Last change on this file since 19365 was 5170, checked in by aliu, 20 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MIslandsClean
2#define MARS_MIslandsClean
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;
20class MImgIsland;
21
22class MIslandsClean : public MGTask
23{
24 public:
25
26 typedef enum {
27 kTiming,
28 kNoTiming
29 } IslandCleaningMethod_t;
30
31 private:
32 const MGeomCam *fCam; //!
33 MCerPhotEvt *fEvt; //!
34 MSigmabar *fSgb; //!
35 MPedestalCam *fPed; //!
36 MArrivalTimeCam *fTime; //!
37 MIslands *fIsl; //!
38
39 TString fIslName;
40
41 // IslandCleaningMethod_t fIslandCleaningMethod;
42 Int_t fIslandCleaningMethod;
43
44 Float_t fIslCleanThres;
45
46 Int_t PreProcess(MParList *plist);
47 Int_t Process();
48
49 public:
50 MIslandsClean(const Float_t newThres=50, const char *name=NULL, const char *title=NULL);
51
52 void SetInputName(TString inname) {fIslName = inname;}
53
54 //void SetMethod(IslandCleaningMethod_t m) {fIslandCleaningMethod = m;}
55 void SetMethod(Int_t m) {fIslandCleaningMethod = m;}
56
57 ClassDef(MIslandsClean, 0) // task doing the island cleaning
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.