1 | #ifndef MARS_MHCalibrationTestCam
|
---|
2 | #define MARS_MHCalibrationTestCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MHCalibrationCam
|
---|
5 | #include "MHCalibrationCam.h"
|
---|
6 | #endif
|
---|
7 | #ifndef ROOT_TArrayF
|
---|
8 | #include "TArrayF.h"
|
---|
9 | #endif
|
---|
10 | #ifndef ROOT_TArrayI
|
---|
11 | #include "TArrayI.h"
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | class MGeomCam;
|
---|
15 | class MHCalibrationTestCam : public MHCalibrationCam
|
---|
16 | {
|
---|
17 |
|
---|
18 | private:
|
---|
19 |
|
---|
20 | TArrayF fMeanMeanPhotPerArea;
|
---|
21 | TArrayF fRmsMeanPhotPerArea ;
|
---|
22 | TArrayF fMeanSigmaPhotPerArea;
|
---|
23 | TArrayF fRmsSigmaPhotPerArea ;
|
---|
24 |
|
---|
25 | TArrayI fNotInterpolateablePixels;
|
---|
26 |
|
---|
27 | Bool_t ReInitHists(MParList *pList);
|
---|
28 | Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
|
---|
29 | Bool_t FinalizeHists();
|
---|
30 |
|
---|
31 | public:
|
---|
32 |
|
---|
33 | MHCalibrationTestCam(const char *name=NULL, const char *title=NULL);
|
---|
34 | ~MHCalibrationTestCam() {}
|
---|
35 |
|
---|
36 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
37 | void DrawPixelContent(Int_t idx) const;
|
---|
38 |
|
---|
39 | const Float_t GetMeanMeanPhotPerArea ( const Int_t aidx ) const { return fMeanMeanPhotPerArea [aidx]; }
|
---|
40 | const Float_t GetMeanSigmaPhotPerArea ( const Int_t aidx ) const { return fMeanSigmaPhotPerArea [aidx]; }
|
---|
41 | const Float_t GetRmsMeanPhotPerArea ( const Int_t aidx ) const { return fRmsMeanPhotPerArea [aidx]; }
|
---|
42 | const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; }
|
---|
43 |
|
---|
44 | const TArrayI &GetNotInterpolateablePixels () const { return fNotInterpolateablePixels; }
|
---|
45 |
|
---|
46 | void CalcAverageSigma();
|
---|
47 |
|
---|
48 | ClassDef(MHCalibrationTestCam, 1) // Histogram class for Relative Time Camera Calibration
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
52 |
|
---|