source: branches/removing_cpp11_features/mimage/MHHillas.h@ 18086

Last change on this file since 18086 was 9343, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MHHillas
2#define MARS_MHHillas
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9class TH2F;
10class MHillas;
11class MGeomCam;
12
13class MHHillas : public MH
14{
15private:
16 MGeomCam *fGeomCam; //! Camera geometry for plots (for the moment this is a feature for a loop only!)
17
18 TH1F *fLength; //-> Length
19 TH1F *fWidth; //-> Width
20
21 TH1F *fDistC; //-> Distance to Camera Center
22 TH1F *fDelta; //-> Angle between Length axis and x-axis
23
24 TH1F *fSize; //-> Sum of used pixels
25 TH2F *fCenter; //-> Center
26
27 void Paint(Option_t *opt="");
28
29public:
30 MHHillas(const char *name=NULL, const char *title=NULL);
31 ~MHHillas();
32
33 Bool_t SetupFill(const MParList *pList);
34 Int_t Fill(const MParContainer *par, const Stat_t w=1);
35
36 TH1 *GetHistByName(const TString name) const;
37 TObject *FindObject(const TObject *obj) const { return 0; }
38 TObject *FindObject(const char *name) const
39 {
40 return (TObject*)GetHistByName(name);
41 }
42
43 TH1F *GetHistLength() { return fLength; }
44 TH1F *GetHistWidth() { return fWidth; }
45
46 TH1F *GetHistDistC() { return fDistC; }
47 TH1F *GetHistDelta() { return fDelta; }
48
49 TH1F *GetHistSize() { return fSize; }
50 TH2F *GetHistCenter() { return fCenter; }
51
52 void Draw(Option_t *opt=NULL);
53
54 //Int_t DistancetoPrimitive(Int_t px, Int_t py) { return 0; }
55
56 ClassDef(MHHillas, 2) // Container which holds histograms for the source independent image parameters
57};
58
59#endif
Note: See TracBrowser for help on using the repository browser.