source: trunk/MagicSoft/Mars/mhist/MHHillasExt.h@ 1471

Last change on this file since 1471 was 1465, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHHillasExt
2#define MARS_MHHillasExt
3
4#ifndef ROOT_TH1
5#include <TH1.h>
6#endif
7#ifndef MARS_MHHillas
8#include "MHHillas.h"
9#endif
10
11class MHillasSrc;
12
13class MHHillasExt : public MHHillas
14{
15private:
16 MHillasSrc *fHillasSrc; //! Pointer to an MHillasSrc to be able to add sign to Asym, M3Long and M3Trans
17
18 TH1F fHConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
19 TH1F fHConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
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
24public:
25 MHHillasExt(const char *name=NULL, const char *title=NULL);
26 ~MHHillasExt();
27
28 void SetMmScale(Bool_t mmscale=kTRUE);
29
30 Bool_t SetupFill(const MParList *pList);
31 Bool_t Fill(const MParContainer *par);
32
33 void Draw(Option_t *opt=NULL);
34 TObject *DrawClone(Option_t *opt=NULL) const;
35
36 ClassDef(MHHillasExt, 1) // Container which holds histograms for length and width
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.