Changeset 3455 for trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h
- Timestamp:
- 03/10/04 16:50:25 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h
r3429 r3455 22 22 private: 23 23 24 static const Float_t gkAverageQE; // The average quantum efficieny agreed on for the first analysis 25 static const Float_t gkAverageQEErr; // The error of average quantum efficieny 26 27 static const Float_t fgConvFFactorRelErrLimit; // The limit for acceptance of the rel. error of the conversion factor with the FFactor method 28 29 Float_t fAverageQE; // The average quantum efficieny (see Class description) 30 Float_t fAverageQEErr; // The error of the average quantum efficieny (see Class description) 31 32 Float_t fConvFFactorRelErrLimit; // The limit for acceptance of the rel. error of the conversion factor with the FFactor method 33 24 34 Int_t fNumPixels; 25 35 TClonesArray *fPixels; //-> Array of MCalibrationPix with fit results … … 45 55 Byte_t fFlags; 46 56 47 enum { kBlindPixelMethodValid, kPINDiodeMethodValid, kCombinedMethodValid }; 57 enum { kFFactorMethodValid, kBlindPixelMethodValid, kPINDiodeMethodValid, kCombinedMethodValid }; 58 59 Float_t fMeanFluxPhesInnerPixel; // The mean number of photo-electrons in an INNER PIXEL 60 Float_t fMeanFluxPhesInnerPixelErr; // The uncertainty about the number of photo-electrons INNER PIXEL 61 Float_t fMeanFluxPhesOuterPixel; // The mean number of photo-electrons in an INNER PIXEL 62 Float_t fMeanFluxPhesOuterPixelErr; // The uncertainty about the number of photo-electrons INNER PIXEL 63 64 Float_t fMeanFluxPhotonsInnerPixel; // The mean number of photo-electrons in an INNER PIXEL 65 Float_t fMeanFluxPhotonsInnerPixelErr; // The uncertainty about the number of photo-electrons INNER PIXEL 66 Float_t fMeanFluxPhotonsOuterPixel; // The mean number of photo-electrons in an INNER PIXEL 67 Float_t fMeanFluxPhotonsOuterPixelErr; // The uncertainty about the number of photo-electrons INNER PIXEL 48 68 49 69 public: … … 56 76 57 77 // Setters 78 void SetAverageQE( const Float_t qe= gkAverageQE, 79 const Float_t err=gkAverageQEErr) { fAverageQE = qe; 80 fAverageQEErr = err; } 81 void SetConvFFactorRelErrLimit( const Float_t f=fgConvFFactorRelErrLimit ) { fConvFFactorRelErrLimit = f; } 58 82 void SetNumPixelsExcluded( const UInt_t n ) { fNumExcludedPixels = n; } 59 83 void SetGeomCam( const MGeomCam *geom) { fGeomCam = geom; } … … 63 87 void SetBlindPixel( const MCalibrationChargeBlindPix *b ) { fBlindPixel = b; } 64 88 65 // Setters only for MC!!89 void SetFFactorMethodValid( const Bool_t b = kTRUE ); 66 90 void SetBlindPixelMethodValid( const Bool_t b = kTRUE ); 67 91 void SetPINDiodeMethodValid( const Bool_t b = kTRUE ); 68 92 69 93 // Getters 70 Int_t GetSize() const;71 UInt_t GetNumPixels() const { return fNumPixels; }94 Int_t GetSize() const; 95 UInt_t GetNumPixels() const { return fNumPixels; } 72 96 73 Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 74 Bool_t GetConversionFactorBlindPixel( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 75 Bool_t GetConversionFactorPINDiode( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 76 Bool_t GetConversionFactorCombined( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 97 Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 98 Bool_t GetConversionFactorBlindPixel( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 99 Bool_t GetConversionFactorPINDiode( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 100 Bool_t GetConversionFactorCombined( Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma ); 101 102 Float_t GetMeanFluxPhesInnerPixel() const { return fMeanFluxPhesInnerPixel; } 103 Float_t GetMeanFluxPhesInnerPixelErr() const { return fMeanFluxPhesInnerPixelErr; } 104 Float_t GetMeanFluxPhesOuterPixel() const { return fMeanFluxPhesOuterPixel; } 105 Float_t GetMeanFluxPhesOuterPixelErr() const { return fMeanFluxPhesOuterPixelErr; } 106 107 Float_t GetMeanFluxPhotonsInnerPixel() const { return fMeanFluxPhotonsInnerPixel; } 108 Float_t GetMeanFluxPhotonsInnerPixelErr() const { return fMeanFluxPhotonsInnerPixelErr; } 109 Float_t GetMeanFluxPhotonsOuterPixel() const { return fMeanFluxPhotonsOuterPixel; } 110 Float_t GetMeanFluxPhotonsOuterPixelErr() const { return fMeanFluxPhotonsOuterPixelErr; } 77 111 78 112 Bool_t IsBlindPixelMethodValid() const; … … 105 139 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const; 106 140 141 Bool_t CalcMeanFluxPhotonsFFactorMethod(); 142 107 143 void ApplyPINDiodeCalibration(); 108 144 void ApplyBlindPixelCalibration(); 145 void ApplyFFactorCalibration(); 109 146 110 147 ClassDef(MCalibrationChargeCam, 1) // Container for calibration information of the camera … … 112 149 113 150 #endif 114 115 116 117 118
Note:
See TracChangeset
for help on using the changeset viewer.