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

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