source: trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.h@ 4680

Last change on this file since 4680 was 4658, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.4 KB
Line 
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
15class MGeomCam;
16class MHCalibrationTestCam : public MHCalibrationCam
17{
18
19private:
20
21 TArrayF fMeanMeanPhotPerArea;
22 TArrayF fRmsMeanPhotPerArea ;
23 TArrayF fMeanSigmaPhotPerArea;
24 TArrayF fRmsSigmaPhotPerArea ;
25
26 Bool_t ReInitHists(MParList *pList);
27 Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
28 Bool_t FinalizeHists();
29
30public:
31
32 MHCalibrationTestCam(const char *name=NULL, const char *title=NULL);
33 ~MHCalibrationTestCam() {}
34
35 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
36 void DrawPixelContent(Int_t idx) const;
37
38 const Float_t GetMeanMeanPhotPerArea ( const Int_t aidx ) const { return fMeanMeanPhotPerArea [aidx]; }
39 const Float_t GetMeanSigmaPhotPerArea ( const Int_t aidx ) const { return fMeanSigmaPhotPerArea [aidx]; }
40 const Float_t GetRmsMeanPhotPerArea ( const Int_t aidx ) const { return fRmsMeanPhotPerArea [aidx]; }
41 const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; }
42
43 void CalcAverageSigma();
44
45 ClassDef(MHCalibrationTestCam, 1) // Histogram class for Relative Time Camera Calibration
46};
47
48#endif
49
Note: See TracBrowser for help on using the repository browser.