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 |
|
---|
11 | class MHillas;
|
---|
12 |
|
---|
13 | class MHNewImagePar : public MH
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | TH1F fHistLeakage1; //
|
---|
17 | TH1F fHistLeakage2; //
|
---|
18 |
|
---|
19 | TH1F fHistUsedPix; // Number of used pixels
|
---|
20 | TH1F fHistCorePix; // Number of core pixels
|
---|
21 |
|
---|
22 | TH1F fHistUsedArea; // Area of used pixels
|
---|
23 | TH1F fHistCoreArea; // Area of core pixels
|
---|
24 |
|
---|
25 | TH1F fHistConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
|
---|
26 | TH1F fHistConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
|
---|
27 |
|
---|
28 | Float_t fMm2Deg;
|
---|
29 | Bool_t fUseMmScale;
|
---|
30 |
|
---|
31 | public:
|
---|
32 | MHNewImagePar(const char *name=NULL, const char *title=NULL);
|
---|
33 |
|
---|
34 | Bool_t SetupFill(const MParList *plist);
|
---|
35 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
36 |
|
---|
37 | TH1 *GetHistByName(const TString name) const;
|
---|
38 | TObject *FindObject(const TObject *obj) const { return 0; }
|
---|
39 | TObject *FindObject(const char *name) const
|
---|
40 | {
|
---|
41 | return (TObject*)GetHistByName(name);
|
---|
42 | }
|
---|
43 |
|
---|
44 | TH1F &GetHistLeakage1() { return fHistLeakage1; }
|
---|
45 | TH1F &GetHistLeakage2() { return fHistLeakage2; }
|
---|
46 |
|
---|
47 | TH1F &GetHistUsedPix() { return fHistUsedPix; }
|
---|
48 | TH1F &GetHistCorePix() { return fHistCorePix; }
|
---|
49 |
|
---|
50 | TH1F &GetHistUsedArea() { return fHistUsedArea; }
|
---|
51 | TH1F &GetHistCoreArea() { return fHistCoreArea; }
|
---|
52 |
|
---|
53 | TH1F &GetHistConc() { return fHistConc; }
|
---|
54 | TH1F &GetHistConc1() { return fHistConc1; }
|
---|
55 |
|
---|
56 | void SetMmScale(Bool_t mmscale=kTRUE);
|
---|
57 | virtual void SetMm2Deg(Float_t mmdeg);
|
---|
58 |
|
---|
59 | void Draw(Option_t *opt="");
|
---|
60 | void Paint(Option_t *opt="");
|
---|
61 |
|
---|
62 | ClassDef(MHNewImagePar, 1) // Histograms of new image parameters
|
---|
63 | };
|
---|
64 |
|
---|
65 | #endif
|
---|
66 |
|
---|
67 |
|
---|