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

Last change on this file since 8102 was 6977, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.4 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) const;
36 TObject *FindObject(const TObject *obj) const { return 0; }
37 TObject *FindObject(const char *name) const
38 {
39 return (TObject*)GetHistByName(name);
40 }
41
42 TH1F &GetHistSatHi() { return fHistSatHi; }
43 TH1F &GetHistSatLo() { return fHistSatLo; }
44
45 TH1F &GetHistIslands() { return fHistIslands; }
46
47 void Paint(Option_t *opt="");
48 void Draw(Option_t *opt="");
49
50 ClassDef(MHImagePar, 1) // Histograms of image parameters
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.