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

Last change on this file since 5988 was 4834, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 883 bytes
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
21public:
22 MHImagePar(const char *name=NULL, const char *title=NULL);
23
24 Bool_t SetupFill(const MParList *plist);
25 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
26
27 TH1 *GetHistByName(const TString name);
28
29 TH1F &GetHistSatHi() { return fHistSatHi; }
30 TH1F &GetHistSatLo() { return fHistSatLo; }
31
32 TH1F &GetHistIslands() { return fHistIslands; }
33
34 void Paint(Option_t *opt="");
35 void Draw(Option_t *opt="");
36
37 ClassDef(MHImagePar, 1) // Histograms of image parameters
38};
39
40#endif
41
42
Note: See TracBrowser for help on using the repository browser.