dirty fix of skewedGaussian evaluation for musrview

This commit is contained in:
nemu
2008-05-29 05:40:33 +00:00
parent e3a88f2d5a
commit b4c70d2d4e
2 changed files with 14 additions and 11 deletions

View File

@ -851,8 +851,9 @@ bool PRunAsymmetry::PrepareViewData(PRawRunData* runData, unsigned int histoNo[2
for (unsigned int i=0; i<size; i++) {
time = startTime + (double)i*fTimeResolution;
value = fTheory->Func(time, par, fFuncValues);
if (value > 1.0e2)
if (value > 10.0) { // dirty hack needs to be fixed!!
value = 0.0;
}
fData.fTheory.push_back(value);
}