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

Last change on this file since 6979 was 6977, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.3 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) const;
35 TObject *FindObject(const TObject *obj) const { return 0; }
36 TObject *FindObject(const char *name) const
37 {
38 return (TObject*)GetHistByName(name);
39 }
40
41 TH1F *GetHistAlpha() { return fAlpha; }
42 TH1F *GetHistDist() { return fDist; }
43 TH1F *GetHistCosDeltaAlpha() { return fCosDA; }
44 TH1F *GetHistDCA() { return fDCA; }
45 TH1F *GetHistDCADelta() { return fDCADelta; }
46
47 void Draw(Option_t *opt=NULL);
48 void Paint(Option_t *opt);
49
50
51 ClassDef(MHHillasSrc, 1) // Container which holds histograms for the source dependant parameters
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.