1 | #ifndef MARS_MHCalibrationTestCam
|
---|
2 | #define MARS_MHCalibrationTestCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MHCalibrationCam
|
---|
5 | #include "MHCalibrationCam.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MArrayF
|
---|
9 | #include <MArrayF.h>
|
---|
10 | #endif
|
---|
11 | #ifndef MARS_MArrayI
|
---|
12 | #include <MArrayI.h>
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | class MHCalibrationTestCam : public MHCalibrationCam
|
---|
16 | {
|
---|
17 |
|
---|
18 | private:
|
---|
19 |
|
---|
20 | static const Int_t fgNbins; //! Default for fNBins (now set to: 2000 )
|
---|
21 | static const Axis_t fgFirst; //! Default for fFirst (now set to: -0.5 )
|
---|
22 | static const Axis_t fgLast; //! Default for fLast (now set to: 1999.5)
|
---|
23 | static const Float_t fgProbLimit; //! The default for fProbLimit (now set to: 0.0000001)
|
---|
24 |
|
---|
25 | static const TString gsHistName; //! Default Histogram names
|
---|
26 | static const TString gsHistTitle; //! Default Histogram titles
|
---|
27 | static const TString gsHistXTitle; //! Default Histogram x-axis titles
|
---|
28 | static const TString gsHistYTitle; //! Default Histogram y-axis titles
|
---|
29 |
|
---|
30 | MArrayF fMeanMeanPhotPerArea;
|
---|
31 | MArrayF fRmsMeanPhotPerArea ;
|
---|
32 | MArrayF fMeanSigmaPhotPerArea;
|
---|
33 | MArrayF fRmsSigmaPhotPerArea ;
|
---|
34 |
|
---|
35 | Bool_t ReInitHists(MParList *pList);
|
---|
36 | Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
|
---|
37 | Bool_t FinalizeHists();
|
---|
38 |
|
---|
39 | public:
|
---|
40 |
|
---|
41 | MHCalibrationTestCam(const char *name=NULL, const char *title=NULL);
|
---|
42 | ~MHCalibrationTestCam() {}
|
---|
43 |
|
---|
44 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
45 | void DrawPixelContent(Int_t idx) const;
|
---|
46 |
|
---|
47 | const Float_t GetMeanMeanPhotPerArea ( const Int_t aidx ) const { return fMeanMeanPhotPerArea [aidx]; }
|
---|
48 | const Float_t GetMeanSigmaPhotPerArea ( const Int_t aidx ) const { return fMeanSigmaPhotPerArea [aidx]; }
|
---|
49 | const Float_t GetRmsMeanPhotPerArea ( const Int_t aidx ) const { return fRmsMeanPhotPerArea [aidx]; }
|
---|
50 | const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; }
|
---|
51 |
|
---|
52 | void CalcAverageSigma();
|
---|
53 |
|
---|
54 | ClassDef(MHCalibrationTestCam, 1) // Histogram class for Relative Time Camera Calibration
|
---|
55 | };
|
---|
56 |
|
---|
57 | #endif
|
---|
58 |
|
---|