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 |
|
---|
12 | class MGeomCam;
|
---|
13 | class MSigmabar;
|
---|
14 | class MCerPhotPix;
|
---|
15 | class MCerPhotEvt;
|
---|
16 | class MPedestalCam;
|
---|
17 | class MArrivalTimeCam;
|
---|
18 | class MArrivalTimePix;
|
---|
19 | class MIslands;
|
---|
20 |
|
---|
21 | class 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.