Line | |
---|
1 | #ifndef MARS_MHHillasExt
|
---|
2 | #define MARS_MHHillasExt
|
---|
3 |
|
---|
4 | #ifndef ROOT_TH2
|
---|
5 | #include <TH2.h>
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MH
|
---|
8 | #include "MH.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class MHillas;
|
---|
12 | class MHillasExt;
|
---|
13 |
|
---|
14 | class MHHillasExt : public MH
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | MHillas *fHillas; //! Pointer to the MHillas container
|
---|
18 | MHillasExt *fHillasExt; //! Pointer to the MHillasExt container
|
---|
19 |
|
---|
20 | TH1F fHAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
|
---|
21 | TH1F fHM3Long; // [mm] 3rd moment (e-weighted) along major axis
|
---|
22 | TH1F fHM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
|
---|
23 | TH2F fHSlopeL; //
|
---|
24 |
|
---|
25 | Float_t fMm2Deg;
|
---|
26 | Bool_t fUseMmScale;
|
---|
27 |
|
---|
28 | TString fHilName;
|
---|
29 |
|
---|
30 | public:
|
---|
31 | MHHillasExt(const char *name=NULL, const char *title=NULL);
|
---|
32 |
|
---|
33 | void SetHillasName(const char *name) { fHilName = name; }
|
---|
34 |
|
---|
35 | void SetMmScale(Bool_t mmscale=kTRUE);
|
---|
36 | virtual void SetMm2Deg(Float_t mmdeg);
|
---|
37 |
|
---|
38 | Bool_t SetupFill(const MParList *pList);
|
---|
39 | Int_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
40 |
|
---|
41 | TH1 *GetHistByName(const TString name) const;
|
---|
42 | TObject *FindObject(const TObject *obj) const { return 0; }
|
---|
43 | TObject *FindObject(const char *name) const
|
---|
44 | {
|
---|
45 | return (TObject*)GetHistByName(name);
|
---|
46 | }
|
---|
47 |
|
---|
48 | void Draw(Option_t *opt=NULL);
|
---|
49 |
|
---|
50 | ClassDef(MHHillasExt, 2) // Container which holds histograms for the extended hillas parameters
|
---|
51 | };
|
---|
52 |
|
---|
53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.