| Line | |
|---|
| 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 | TArrayF fMeanMeanPhotPerArea;
|
|---|
| 21 | TArrayF fRmsMeanPhotPerArea ;
|
|---|
| 22 | TArrayF fMeanSigmaPhotPerArea;
|
|---|
| 23 | TArrayF fRmsSigmaPhotPerArea ;
|
|---|
| 24 |
|
|---|
| 25 | Bool_t ReInitHists(MParList *pList);
|
|---|
| 26 | Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
|
|---|
| 27 | Bool_t FinalizeHists();
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 |
|
|---|
| 31 | MHCalibrationTestCam(const char *name=NULL, const char *title=NULL);
|
|---|
| 32 | ~MHCalibrationTestCam() {}
|
|---|
| 33 |
|
|---|
| 34 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
|---|
| 35 | void DrawPixelContent(Int_t idx) const;
|
|---|
| 36 |
|
|---|
| 37 | const Float_t GetMeanMeanPhotPerArea ( const Int_t aidx ) const { return fMeanMeanPhotPerArea [aidx]; }
|
|---|
| 38 | const Float_t GetMeanSigmaPhotPerArea ( const Int_t aidx ) const { return fMeanSigmaPhotPerArea [aidx]; }
|
|---|
| 39 | const Float_t GetRmsMeanPhotPerArea ( const Int_t aidx ) const { return fRmsMeanPhotPerArea [aidx]; }
|
|---|
| 40 | const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; }
|
|---|
| 41 |
|
|---|
| 42 | void CalcAverageSigma();
|
|---|
| 43 |
|
|---|
| 44 | ClassDef(MHCalibrationTestCam, 1) // Histogram class for Relative Time Camera Calibration
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | #endif
|
|---|
| 48 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.