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

Last change on this file since 970 was 970, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 711 bytes
Line 
1#ifndef MHSTARMAP_H
2#define MHSTARMAP_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8#ifndef MH_H
9#include "MH.h"
10#endif
11
12#ifndef ROOT_TH2
13// what's the reason that we need this here? cint complains about it
14// if it is missing...
15#include <TH2.h>
16#endif
17
18class MHillas;
19
20class MHStarMap : public MH
21{
22private:
23 TH2F *fStarMap;
24
25 void PrepareDrawing() const;
26
27public:
28 MHStarMap(const char *name=NULL, const char *title=NULL);
29 ~MHStarMap();
30
31 void Fill(const MParContainer *par);
32
33 TH2F *GetHist() { return fStarMap; }
34
35 void Draw(Option_t *opt=NULL);
36 TObject *DrawClone(Option_t *opt=NULL) const;
37
38 ClassDef(MHStarMap, 1) // Container to hold 2-dim histogram (starmap)
39};
40
41#endif
42
Note: See TracBrowser for help on using the repository browser.