Changeset 1092 in Sophya for trunk/SophyaLib/NTools/cimage.cc
- Timestamp:
- Jul 26, 2000, 3:15:52 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/cimage.cc
r490 r1092 5 5 // LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA 6 6 7 // $Id: cimage.cc,v 1. 5 1999-10-21 15:25:42ansari Exp $7 // $Id: cimage.cc,v 1.6 2000-07-26 13:15:29 ansari Exp $ 8 8 9 9 … … 723 723 // redimensionnement de l'histo pour avoir une bonne signification stat. 724 724 for(;;) { 725 floatmax1,max2;726 int imax1,imax2;725 r_8 max1,max2; 726 int_4 imax1,imax2; 727 727 rc = H.MaxiLocal(max1,imax1,max2,imax2); 728 728 float rap = 1.; … … 742 742 743 743 TRY { 744 xbmax = H.FitMax(2,0.5 f,deb-2);744 xbmax = H.FitMax(2,0.5,deb-2); 745 745 if(deb>1) cout<<"H.FitMax = "<<xbmax<<endl; 746 746 } CATCHALL { … … 750 750 751 751 TRY { 752 float sdroit = -2.; 753 H.EstimeWidthS(0.5f,sgbmax,sdroit); 754 if(sgbmax<=0.) sgbmax = H.FindWidth(0.5f,deb-2); 755 sgbmax /= 2.36; 752 r_8 sdroit = -2., dum=sgbmax; 753 H.EstimeWidthS(0.5,dum,sdroit); 754 if(dum<=0.) dum = H.FindWidth(0.5,deb-2); 755 dum /= 2.36; 756 sgbmax = dum; 756 757 if(deb>1) cout<<"H.FindWidth = "<<sgbmax<<" (droit="<<sdroit<<")"<<endl; 757 758 } CATCHALL {
Note:
See TracChangeset
for help on using the changeset viewer.