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

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