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

Last change on this file since 3361 was 3340, checked in by wittek, 21 years ago
*** empty log message ***
File size: 1.1 KB
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;
10class MSrcPosCam;
11class MMcEvt;
12
13class MHStarMap : public MH
14{
15private:
16 MSrcPosCam *fSrcPos; //!
17 MMcEvt *fMcEvt; //!
18
19 TH2F *fStarMap; //->
20
21 Float_t fMm2Deg;
22
23 Bool_t fUseMmScale;
24
25 Float_t fCosLat; //!
26 Float_t fSinLat; //!
27
28 void PrepareDrawing() const;
29
30 void Paint(Option_t *opt="");
31
32 void GetRotationAngle(Double_t &cosangle, Double_t &sinangle);
33
34 Bool_t SetupFill(const MParList *pList);
35 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
36 Bool_t ReInit(MParList *pList);
37
38public:
39 MHStarMap(const char *name=NULL, const char *title=NULL);
40 ~MHStarMap();
41
42 void SetMmScale(Bool_t mmscale=kTRUE);
43 void SetMm2Deg(Float_t mmdeg);
44
45 TH1 *GetHistByName(const TString name) { return (TH1*)fStarMap; }
46
47 TH2F *GetHist() { return fStarMap; }
48
49 void Draw(Option_t *opt=NULL);
50 TObject *DrawClone(Option_t *opt=NULL) const;
51
52 ClassDef(MHStarMap, 1) // Container to hold the Starmap
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.