source: trunk/Mars/mimage/MImagePar.h@ 9860

Last change on this file since 9860 was 7535, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MImagePar
2#define MARS_MImagePar
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MHillas;
9class MGeomCam;
10class MSignalCam;
11
12class MImagePar : public MParContainer
13{
14private:
15 Short_t fNumIslands; // Number of islands found
16 Short_t fNumSinglePixels;
17
18 Float_t fSizeSinglePixels;
19 Float_t fSizeSubIslands;
20 Float_t fSizeMainIsland;
21
22 Short_t fNumSatPixelsHG; // number of pixels with saturating hi-gains
23 Short_t fNumSatPixelsLG; // number of pixels with saturating lo-gains
24
25public:
26 MImagePar(const char *name=NULL, const char *title=NULL);
27
28 void Reset();
29
30 Short_t GetNumIslands() const { return fNumIslands; }
31
32 Short_t GetNumSatPixelsHG() const { return fNumSatPixelsHG; }
33 Short_t GetNumSatPixelsLG() const { return fNumSatPixelsLG; }
34 Short_t GetNumSinglePixels() const { return fNumSinglePixels; }
35 Float_t GetSizeSinglePixels() const { return fSizeSinglePixels; }
36 Float_t GetSizeSubIslands() const { return fSizeSubIslands; }
37 Float_t GetSizeMainIsland() const { return fSizeMainIsland; }
38
39 void Print(Option_t *opt=NULL) const;
40
41 void Calc(const MSignalCam &evt);
42
43 ClassDef(MImagePar, 2) // Container to hold (geometry and island independant) image parameters
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.