source: trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h@ 4947

Last change on this file since 4947 was 4946, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MHCalibrationRelTimeCam
2#define MARS_MHCalibrationRelTimeCam
3
4#ifndef MARS_MHCalibrationCam
5#include "MHCalibrationCam.h"
6#endif
7
8#ifndef MARS_MArrayI
9#include "MArrayI.h"
10#endif
11
12#ifndef MARS_MArrayD
13#include "MArrayD.h"
14#endif
15
16class MGeomCam;
17class MHCalibrationRelTimeCam : public MHCalibrationCam
18{
19
20private:
21
22 static const Float_t fgNumHiGainSaturationLimit; //! The default for fNumHiGainSaturationLimit (now at: 0.25)
23 static const UInt_t fgReferencePixel; //! Default for fReferencePixel (now set to: 1)
24 static const Int_t fgRelTimeNbins; //! Default number of bins (now set to: 900 )
25 static const Axis_t fgRelTimeFirst; //! Default lower histogram limit (now set to: -13.5 )
26 static const Axis_t fgRelTimeLast; //! Default upper histogram limit (now set to: 13.5 )
27
28 MArrayD fSumareahi ; //!
29 MArrayD fSumarealo ; //!
30 MArrayD fSumsectorhi; //!
31 MArrayD fSumsectorlo; //!
32 MArrayI fNumareahi ; //!
33 MArrayI fNumarealo ; //!
34 MArrayI fNumsectorhi; //!
35 MArrayI fNumsectorlo; //!
36
37 UInt_t fReferencePixel; // The reference pixel for rel. times
38
39 Bool_t ReInitHists(MParList *pList);
40 Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
41 Bool_t FinalizeHists();
42 void FinalizeBadPixels();
43
44public:
45
46 MHCalibrationRelTimeCam(const char *name=NULL, const char *title=NULL);
47 ~MHCalibrationRelTimeCam() {}
48
49 UInt_t GetReferencePixel() const { return fReferencePixel; }
50
51 // Setters
52 void SetReferencePixel( const UInt_t i=fgReferencePixel) { fReferencePixel = i; }
53
54 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
55 void DrawPixelContent(Int_t idx) const;
56
57 ClassDef(MHCalibrationRelTimeCam, 1) // Histogram class for Relative Time Camera Calibration
58};
59
60#endif
61
Note: See TracBrowser for help on using the repository browser.