source: trunk/MagicSoft/Mars/manalysis/MHillas.h@ 698

Last change on this file since 698 was 698, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#ifndef MHILLAS_H
2#define MHILLAS_H
3
4#ifndef MPARCONTAINER_H
5#include "MParContainer.h"
6#endif
7
8class TEllipse;
9
10class MGeomCam;
11class MCerPhotEvt;
12
13class MHillas : public MParContainer
14{
15private:
16 Float_t fAlpha; // Angle between the length axis of the ellipse and the camera center
17 Float_t fTheta; // Angle between the x axis and the center of the ellipse
18 Float_t fWidth; // Width of the ellipse
19 Float_t fLength; // Length of the ellipse
20 Float_t fSize; // Size of the ellipse
21 Float_t fDist; // Distance of the ellipse COM from the camera center
22
23 TEllipse *fEllipse; //! Graphical Object to Display Ellipse
24
25public:
26 MHillas(const char *name=NULL, const char *title=NULL);
27 ~MHillas();
28
29 void Calc(MGeomCam &geom, MCerPhotEvt &pix);
30
31 void Print(Option_t *opt=NULL);
32 void Draw(Option_t *opt=NULL);
33
34 void Clear(Option_t *opt=NULL);
35
36 Float_t GetAlpha() const { return fAlpha; }
37 Float_t GetWidth() const { return fWidth; }
38 Float_t GetLength() const { return fLength; }
39 Float_t GetDist() const { return fDist; }
40
41 ClassDef(MHillas, 1) // Storage Container for Hillas Parameter
42};
43
44#endif
45
Note: See TracBrowser for help on using the repository browser.