Changeset 1092 in Sophya for trunk/SophyaLib/NTools/cimage.cc


Ignore:
Timestamp:
Jul 26, 2000, 3:15:52 PM (25 years ago)
Author:
ansari
Message:

Histos/Hprof/Histo2D en r_8 cmv 26/7/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/cimage.cc

    r490 r1092  
    55// LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA
    66
    7 // $Id: cimage.cc,v 1.5 1999-10-21 15:25:42 ansari Exp $       
     7// $Id: cimage.cc,v 1.6 2000-07-26 13:15:29 ansari Exp $       
    88
    99
     
    723723// redimensionnement de l'histo pour avoir une bonne signification stat.
    724724for(;;) {
    725   float max1,max2;
    726   int imax1,imax2;
     725  r_8 max1,max2;
     726  int_4 imax1,imax2;
    727727  rc = H.MaxiLocal(max1,imax1,max2,imax2);
    728728  float rap = 1.;
     
    742742
    743743TRY {
    744   xbmax = H.FitMax(2,0.5f,deb-2);
     744  xbmax = H.FitMax(2,0.5,deb-2);
    745745  if(deb>1) cout<<"H.FitMax = "<<xbmax<<endl;
    746746} CATCHALL {
     
    750750
    751751TRY {
    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;
    756757  if(deb>1) cout<<"H.FindWidth = "<<sgbmax<<" (droit="<<sdroit<<")"<<endl;
    757758} CATCHALL {
Note: See TracChangeset for help on using the changeset viewer.