Ignore:
Timestamp:
05/19/04 17:34:29 (21 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/macros/plotOptimal.C

    r4056 r4103  
    8080 
    8181  // second loop to fill the histograms
     82  Float_t wopt,lopt,eopt;
    8283  while(ifun2 >> width)
    8384    {
     
    8889
    8990      cout << "Width: " << width << '\t' << "Length: " << length << '\t' << "Excess: " << excess << '\t' << "Significance: " << significance;
    90       if(significance==smax) cout << " *****";
     91      if(significance==smax)
     92        {
     93          cout << " *****";
     94          wopt=width;
     95          lopt=length;
     96          eopt=excess;
     97        }
     98           
    9199      cout << endl;
    92100
     
    99107      sig->SetBinContent(binx+1,biny+1,significance+.00001);   
    100108    }
     109  cout << "Maximal significance: " << smax << " (excess=" << eopt << ") for width="<<wopt<<", length=" << lopt << endl;
    101110
    102111  // plot
Note: See TracChangeset for help on using the changeset viewer.