source: tags/Mars-V0.8.5/mimage/MHHillasSrc.h

Last change on this file was 2416, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 949 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 TH1F *fCosDA; //->
17
18 Float_t fMm2Deg;
19 Bool_t fUseMmScale;
20
21public:
22 MHHillasSrc(const char *name=NULL, const char *title=NULL);
23 ~MHHillasSrc();
24
25 void SetMmScale(Bool_t mmscale=kTRUE);
26 void SetMm2Deg(Float_t mmdeg);
27
28 Bool_t SetupFill(const MParList *pList);
29 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
30
31 TH1 *GetHistByName(const TString name);
32
33 TH1F *GetHistAlpha() { return fAlpha; }
34 TH1F *GetHistDist() { return fDist; }
35 TH1F *GetHistCosDeltaAlpha() { return fCosDA; }
36
37 void Draw(Option_t *opt=NULL);
38 void Paint(Option_t *opt);
39
40
41 ClassDef(MHHillasSrc, 1) // Container which holds histograms for the source dependant parameters
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.