source: trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.h@ 7069

Last change on this file since 7069 was 6772, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.3 KB
Line 
1#ifndef MARS_MHCalibrationHiLoCam
2#define MARS_MHCalibrationHiLoCam
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 TH1F;
17
18class MGeomCam;
19class MArrivalTimeCam;
20class MHCalibrationHiLoCam : public MHCalibrationCam
21{
22
23private:
24
25 static const Int_t fgNbins; //! Default number of bins (now set to: 900 )
26 static const Axis_t fgFirst; //! Default lower histogram limit (now set to: -13.5 )
27 static const Axis_t fgLast; //! Default upper histogram limit (now set to: 13.5 )
28 static const Float_t fgProbLimit; //! The default for fProbLimit (now set to: 0.0)
29
30 static const TString gsHistName; //! Default Histogram names
31 static const TString gsHistTitle; //! Default Histogram titles
32 static const TString gsHistXTitle; //! Default Histogram x-axis titles
33 static const TString gsHistYTitle; //! Default Histogram y-axis titles
34
35 MArrayD fSumareahi ; //
36 MArrayD fSumsectorhi; //
37 MArrayI fNumareahi ; //
38 MArrayI fNumsectorhi; //
39 MArrayD fSumarealo ; //
40 MArrayD fSumsectorlo; //
41 MArrayI fNumarealo ; //
42 MArrayI fNumsectorlo; //
43
44 MArrivalTimeCam *fArrTimes; //! Pointer to arrival times
45
46 Bool_t ReInitHists(MParList *pList);
47 Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
48 Bool_t FinalizeHists();
49 void FinalizeBadPixels();
50
51 void CheckOverflow( MHCalibrationPix &pix);
52
53public:
54
55 MHCalibrationHiLoCam(const char *name=NULL, const char *title=NULL);
56 ~MHCalibrationHiLoCam() {}
57
58 // Clone
59 TObject *Clone(const char *name="") const;
60
61 // Draw
62 void Draw(const Option_t *opt); // *MENU*
63
64 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
65 void DrawPixelContent(Int_t idx) const;
66
67 ClassDef(MHCalibrationHiLoCam, 1) // Histogram class for High Gain vs. Low Gain Calibration
68};
69
70#endif
Note: See TracBrowser for help on using the repository browser.