Changeset 2631 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 12/10/03 11:54:33 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCalibrationCalc.cc
r2628 r2631 313 313 else 314 314 mid = pixel.GetIdxMaxHiGainSample(); 315 316 315 317 316 MCalibrationPix &pix = (*fCalibrations)[pixid]; … … 391 390 { 392 391 392 393 393 *fLog << inf << endl; 394 394 *fLog << GetDescriptor() << " Cut Histogram Edges" << endl; -
trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc
r2627 r2631 439 439 val = (*this)[idx].GetRSigma(); 440 440 break; 441 case 15: 442 val = (*this)[idx].GetSigmaCharge()/(*this)[idx].GetCharge(); 443 break; 441 444 case 11: 442 445 val = (*this)[idx].GetPheFFactorMethod(); -
trunk/MagicSoft/Mars/manalysis/MCalibrationPix.cc
r2629 r2631 60 60 fPheFFactorMethod(-1.), 61 61 fConversionFFactorMethod(-1.), 62 fHiGainSaturation(kFALSE) 62 fHiGainSaturation(kFALSE), 63 fLoGainPedRms(4.) 63 64 { 64 65 … … 137 138 if ((fPed > 0.) && (fPedRms > 0.)) 138 139 { 139 140 fRSigma = (fSigmaCharge*fSigmaCharge) - (fPedRms*fPedRms); 140 141 if (fHiGainSaturation) 142 fRSigma = (fSigmaCharge*fSigmaCharge) - (fLoGainPedRms*fLoGainPedRms); 143 else 144 fRSigma = (fSigmaCharge*fSigmaCharge) - (fPedRms*fPedRms); 141 145 142 146 if (fRSigma > 0. ) -
trunk/MagicSoft/Mars/manalysis/MCalibrationPix.h
r2627 r2631 33 33 34 34 Bool_t fHiGainSaturation; // Is Lo-Gain used at all? 35 36 Float_t fLoGainPedRms; 35 37 36 38 MHCalibrationPixel *fHist; //! Pointer to the histograms performing the fits, etc. -
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r2627 r2631 57 57 // 58 58 MExtractSignal::MExtractSignal(const char *name, const char *title) 59 : fSaturationLimit(25 0),59 : fSaturationLimit(255), 60 60 fConversionHiLo(10.) 61 61 { … … 173 173 UInt_t max = pixel.GetMaxHiGainSample(); 174 174 175 if (max < fSaturationLimit) // take Hi Gain, no saturation175 if (max <= fSaturationLimit) // take Hi Gain, no saturation 176 176 { 177 177 sum = (float)pixel.GetSumHiGainSamples() - pedes*fNumHiGainSamples;
Note:
See TracChangeset
for help on using the changeset viewer.