source: trunk/MagicSoft/Mars/mtemp/mifae/library/MIslandCalc.h@ 4800

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