source: trunk/MagicSoft/Mars/mhcalib/MHCalibrationTestTimeCam.h@ 4940

Last change on this file since 4940 was 4940, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MHCalibrationTestTimeCam
2#define MARS_MHCalibrationTestTimeCam
3
4#ifndef MARS_MHCalibrationCam
5#include "MHCalibrationCam.h"
6#endif
7
8class MHCalibrationTestTimeCam : public MHCalibrationCam
9{
10
11private:
12
13 static const Int_t fgTestNbins; // Default for fTestNBins (now set to: 600 )
14 static const Axis_t fgTestFirst; // Default for fTestFirst (now set to: -0.5 )
15 static const Axis_t fgTestLast; // Default for fTestLast (now set to: 29.5)
16
17 Int_t fTestNbins; // Number of bins
18 Axis_t fTestFirst; // Lower histogram limit
19 Axis_t fTestLast; // Upper histogram limit
20
21 Bool_t ReInitHists(MParList *pList);
22 Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
23 Bool_t FinalizeHists();
24 void FinalizeBadPixels();
25
26public:
27
28 MHCalibrationTestTimeCam(const char *name=NULL, const char *title=NULL);
29 ~MHCalibrationTestTimeCam() {}
30
31 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
32 void DrawPixelContent(Int_t idx) const;
33
34 void CalcAverageSigma();
35
36 void SetTestNbins ( const Int_t i=fgTestNbins ) { fTestNbins = i; }
37 void SetTestFirst ( const Axis_t f=fgTestFirst ) { fTestFirst = f; }
38 void SetTestLast ( const Axis_t f=fgTestLast ) { fTestLast = f; }
39
40 ClassDef(MHCalibrationTestTimeCam, 0) // Histogram class for Relative Time Camera Calibration
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.