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

Last change on this file since 2230 was 2043, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 879 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
25 void Paint(Option_t *opt="");
26
27public:
28 MHStarMap(const char *name=NULL, const char *title=NULL);
29 ~MHStarMap();
30
31 void SetMmScale(Bool_t mmscale=kTRUE);
32 void SetMm2Deg(Float_t mmdeg);
33
34 Bool_t SetupFill(const MParList *pList);
35 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
36
37 TH1 *GetHistByName(const TString name) { return fStarMap; }
38
39 TH2F *GetHist() { return fStarMap; }
40
41 void Draw(Option_t *opt=NULL);
42 TObject *DrawClone(Option_t *opt=NULL) const;
43
44 ClassDef(MHStarMap, 1) // Container to hold 2-dim histogram (starmap)
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.