source: trunk/MagicSoft/Mars/mimage/MHHillasSrc.h@ 2006

Last change on this file since 2006 was 2004, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 963 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, Double_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 TObject *DrawClone(Option_t *opt=NULL) const;
39
40 ClassDef(MHHillasSrc, 1) // Container which holds histograms for the source dependant parameters
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.