Ignore:
Timestamp:
03/10/04 16:50:25 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h

    r3429 r3455  
    2222private:
    2323 
     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
    2434  Int_t fNumPixels;
    2535  TClonesArray *fPixels;                         //-> Array of MCalibrationPix with fit results
     
    4555  Byte_t  fFlags;
    4656
    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 
    4868 
    4969public:
     
    5676
    5777  // 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; }
    5882  void SetNumPixelsExcluded(  const UInt_t n )            {  fNumExcludedPixels = n; }
    5983  void SetGeomCam(  const MGeomCam *geom)                 {  fGeomCam = geom;        }
     
    6387  void SetBlindPixel( const MCalibrationChargeBlindPix *b ) {  fBlindPixel = b;      }
    6488
    65   // Setters only for MC!!
     89  void SetFFactorMethodValid(    const Bool_t b = kTRUE );
    6690  void SetBlindPixelMethodValid( const Bool_t b = kTRUE );
    6791  void SetPINDiodeMethodValid(   const Bool_t b = kTRUE ); 
    6892
    6993  // 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; }
    7296
    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;  }
    77111
    78112  Bool_t IsBlindPixelMethodValid()   const;
     
    105139  Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    106140
     141  Bool_t CalcMeanFluxPhotonsFFactorMethod(); 
     142
    107143  void   ApplyPINDiodeCalibration();
    108144  void   ApplyBlindPixelCalibration();
     145  void   ApplyFFactorCalibration();
    109146
    110147  ClassDef(MCalibrationChargeCam, 1)    // Container for calibration information of the camera
     
    112149
    113150#endif
    114 
    115 
    116 
    117 
    118 
Note: See TracChangeset for help on using the changeset viewer.