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

Last change on this file since 1522 was 1463, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 989 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 *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 TH1F *GetHistAlpha() { return fAlpha; }
33 TH1F *GetHistDist() { return fDist; }
34 TH1F *GetHistHeadTail() { return fHeadTail; }
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.