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

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