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

Last change on this file since 1476 was 1463, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#ifndef MARS_MHHillas
2#define MARS_MHHillas
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9class TH2F;
10class MHillas;
11
12class MHHillas : public MH
13{
14private:
15
16 TH1F *fLength; //->
17 TH1F *fWidth; //->
18
19 TH1F *fDistC; //->
20 TH1F *fDelta; //->
21
22 TH1F *fSize; //->
23 TH2F *fCenter; //->
24
25 void SetColors() const;
26
27protected:
28 Float_t fMm2Deg;
29
30 Bool_t fUseMmScale;
31
32public:
33 MHHillas(const char *name=NULL, const char *title=NULL);
34 ~MHHillas();
35
36 void SetMmScale(Bool_t mmscale=kTRUE);
37 virtual void SetMm2Deg(Float_t mmdeg);
38
39 Bool_t SetupFill(const MParList *pList);
40 Bool_t Fill(const MParContainer *par);
41
42 TH1F *GetHistLength() { return fLength; }
43 TH1F *GetHistWidth() { return fWidth; }
44
45 TH1F *GetHistDistC() { return fDistC; }
46 TH1F *GetHistDelta() { return fDelta; }
47
48 TH1F *GetHistSize() { return fSize; }
49 TH2F *GetHistCenter() { return fCenter; }
50
51 void Draw(Option_t *opt=NULL);
52 TObject *DrawClone(Option_t *opt=NULL) const;
53
54 ClassDef(MHHillas, 1) // Container which holds histograms for the source independent image parameters
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.