source: trunk/MagicSoft/Mars/mhist/MHHillasSrc.h@ 1379

Last change on this file since 1379 was 1216, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 786 bytes
Line 
1#ifndef MARS_MHHillasSrc
2#define MARS_MHHillasSrc
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9class MHillas;
10
11class MHHillasSrc : public MH
12{
13private:
14 TH1F *fAlpha;
15 TH1F *fDist;
16
17 Float_t fMm2Deg;
18 Bool_t fUseMmScale;
19
20public:
21 MHHillasSrc(const char *name=NULL, const char *title=NULL);
22 ~MHHillasSrc();
23
24 void SetUseMmScale(Bool_t mmscale=kTRUE) { fUseMmScale = mmscale; }
25
26 Bool_t SetupFill(const MParList *pList);
27 Bool_t Fill(const MParContainer *par);
28
29 TH1F *GetHistAlpha() { return fAlpha; }
30 TH1F *GetHistDist() { return fDist; }
31
32 void Draw(Option_t *opt=NULL);
33 TObject *DrawClone(Option_t *opt=NULL) const;
34
35 ClassDef(MHHillasSrc, 1) // Container which holds histograms for the source dependant parameters
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.