Changeset 3684
- Timestamp:
- 04/08/04 20:02:43 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r3683 r3684 659 659 // 660 660 // Calculate the total F-Factor with the formula: 661 // fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare / GetMeanSquare() ) * nphotons661 // fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare ) / GetMean() * sqrt( nphotons ) 662 662 // 663 663 // Calculate the error of the total F-Factor … … 678 678 } 679 679 680 fMeanFFactorFADC2Phot = TMath::Sqrt(fRSigmaSquare ) / GetMean() * nphotons;680 fMeanFFactorFADC2Phot = TMath::Sqrt(fRSigmaSquare * nphotons) / GetMean() ; 681 681 682 682 if (fMeanFFactorFADC2Phot < 0.) … … 688 688 const Float_t ffactorrelvar = 0.25 * fRSigmaSquareVar / ( fRSigmaSquare * fRSigmaSquare) 689 689 + GetMeanRelVar() 690 + nphotonsrelvar;690 + 0.25 * nphotonsrelvar; 691 691 692 692 fMeanFFactorFADC2PhotVar = ffactorrelvar * fMeanFFactorFADC2Phot * fMeanFFactorFADC2Phot;
Note:
See TracChangeset
for help on using the changeset viewer.