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

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