Ignore:
Timestamp:
06/14/08 16:55:58 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtools/MChisqEval.cc

    r8679 r8957  
    146146    const Double_t y2 = fData1 ? fData1->GetValue() : 0;
    147147
    148     const Double_t dy  = y2-y1;
    149     const Double_t err = fData1 ? y1*y2 : 1;
     148    const Double_t dy = y2-y1;
     149    const Double_t er = fData1 ? y1*y2 : 1;
    150150
    151     const Double_t w   = fWeight ? fWeight->GetVal() : 1;
     151    const Double_t w  = fWeight ? fWeight->GetVal() : 1;
    152152
    153     fChisq += w*dy*dy/err;
     153    fChisq += w*dy*dy/er;
    154154    fSumW  += w;
    155155
Note: See TracChangeset for help on using the changeset viewer.