source: trunk/Mars/mtemp/mifae/library/MIslandsCalc.h@ 15738

Last change on this file since 15738 was 5170, checked in by aliu, 20 years ago
*** empty log message ***
File size: 1.4 KB
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
12class MGeomCam;
13class MSigmabar;
14class MCerPhotPix;
15class MCerPhotEvt;
16class MPedestalCam;
17class MArrivalTimeCam;
18class MArrivalTimePix;
19class MGeomCam;
20class MIslands;
21class MImgIsland;
22
23class 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.