Changeset 7185 for trunk/MagicSoft/Mars
- Timestamp:
- 07/13/05 16:37:28 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7178 r7185 178 178 // Now fit a gaus in the on region on top of the polynom 179 179 fFunc->SetParameter(0, A); 180 fFunc->SetParameter(2, fSignalFunc==kGauss ? sigmax*0.75 : sigmax);180 fFunc->SetParameter(2, sigmax*0.75); 181 181 182 182 // options : N do not store the function, do not draw -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r7169 r7185 135 135 break; 136 136 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)); 138 138 break; 139 139 }
Note:
See TracChangeset
for help on using the changeset viewer.