Changeset 3712 for trunk


Ignore:
Timestamp:
04/13/04 11:21:32 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3711 r3712  
    2121
    2222   * mcalib/MCalibrationPix.[h,cc]
    23      add functions GetHiLoMeansDivided(), GetHiLoSigmasDivided() and
    24      errors
    25 
     23     - add functions GetHiLoMeansDivided(), GetHiLoSigmasDivided() and
     24       errors
     25
     26   * mcalib/MCalibrationChargeCam.[h,cc]
     27     - removed hi-vs.Lo histograms (come into a separate MIntensityCam)
     28     - updated GetPixelContents
     29     - updated class documentation
     30 
    2631
    2732 2004/04/13: Thomas Bretz
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h

    r3697 r3712  
    66#endif
    77
    8 class TH1D;
    9 class TH2D;
    10 
    118class MCalibrationChargeCam : public MCalibrationCam
    129{
    1310private:
    1411 
    15   TH1D* fOffsets;                    //! Histogram with Higain-vs-LoGain fit result Offsets
    16   TH1D* fSlopes;                     //! Histogram with Higain-vs-LoGain fit result Slopes
    17   TH2D* fOffvsSlope;                 //! Histogram with Higain-vs-LoGain fit result Offsets vs. Slopes
    18 
    1912  Byte_t  fFlags;                    // Bit-field to hold the flags
    2013
    2114  enum  { kFFactorMethodValid };
    2215
    23  
    2416public:
    2517
    2618  MCalibrationChargeCam(const char *name=NULL, const char *title=NULL);
    27   ~MCalibrationChargeCam();
    2819 
    2920  void   Clear ( Option_t *o="" );
    3021 
    3122  // Draws
    32 //  void DrawHiLoFits();
    3323  void   DrawPixelContent(Int_t num)   const;   
    3424
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc

    r3684 r3712  
    349349}
    350350
     351
     352
    351353// --------------------------------------------------------------------------
    352354//
     
    659661//
    660662// Calculate the total F-Factor with the formula:
    661 //   fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare ) / GetMean()  * sqrt( nphotons )
     663//   fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare ) / GetMean()  * sqrt(nphotons)
    662664//
    663665// Calculate the error of the total F-Factor
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc

    r3711 r3712  
    132132// --------------------------------------------------------------------------
    133133//
     134// Return -1, if IsHiGainSaturation()
    134135// Return -1, if the LoGain Mean is zero or -1. (has not yet been set)
    135136// Return -1, if the HiGain Mean is -1.         (has not yet been set)
     
    139140{
    140141 
     142  if (IsHiGainSaturation())
     143    return -1.;
     144
    141145  if (fLoGainMean == 0. || fLoGainMean == -1.)
    142146    return -1.;
     
    151155// ----------------------------------------------------------------------------------
    152156//
     157// Return -1, if IsHiGainSaturation()
    153158// Return -1, if the LoGain Mean or its variance is zero or -1. (has not yet been set)
    154159// Return -1, if the HiGain Mean or its variance is -1.         (has not yet been set)
     
    158163{
    159164 
     165  if (IsHiGainSaturation())
     166    return -1.;
     167
    160168  if (fLoGainMean == 0. || fLoGainMean == -1.)
    161169    return -1.;
     
    180188// --------------------------------------------------------------------------
    181189//
     190// Return -1, if IsHiGainSaturation()
    182191// Return -1, if the LoGain Sigma is zero or -1. (has not yet been set)
    183192// Return -1, if the HiGain Sigma is -1.         (has not yet been set)
     
    187196{
    188197 
     198  if (IsHiGainSaturation())
     199    return -1.;
     200
    189201  if (fLoGainSigma == 0. || fLoGainSigma == -1.)
    190202    return -1.;
     
    199211// ----------------------------------------------------------------------------------
    200212//
     213// Return -1, if IsHiGainSaturation()
    201214// Return -1, if the LoGain Sigma or its variance is zero or -1. (has not yet been set)
    202215// Return -1, if the HiGain Sigma or its variance is -1.         (has not yet been set)
     
    206219{
    207220 
     221  if (IsHiGainSaturation())
     222    return -1.;
     223
    208224  if (fLoGainSigma == 0. || fLoGainSigma == -1.)
    209225    return -1.;
Note: See TracChangeset for help on using the changeset viewer.