Changeset 3828 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 04/23/04 17:57:36 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r3827 r3828 133 133 // 134 134 // Return -1, if IsHiGainSaturation() 135 // Return -1, if the LoGain Mean is zero or -1. (has not yet been set)135 // Return -1, if the LoGain Mean is smaller than 0.5 136 136 // Return -1, if the HiGain Mean is -1. (has not yet been set) 137 137 // Return fHiGainMean / fLoGainMean … … 143 143 return -1.; 144 144 145 if ( (fLoGainMean == 0.) || (fLoGainMean == -1.))145 if (fLoGainMean <= 0.5) 146 146 return -1.; 147 147 … … 156 156 // 157 157 // Return -1, if IsHiGainSaturation() 158 // Return -1, if the LoGain Mean or its variance is zero or -1.(has not yet been set)158 // Return -1, if the LoGain Mean or its variance is smaller than 0.5 (has not yet been set) 159 159 // Return -1, if the HiGain Mean or its variance is -1. (has not yet been set) 160 160 // Return propagated error of GetHiLoMeansDivided() … … 166 166 return -1.; 167 167 168 if ( (fLoGainMean == 0.) || (fLoGainMean == -1.))168 if (fLoGainMean <= 0.5) 169 169 return -1.; 170 170 … … 189 189 // 190 190 // Return -1, if IsHiGainSaturation() 191 // Return -1, if the LoGain Sigma is zero or -1. (has not yet been set)191 // Return -1, if the LoGain Sigma is smaller than 0.01 192 192 // Return -1, if the HiGain Sigma is -1. (has not yet been set) 193 193 // Return fHiGainSigma / fLoGainSigma … … 199 199 return -1.; 200 200 201 if ( (fLoGainSigma == 0.) || (fLoGainSigma == -1.))201 if (fLoGainSigma <= 0.01) 202 202 return -1.; 203 203 … … 212 212 // 213 213 // Return -1, if IsHiGainSaturation() 214 // Return -1, if the LoGain Sigma or its variance is zero or -1. (has not yet been set) 214 // Return -1, if the LoGain Sigma variance is smaller than 0. 215 // Return -1, if the LoGain Sigma is smaller than 0.01 215 216 // Return -1, if the HiGain Sigma or its variance is -1. (has not yet been set) 216 217 // Return propagated error of GetHiLoSigmasDivided() … … 222 223 return -1.; 223 224 224 if ( (fLoGainSigma == 0.) || (fLoGainSigma == -1.))225 if (fLoGainSigma <= 0.01) 225 226 return -1.; 226 227
Note:
See TracChangeset
for help on using the changeset viewer.