Changeset 3828 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/23/04 17:57:36 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3827 r3828  
    133133//
    134134// 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
    136136// Return -1, if the HiGain Mean is -1.         (has not yet been set)
    137137// Return fHiGainMean / fLoGainMean
     
    143143    return -1.;
    144144
    145   if ((fLoGainMean == 0.) || (fLoGainMean == -1.))
     145  if (fLoGainMean <= 0.5)
    146146    return -1.;
    147147
     
    156156//
    157157// 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)
    159159// Return -1, if the HiGain Mean or its variance is -1.         (has not yet been set)
    160160// Return propagated error of GetHiLoMeansDivided()
     
    166166    return -1.;
    167167
    168   if ((fLoGainMean == 0.) || (fLoGainMean == -1.))
     168  if (fLoGainMean <= 0.5)
    169169    return -1.;
    170170
     
    189189//
    190190// 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
    192192// Return -1, if the HiGain Sigma is -1.         (has not yet been set)
    193193// Return fHiGainSigma / fLoGainSigma
     
    199199    return -1.;
    200200
    201   if ((fLoGainSigma == 0.) || (fLoGainSigma == -1.))
     201  if (fLoGainSigma <= 0.01)
    202202    return -1.;
    203203
     
    212212//
    213213// 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
    215216// Return -1, if the HiGain Sigma or its variance is -1.         (has not yet been set)
    216217// Return propagated error of GetHiLoSigmasDivided()
     
    222223    return -1.;
    223224
    224   if ((fLoGainSigma == 0.) || (fLoGainSigma == -1.))
     225  if (fLoGainSigma <= 0.01)
    225226    return -1.;
    226227
Note: See TracChangeset for help on using the changeset viewer.