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

Last change on this file since 1232 was 1216, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 754 bytes
Line 
1#ifndef MARS_MHHillas
2#define MARS_MHHillas
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9class MHillas;
10
11class MHHillas : public MH
12{
13private:
14 TH1F *fWidth;
15 TH1F *fLength;
16
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) { fUseMmScale = mmscale; }
26
27 Bool_t SetupFill(const MParList *pList);
28 Bool_t Fill(const MParContainer *par);
29
30 TH1F *GetHistWidth() { return fWidth; }
31 TH1F *GetHistLength() { return fLength; }
32
33 void Draw(Option_t *opt=NULL);
34 TObject *DrawClone(Option_t *opt=NULL) const;
35
36 ClassDef(MHHillas, 1) // Container which holds histograms for length and width
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.