Changeset 2950 for trunk/MagicSoft/Mars
- Timestamp:
- 01/28/04 21:39:47 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r2934 r2950 312 312 // 3) Decide if the LoGain Histogram is fitted or the HiGain Histogram 313 313 // 4) Fit the histograms with a Gaussian 314 // 5) In case of failure print out the fit results314 // 5) In case of failure set the bit kFitted to false 315 315 // 6) Retrieve the results and store them in this class 316 316 // 7) Calculate the number of photo-electrons after the F-Factor method … … 371 371 *fLog << warn << "WARNING: Could not fit charges of pixel " << fPixId << endl; 372 372 // 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 // 376 375 CLRBIT(fFlags,kFitted); 377 376 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h
r2932 r2950 64 64 kBlindPixelMethodValid, kFFactorMethodValid, kPINDiodeMethodValid }; 65 65 66 MHCalibrationPixel *fHist; // !Pointer to the histograms performing the fits, etc.66 MHCalibrationPixel *fHist; // Pointer to the histograms performing the fits, etc. 67 67 68 68 Bool_t CheckChargeFitValidity(); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r2938 r2950 331 331 { 332 332 333 fHChargeHiGain->Reset(); 334 fHTimeHiGain->Reset(); 335 fHChargeLoGain->Reset(); 336 fHTimeLoGain->Reset(); 337 333 Reset(); 334 338 335 return kTRUE; 339 336 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.h
r2941 r2950 107 107 108 108 // Getters 109 const TH1F *GetHCharge() const { return fHChargeHiGain; }110 111 109 const Double_t GetChargeMean() const { return fChargeMean; } 112 110 const Double_t GetChargeMeanErr() const { return fChargeMeanErr; } … … 129 127 const Int_t GetTimeNdf() const { return fTimeNdf; } 130 128 129 const TH1F *GetHCharge() { return fHChargeHiGain; } 130 const TH1F *GetHCharge() const { return fHChargeHiGain; } 131 131 132 const TH1F *GetHTime() { return fHTimeHiGain; } 132 133 const TH1F *GetHTime() const { return fHTimeHiGain; }
Note:
See TracChangeset
for help on using the changeset viewer.