Changeset 7185


Ignore:
Timestamp:
07/13/05 16:37:28 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r7178 r7185  
    178178    // Now fit a gaus in the on region on top of the polynom
    179179    fFunc->SetParameter(0, A);
    180     fFunc->SetParameter(2, fSignalFunc==kGauss ? sigmax*0.75 : sigmax);
     180    fFunc->SetParameter(2, sigmax*0.75);
    181181
    182182    // options : N  do not store the function, do not draw
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h

    r7169 r7185  
    135135            break;
    136136        case kThetaSq:
    137             fFunc=new TF1 ("", Form("[0]*exp(-((sqrt(x)-[1])/[2])^2) + pol%d(3)", fPolynomOrder));
     137            fFunc=new TF1 ("", Form("[0]*exp(-0.5*((sqrt(x)-[1])/[2])^2) + pol%d(3)", fPolynomOrder));
    138138            break;
    139139        }
Note: See TracChangeset for help on using the changeset viewer.