#ifndef MARS_MHHillasExt #define MARS_MHHillasExt #ifndef ROOT_TH1 #include #endif #ifndef MARS_MH #include "MH.h" #endif class MHillasExt; class MHHillasExt : public MH { private: MHillasExt *fHillasExt; //! Pointer to the MHillasExt container TH1F fHAsym; // [mm] fDist minus dist: center of ellipse, highest pixel TH1F fHM3Long; // [mm] 3rd moment (e-weighted) along major axis TH1F fHM3Trans; // [mm] 3rd moment (e-weighted) along minor axis TH1F fHMaxDist; // [mm] Distance between shower center maximum distant pixel Float_t fMm2Deg; Bool_t fUseMmScale; TString fHilName; public: MHHillasExt(const char *name=NULL, const char *title=NULL); void SetHillasName(const char *name) { fHilName = name; } void SetMmScale(Bool_t mmscale=kTRUE); virtual void SetMm2Deg(Float_t mmdeg); Bool_t SetupFill(const MParList *pList); Bool_t Fill(const MParContainer *par, const Stat_t w=1); TH1 *GetHistByName(const TString name) const; TObject *FindObject(const TObject *obj) const { return 0; } TObject *FindObject(const char *name) const { return (TObject*)GetHistByName(name); } void Draw(Option_t *opt=NULL); ClassDef(MHHillasExt, 1) // Container which holds histograms for the extended hillas parameters }; #endif