Changeset 8957 for trunk/MagicSoft/Mars/mtools/MChisqEval.cc
- Timestamp:
- 06/14/08 16:55:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtools/MChisqEval.cc
r8679 r8957 146 146 const Double_t y2 = fData1 ? fData1->GetValue() : 0; 147 147 148 const Double_t dy 149 const Double_t er r= fData1 ? y1*y2 : 1;148 const Double_t dy = y2-y1; 149 const Double_t er = fData1 ? y1*y2 : 1; 150 150 151 const Double_t w 151 const Double_t w = fWeight ? fWeight->GetVal() : 1; 152 152 153 fChisq += w*dy*dy/er r;153 fChisq += w*dy*dy/er; 154 154 fSumW += w; 155 155
Note:
See TracChangeset
for help on using the changeset viewer.