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 IslandPar(); //
|
---|
39 | void Calc1(Int_t&,const Int_t,const Int_t,Int_t**,Int_t*); // algorithm of counting islands #1
|
---|
40 | void Calc2(Int_t&,const Int_t,const Int_t,Int_t**,Int_t*); // algorithm of counting islands #2
|
---|
41 |
|
---|
42 |
|
---|
43 | public:
|
---|
44 | MIslandCalc(const char* name=NULL, const char* title=NULL);
|
---|
45 | void SetOutputName(TString outname) { fIslName = outname; }
|
---|
46 |
|
---|
47 | void SetAlgorithm(Int_t m) {fIslandAlgorithm = m;}
|
---|
48 |
|
---|
49 | ClassDef(MIslandCalc, 0) // task doing the image cleaning
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.