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

Last change on this file since 1956 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 821 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 TH1 *GetHistByName(const TString name) { return fStarMap; }
36
37 TH2F *GetHist() { return fStarMap; }
38
39 void Draw(Option_t *opt=NULL);
40 TObject *DrawClone(Option_t *opt=NULL) const;
41
42 ClassDef(MHStarMap, 1) // Container to hold 2-dim histogram (starmap)
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.