source: trunk/MagicSoft/Mars/mhist/MHStarMap.h@ 3033

Last change on this file since 3033 was 2297, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 855 bytes
Line 
1#ifndef MARS_MHStarMap
2#define MARS_MHStarMap
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH2F;
9class MHillas;
10
11class MHStarMap : public MH
12{
13private:
14 TH2F *fStarMap; //->
15
16 Float_t fMm2Deg;
17
18 Bool_t fUseMmScale;
19
20 void PrepareDrawing() const;
21
22 void Paint(Option_t *opt="");
23
24public:
25 MHStarMap(const char *name=NULL, const char *title=NULL);
26 ~MHStarMap();
27
28 void SetMmScale(Bool_t mmscale=kTRUE);
29 void SetMm2Deg(Float_t mmdeg);
30
31 Bool_t SetupFill(const MParList *pList);
32 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
33
34 TH1 *GetHistByName(const TString name) { return (TH1*)fStarMap; }
35
36 TH2F *GetHist() { return fStarMap; }
37
38 void Draw(Option_t *opt=NULL);
39 TObject *DrawClone(Option_t *opt=NULL) const;
40
41 ClassDef(MHStarMap, 1) // Container to hold 2-dim histogram (starmap)
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.