source: trunk/MagicSoft/Mars/mimage/MHImagePar.h@ 6902

Last change on this file since 6902 was 6489, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHImagePar
2#define MARS_MHImagePar
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 MHImagePar : public MH
14{
15private:
16 TH1F fHistSatHi; // Number of pixels with sat hi-gain
17 TH1F fHistSatLo; // Number of pixels with sat lo-gain
18
19 TH1F fHistIslands; // Number of islands per event
20 TH1F fHistSizeSubIslands; // Size of sub islands
21 TH1F fHistSizeMainIsland; // Size of main island
22
23 TH1F fHistNumSP; // Number of single core pixels
24 TH1F fHistSizeSP; // size of single core pixels
25
26 Short_t fNumSatPixelsHG; // number of pixels with saturating hi-gains
27 Short_t fNumSatPixelsLG; // number of pixels with saturating lo-gains
28
29public:
30 MHImagePar(const char *name=NULL, const char *title=NULL);
31
32 Bool_t SetupFill(const MParList *plist);
33 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
34
35 TH1 *GetHistByName(const TString name);
36
37 TH1F &GetHistSatHi() { return fHistSatHi; }
38 TH1F &GetHistSatLo() { return fHistSatLo; }
39
40 TH1F &GetHistIslands() { return fHistIslands; }
41
42 void Paint(Option_t *opt="");
43 void Draw(Option_t *opt="");
44
45 ClassDef(MHImagePar, 1) // Histograms of image parameters
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.