Changeset 3938
- Timestamp:
- 05/03/04 13:54:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r3937 r3938 72 72 using namespace std; 73 73 74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 6.;74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 15.; 75 75 // -------------------------------------------------------------------------- 76 76 // … … 80 80 // 81 81 // Initializes: 82 // - fRelTimeRelErrLimit to fgRelTimeRelErr Limit82 // - fRelTimeRelErrLimit to fgRelTimeRelErrimit 83 83 // 84 84 // Calls: … … 313 313 } 314 314 315 *fLog << err << areasum2[aidx] << " " << areasum[aidx] << " " << numareavalid[aidx] << endl; 316 315 317 // Calculate the rms out of sum2: 316 318 areasum2[aidx] = (areasum2[aidx] - areasum[aidx]*areasum[aidx]/numareavalid[aidx]); 319 areasum2[aidx] /= (numareavalid[aidx]-1.); 317 320 areasum [aidx] /= numareavalid[aidx]; 318 areasum2[aidx] /= (numareavalid[aidx]-1.);319 321 lowlim [aidx] = areasum [aidx] - fRelTimeRelErrLimit*areasum2[aidx]; 320 322 upplim [aidx] = areasum [aidx] + fRelTimeRelErrLimit*areasum2[aidx];
Note:
See TracChangeset
for help on using the changeset viewer.