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 |
|
---|
16 | class MGeomCam;
|
---|
17 | class MHCalibrationRelTimeCam : public MHCalibrationCam
|
---|
18 | {
|
---|
19 |
|
---|
20 | private:
|
---|
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 |
|
---|
25 | MArrayD fSumareahi ; //!
|
---|
26 | MArrayD fSumarealo ; //!
|
---|
27 | MArrayD fSumsectorhi; //!
|
---|
28 | MArrayD fSumsectorlo; //!
|
---|
29 | MArrayI fNumareahi ; //!
|
---|
30 | MArrayI fNumarealo ; //!
|
---|
31 | MArrayI fNumsectorhi; //!
|
---|
32 | MArrayI fNumsectorlo; //!
|
---|
33 |
|
---|
34 | UInt_t fReferencePixel; // The reference pixel for rel. times
|
---|
35 |
|
---|
36 | Bool_t ReInitHists(MParList *pList);
|
---|
37 | Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
|
---|
38 | Bool_t FinalizeHists();
|
---|
39 | void FinalizeBadPixels();
|
---|
40 |
|
---|
41 | public:
|
---|
42 |
|
---|
43 | MHCalibrationRelTimeCam(const char *name=NULL, const char *title=NULL);
|
---|
44 | ~MHCalibrationRelTimeCam() {}
|
---|
45 |
|
---|
46 | UInt_t GetReferencePixel() const { return fReferencePixel; }
|
---|
47 | void SetReferencePixel(const UInt_t i=fgReferencePixel) { fReferencePixel = i; }
|
---|
48 |
|
---|
49 |
|
---|
50 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
51 | void DrawPixelContent(Int_t idx) const;
|
---|
52 |
|
---|
53 | ClassDef(MHCalibrationRelTimeCam, 1) // Histogram class for Relative Time Camera Calibration
|
---|
54 | };
|
---|
55 |
|
---|
56 | #endif
|
---|
57 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.