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

Last change on this file since 1835 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.2 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 TH1F *fUsedPix; //->
26 TH1F *fCorePix; //->
27
28 void SetColors() const;
29
30 Float_t fMm2Deg;
31 Bool_t fUseMmScale;
32
33public:
34 MHHillas(const char *name=NULL, const char *title=NULL);
35 ~MHHillas();
36
37 void SetMmScale(Bool_t mmscale=kTRUE);
38 virtual void SetMm2Deg(Float_t mmdeg);
39
40 Bool_t SetupFill(const MParList *pList);
41 Bool_t Fill(const MParContainer *par);
42
43 TH1 *GetHistByName(const TString name);
44
45 TH1F *GetHistLength() { return fLength; }
46 TH1F *GetHistWidth() { return fWidth; }
47
48 TH1F *GetHistDistC() { return fDistC; }
49 TH1F *GetHistDelta() { return fDelta; }
50
51 TH1F *GetHistSize() { return fSize; }
52 TH2F *GetHistCenter() { return fCenter; }
53
54 void Draw(Option_t *opt=NULL);
55 TObject *DrawClone(Option_t *opt=NULL) const;
56
57 ClassDef(MHHillas, 1) // Container which holds histograms for the source independent image parameters
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.