Changeset 2950 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/28/04 21:39:47 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc

    r2934 r2950  
    312312// 3) Decide if the LoGain Histogram is fitted or the HiGain Histogram
    313313// 4) Fit the histograms with a Gaussian
    314 // 5) In case of failure print out the fit results
     314// 5) In case of failure set the bit kFitted to false
    315315// 6) Retrieve the results and store them in this class
    316316// 7) Calculate the number of photo-electrons after the F-Factor method
     
    371371      *fLog << warn << "WARNING: Could not fit charges of pixel " << fPixId << endl;
    372372      //         
    373       // 5) In case of failure print out the fit results
    374       //
    375       //          fHist->PrintChargeFitResult();
     373      // 5) In case of failure set the bit kFitted to false
     374      //
    376375      CLRBIT(fFlags,kFitted);
    377376    }
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h

    r2932 r2950  
    6464          kBlindPixelMethodValid, kFFactorMethodValid, kPINDiodeMethodValid };
    6565 
    66   MHCalibrationPixel *fHist;                //! Pointer to the histograms performing the fits, etc. 
     66  MHCalibrationPixel *fHist;                // Pointer to the histograms performing the fits, etc. 
    6767
    6868  Bool_t CheckChargeFitValidity();
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r2938 r2950  
    331331{
    332332 
    333   fHChargeHiGain->Reset();
    334   fHTimeHiGain->Reset();
    335   fHChargeLoGain->Reset();
    336   fHTimeLoGain->Reset();
    337 
     333  Reset();
     334 
    338335  return kTRUE;
    339336}
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.h

    r2941 r2950  
    107107
    108108  // Getters
    109   const TH1F *GetHCharge() const           { return fHChargeHiGain;    }
    110 
    111109  const Double_t GetChargeMean()     const { return fChargeMean;    }
    112110  const Double_t GetChargeMeanErr()  const { return fChargeMeanErr; }
     
    129127  const Int_t    GetTimeNdf()         const { return fTimeNdf;       }   
    130128 
     129  const TH1F *GetHCharge()                  { return fHChargeHiGain;    }
     130  const TH1F *GetHCharge()            const { return fHChargeHiGain;    }
     131
    131132  const TH1F *GetHTime()                    { return fHTimeHiGain; }
    132133  const TH1F *GetHTime()              const { return fHTimeHiGain; }
Note: See TracChangeset for help on using the changeset viewer.