Changeset 2852 for trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
- Timestamp:
- 01/19/04 23:02:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r2765 r2852 62 62 TH2D* fOffvsSlope; //! 63 63 64 UInt_t fNumExcludedPixels; 65 64 66 public: 65 67 … … 78 80 79 81 void InitSize(const Int_t i); 82 83 // Setters 84 void SetColor(const CalibrationColor_t color) { fColor = color; } 85 void SetNumPixelsExcluded(const UInt_t n) { fNumExcludedPixels = n; } 86 87 // Getters 80 88 Int_t GetSize() const; 81 82 89 UInt_t GetNumPixels() const { return fNumPixels; } 83 90 84 Bool_t IsPixelUsed(Int_t idx) const;85 Bool_t IsPixelFitted(Int_t idx) const;86 87 MCalibrationPix &operator[](Int_t i);88 MCalibrationPix &operator[](Int_t i) const;89 90 Bool_t CheckBounds(Int_t i) const;91 92 void Print(Option_t *o="") const;93 94 void CutEdges();95 96 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;97 void DrawPixelContent(Int_t num) const;98 99 91 MCalibrationBlindPix *GetBlindPixel() const { return fBlindPixel; } 100 92 MCalibrationPINDiode *GetPINDiode() const { return fPINDiode; } 101 102 void SetColor(CalibrationColor_t color) { fColor = color; }103 93 104 94 Bool_t GetConversionFactorFFactor(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma); … … 107 97 Bool_t GetConversionFactorCombined(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma); 108 98 99 Bool_t IsPixelUsed(Int_t idx) const; 100 Bool_t IsPixelFitted(Int_t idx) const; 101 102 // Others 103 MCalibrationPix &operator[](Int_t i); 104 MCalibrationPix &operator[](Int_t i) const; 105 106 void CutEdges(); 107 Bool_t CheckBounds(Int_t i) const; 108 109 // Prints 110 void Print(Option_t *o="") const; 111 112 // Draws 113 void DrawPixelContent(Int_t num) const; 114 void DrawHiLoFits(); 115 116 // Others 117 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const; 118 109 119 Bool_t CalcNumPhotInsidePlexiglass(); 110 120 Bool_t CalcNumPhotOutsidePlexiglass(); 111 112 void DrawHiLoFits();113 121 114 122 ClassDef(MCalibrationCam, 1) // Storage Container for all calibration information of the camera
Note:
See TracChangeset
for help on using the changeset viewer.