Line | |
---|
1 | #ifndef MARS_MIslandCalc
|
---|
2 | #define MARS_MIslandCalc
|
---|
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 MIslandCalc : public MGTask
|
---|
22 | {
|
---|
23 | private:
|
---|
24 | const MGeomCam *fCam; //!
|
---|
25 | MCerPhotEvt *fEvt; //!
|
---|
26 | MSigmabar *fSgb; //!
|
---|
27 | MPedestalCam *fPed; //!
|
---|
28 | MArrivalTimeCam *fTime; //!
|
---|
29 |
|
---|
30 | MIslands *fIsl; //! output container to store result
|
---|
31 |
|
---|
32 | TString fIslName; // name of the 'MIslands' container
|
---|
33 |
|
---|
34 | Int_t fIslandAlgorithm;
|
---|
35 |
|
---|
36 | Int_t PreProcess(MParList *plist);
|
---|
37 | Int_t Process();
|
---|
38 | Int_t Calc1(); // algorithm of counting islands #1
|
---|
39 | Int_t Calc2(); // algorithm of counting islands #2
|
---|
40 |
|
---|
41 | public:
|
---|
42 | MIslandCalc(const char* name=NULL, const char* title=NULL);
|
---|
43 | void SetOutputName(TString outname) { fIslName = outname; }
|
---|
44 |
|
---|
45 | void SetAlgorithm(Int_t m) {fIslandAlgorithm = m;}
|
---|
46 |
|
---|
47 | ClassDef(MIslandCalc, 0) // task doing the image cleaning
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.