source: trunk/Mars/mimage/MHHillasSrc.h@ 10312

Last change on this file since 10312 was 9343, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.2 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 MGeomCam;
10class MHillas;
11
12class MHHillasSrc : public MH
13{
14private:
15 MGeomCam *fGeom; //! conversion mm to deg
16
17 TH1F *fAlpha; //->
18 TH1F *fDist; //->
19 TH1F *fCosDA; //->
20
21 TH1F *fDCA; //->
22 TH1F *fDCADelta; //->
23
24public:
25 MHHillasSrc(const char *name=NULL, const char *title=NULL);
26 ~MHHillasSrc();
27
28 Bool_t SetupFill(const MParList *pList);
29 Int_t Fill(const MParContainer *par, const Stat_t w=1);
30
31 TH1 *GetHistByName(const TString name) const;
32 TObject *FindObject(const TObject *obj) const { return 0; }
33 TObject *FindObject(const char *name) const
34 {
35 return (TObject*)GetHistByName(name);
36 }
37
38 TH1F *GetHistAlpha() { return fAlpha; }
39 TH1F *GetHistDist() { return fDist; }
40 TH1F *GetHistCosDeltaAlpha() { return fCosDA; }
41 TH1F *GetHistDCA() { return fDCA; }
42 TH1F *GetHistDCADelta() { return fDCADelta; }
43
44 void Draw(Option_t *opt=NULL);
45 void Paint(Option_t *opt);
46
47
48 ClassDef(MHHillasSrc, 2) // Container which holds histograms for the source dependant parameters
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.