source: trunk/MagicSoft/Mars/mhcalib/MHCalibrationTestCam.h@ 4964

Last change on this file since 4964 was 4950, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.9 KB
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
15class MHCalibrationTestCam : public MHCalibrationCam
16{
17
18private:
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
38public:
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
Note: See TracBrowser for help on using the repository browser.