Last change
on this file since 770 was 749, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifndef MHILLAS_H
|
---|
2 | #define MHILLAS_H
|
---|
3 |
|
---|
4 | #ifndef MPARCONTAINER_H
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TEllipse;
|
---|
9 |
|
---|
10 | class MGeomCam;
|
---|
11 | class MCerPhotEvt;
|
---|
12 |
|
---|
13 | class MHillas : public MParContainer
|
---|
14 | {
|
---|
15 | private:
|
---|
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 |
|
---|
25 | public:
|
---|
26 | MHillas(const char *name=NULL, const char *title=NULL);
|
---|
27 | ~MHillas();
|
---|
28 |
|
---|
29 | Bool_t Calc(MGeomCam &geom, MCerPhotEvt &pix);
|
---|
30 |
|
---|
31 | void Print(Option_t *opt=NULL);
|
---|
32 | void Draw(Option_t *opt=NULL);
|
---|
33 | void Paint(Option_t *opt=NULL);
|
---|
34 |
|
---|
35 | void Clear(Option_t *opt=NULL);
|
---|
36 |
|
---|
37 | Float_t GetAlpha() const { return fAlpha; }
|
---|
38 | Float_t GetWidth() const { return fWidth; }
|
---|
39 | Float_t GetLength() const { return fLength; }
|
---|
40 | Float_t GetDist() const { return fDist; }
|
---|
41 | Float_t GetSize() const { return fSize; }
|
---|
42 | Float_t GetTheta() const { return fTheta; }
|
---|
43 |
|
---|
44 | ClassDef(MHillas, 1) // Storage Container for Hillas Parameter
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.