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