#ifndef MARS_MHStarMap #define MARS_MHStarMap #ifndef MARS_MH #include "MH.h" #endif #ifndef ROOT_TH2 #include #endif class MHillas; class MHStarMap : public MH { private: TH2F *fStarMap; //-> Float_t fMm2Deg; Bool_t fUseMmScale; void PrepareDrawing() const; void Paint(Option_t *opt=""); public: MHStarMap(const char *name=NULL, const char *title=NULL); ~MHStarMap(); void SetMmScale(Bool_t mmscale=kTRUE); 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) { return fStarMap; } TH2F *GetHist() { return fStarMap; } void Draw(Option_t *opt=NULL); TObject *DrawClone(Option_t *opt=NULL) const; ClassDef(MHStarMap, 1) // Container to hold 2-dim histogram (starmap) }; #endif