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

Last change on this file since 4308 was 4286, checked in by aliu, 20 years ago
*** empty log message ***
File size: 1.2 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 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.