| 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 |
|
|---|
| 11 | class MHillas;
|
|---|
| 12 |
|
|---|
| 13 | class MHImagePar : public MH
|
|---|
| 14 | {
|
|---|
| 15 | private:
|
|---|
| 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 |
|
|---|
| 21 | public:
|
|---|
| 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.