1 | #ifndef MARS_MHCalibrationTestCam
|
---|
2 | #define MARS_MHCalibrationTestCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MHCalibrationCam
|
---|
5 | #include "MHCalibrationCam.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TArrayF
|
---|
9 | #include <TArrayF.h>
|
---|
10 | #endif
|
---|
11 | #ifndef ROOT_TArrayI
|
---|
12 | #include <TArrayI.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 |
|
---|
24 | static const TString gsHistName; //! Default Histogram names
|
---|
25 | static const TString gsHistTitle; //! Default Histogram titles
|
---|
26 | static const TString gsHistXTitle; //! Default Histogram x-axis titles
|
---|
27 | static const TString gsHistYTitle; //! Default Histogram y-axis titles
|
---|
28 |
|
---|
29 | TArrayF fMeanMeanPhotPerArea;
|
---|
30 | TArrayF fRmsMeanPhotPerArea ;
|
---|
31 | TArrayF fMeanSigmaPhotPerArea;
|
---|
32 | TArrayF fRmsSigmaPhotPerArea ;
|
---|
33 |
|
---|
34 | Bool_t ReInitHists(MParList *pList);
|
---|
35 | Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
|
---|
36 | Bool_t FinalizeHists();
|
---|
37 |
|
---|
38 | public:
|
---|
39 |
|
---|
40 | MHCalibrationTestCam(const char *name=NULL, const char *title=NULL);
|
---|
41 | ~MHCalibrationTestCam() {}
|
---|
42 |
|
---|
43 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
44 | void DrawPixelContent(Int_t idx) const;
|
---|
45 |
|
---|
46 | const Float_t GetMeanMeanPhotPerArea ( const Int_t aidx ) const { return fMeanMeanPhotPerArea [aidx]; }
|
---|
47 | const Float_t GetMeanSigmaPhotPerArea ( const Int_t aidx ) const { return fMeanSigmaPhotPerArea [aidx]; }
|
---|
48 | const Float_t GetRmsMeanPhotPerArea ( const Int_t aidx ) const { return fRmsMeanPhotPerArea [aidx]; }
|
---|
49 | const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; }
|
---|
50 |
|
---|
51 | void CalcAverageSigma();
|
---|
52 |
|
---|
53 | ClassDef(MHCalibrationTestCam, 1) // Histogram class for Relative Time Camera Calibration
|
---|
54 | };
|
---|
55 |
|
---|
56 | #endif
|
---|
57 |
|
---|