#ifndef MARS_MHillas #define MARS_MHillas #ifndef MARS_MParContainer #include "MParContainer.h" #endif class TArrayF; class TEllipse; class MGeomCam; class MCerPhotEvt; class MHillas : public MParContainer { private: // for description see MHillas.cc Float_t fLength; // [mm] major axis of ellipse Float_t fWidth; // [mm] minor axis of ellipse Float_t fDelta; // [rad] angle of major axis with x-axis Float_t fSize; // [#CerPhot] sum of content of all pixels (number of Cherenkov photons) Float_t fMeanX; // [mm] x-coordinate of center of ellipse Float_t fMeanY; // [mm] y-coordinate of center of ellipse Float_t fSinDelta; // [1] sin of Delta (to be used in derived classes) Float_t fCosDelta; // [1] cos of Delta (to be used in derived classes) TEllipse *fEllipse; //! Graphical Object to Display Ellipse public: MHillas(const char *name=NULL, const char *title=NULL); ~MHillas(); void Reset(); Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix); void Print(Option_t *opt=NULL) const; void Draw(Option_t *opt=NULL); void Clear(Option_t *opt=NULL); Float_t GetLength() const { return fLength; } Float_t GetWidth() const { return fWidth; } Float_t GetDelta() const { return fDelta; } Float_t GetSize() const { return fSize; } Float_t GetMeanX() const { return fMeanX; } Float_t GetMeanY() const { return fMeanY; } Float_t GetCosDelta() const { return fCosDelta; } Float_t GetSinDelta() const { return fSinDelta; } void Set(const TArrayF &arr); ClassDef(MHillas, 3) // Storage Container for Hillas Parameter }; #endif