Print

Print


Commit in lcsim/src/org/lcsim/recon/cluster/muonfinder on MAIN
MuonFinder.java+6-61.4 -> 1.5
modify debug line

lcsim/src/org/lcsim/recon/cluster/muonfinder
MuonFinder.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- MuonFinder.java	19 Dec 2008 21:08:20 -0000	1.4
+++ MuonFinder.java	4 Feb 2009 17:46:41 -0000	1.5
@@ -40,7 +40,7 @@
  * it is required to find good quality mip cluster in muon detector.
  *
  * @author [log in to unmask]
- * @version $Id: MuonFinder.java,v 1.4 2008/12/19 21:08:20 tjkim Exp $
+ * @version $Id: MuonFinder.java,v 1.5 2009/02/04 17:46:41 tjkim Exp $
  */
 
 public class MuonFinder extends Driver{
@@ -277,14 +277,14 @@
                     //find best matched track
                     //compare the combination of three directions
                     if( cos > bestmatch ) { 
-                        if(_debug){
-                            System.out.println("cos0= " + cos0 + " cos1= " + cos1 + " cos2= " + cos2);
-                            System.out.println("average cos= " + cos);
-                        }
                         bestmatch = cos;
                         bestTrack = tr;
                         bestmipc = calmip;
-                        System.out.println("    DEBUG: This is possible MUON Track!");
+                        if(_debug){
+                            System.out.println("cos0= " + cos0 + " cos1= " + cos1 + " cos2= " + cos2);
+                            System.out.println("average cos= " + cos);
+                            System.out.println("    DEBUG: This is possible MUON Track!");
+                        }   
                     }else { if(_debug) System.out.println("    DEBUG: This is NOT possible muon Track!"); }
                 }
                 if(bestmatch > _bestmatch){
CVSspam 0.2.8