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

Last change on this file since 1376 was 1283, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 767 bytes
Line 
1#ifndef MARS_MHHillas
2#define MARS_MHHillas
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9
10class MHHillas : public MH
11{
12private:
13 TH1F *fWidth;
14 TH1F *fLength;
15
16protected:
17 Float_t fMm2Deg;
18
19 Bool_t fUseMmScale;
20
21public:
22 MHHillas(const char *name=NULL, const char *title=NULL);
23 ~MHHillas();
24
25 void SetMmScale(Bool_t mmscale=kTRUE);
26 virtual void SetMm2Deg(Float_t mmdeg);
27
28 Bool_t SetupFill(const MParList *pList);
29 Bool_t Fill(const MParContainer *par);
30
31 TH1F *GetHistWidth() { return fWidth; }
32 TH1F *GetHistLength() { return fLength; }
33
34 void Draw(Option_t *opt=NULL);
35 TObject *DrawClone(Option_t *opt=NULL) const;
36
37 ClassDef(MHHillas, 1) // Container which holds histograms for length and width
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.