source: trunk/MagicSoft/Mars/mimage/MHNewImagePar.h@ 2969

Last change on this file since 2969 was 2043, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHNewImagePar
2#define MARS_MHNewImagePar
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH1
8#include <TH1.h>
9#endif
10
11class MHillas;
12
13class MHNewImagePar : public MH
14{
15private:
16 TH1F fHistLeakage1; //
17 TH1F fHistLeakage2; //
18
19 TH1F fHistUsedPix; // Number of used pixels
20 TH1F fHistCorePix; // Number of core pixels
21
22 TH1F fHistConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
23 TH1F fHistConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
24
25public:
26 MHNewImagePar(const char *name=NULL, const char *title=NULL);
27
28 Bool_t SetupFill(const MParList *plist);
29 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
30
31 TH1 *GetHistByName(const TString name);
32
33 TH1F &GetHistLeakage1() { return fHistLeakage1; }
34 TH1F &GetHistLeakage2() { return fHistLeakage2; }
35
36 TH1F &GetHistUsedPix() { return fHistUsedPix; }
37 TH1F &GetHistCorePix() { return fHistCorePix; }
38
39 TH1F &GetHistConc() { return fHistConc; }
40 TH1F &GetHistConc1() { return fHistConc1; }
41
42 void Draw(Option_t *opt=NULL);
43
44 ClassDef(MHNewImagePar, 1) // Histograms of new image parameters
45};
46
47#endif
48
49
Note: See TracBrowser for help on using the repository browser.