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

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