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

Last change on this file since 991 was 991, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.4 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; // [deg] Angle between the length axis of the ellipse and the camera center
17 Float_t fTheta; // [rad] 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 Reset();
30
31 Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix);
32
33 void Print(Option_t *opt=NULL) const;
34 void Draw(Option_t *opt=NULL);
35 void Paint(Option_t *opt=NULL);
36
37 void Clear(Option_t *opt=NULL);
38
39 Float_t GetAlpha() const { return fAlpha; }
40 Float_t GetWidth() const { return fWidth; }
41 Float_t GetLength() const { return fLength; }
42 Float_t GetDist() const { return fDist; }
43 Float_t GetSize() const { return fSize; }
44 Float_t GetTheta() const { return fTheta; }
45
46 void AsciiRead(ifstream &fin);
47 void AsciiWrite(ofstream &fout) const;
48
49 ClassDef(MHillas, 1) // Storage Container for Hillas Parameter
50};
51
52#endif
53
Note: See TracBrowser for help on using the repository browser.