Index: trunk/MagicSoft/Mars/mtemp/mifae/Changelog
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4102)
+++ trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4103)
@@ -19,4 +19,8 @@
                                                  -*-*- END OF LINE -*-*-
 	
+ 2004/05/18  Javier Rico
+   * macros/plotOptimal.C
+     - dump value of maximal significance and cuts
+
  2004/05/18  Javier Rico
    * library/MSrcPlace.[cc,h], library/MSrcRotate.[cc,h], 
Index: trunk/MagicSoft/Mars/mtemp/mifae/macros/plotOptimal.C
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/macros/plotOptimal.C	(revision 4102)
+++ trunk/MagicSoft/Mars/mtemp/mifae/macros/plotOptimal.C	(revision 4103)
@@ -80,4 +80,5 @@
   
   // second loop to fill the histograms
+  Float_t wopt,lopt,eopt;
   while(ifun2 >> width)
     {
@@ -88,5 +89,12 @@
 
       cout << "Width: " << width << '\t' << "Length: " << length << '\t' << "Excess: " << excess << '\t' << "Significance: " << significance;
-      if(significance==smax) cout << " *****";
+      if(significance==smax)
+	{
+	  cout << " *****";
+	  wopt=width;
+	  lopt=length;
+	  eopt=excess;
+	}
+	    
       cout << endl;
 
@@ -99,4 +107,5 @@
       sig->SetBinContent(binx+1,biny+1,significance+.00001);    
     }
+  cout << "Maximal significance: " << smax << " (excess=" << eopt << ") for width="<<wopt<<", length=" << lopt << endl;
 
   // plot
