Print

Print


Commit in GeomConverter/src/org/lcsim/detector/tracker/silicon on MAIN
SiStrips.java+10-101.4 -> 1.5
Removed some debug code

GeomConverter/src/org/lcsim/detector/tracker/silicon
SiStrips.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- SiStrips.java	7 May 2007 21:22:49 -0000	1.4
+++ SiStrips.java	7 May 2007 21:27:18 -0000	1.5
@@ -76,9 +76,9 @@
     
     private boolean isFloatingStrip(int sense_strip)
     {
-        System.out.println("    Sense strip: "+sense_strip);
-        System.out.println("    Remainder: "+Math.IEEEremainder(sense_strip,_floating_strips+1));
-        System.out.println("Math.IEEEremainder(sense_strip,_floating_strips+1) != 0: " + (Math.IEEEremainder(sense_strip,_floating_strips+1) != 0));
+//        System.out.println("    Sense strip: "+sense_strip);
+//        System.out.println("    Remainder: "+Math.IEEEremainder(sense_strip,_floating_strips+1));
+//        System.out.println("Math.IEEEremainder(sense_strip,_floating_strips+1) != 0: " + (Math.IEEEremainder(sense_strip,_floating_strips+1) != 0));
         return ( Math.IEEEremainder(sense_strip,_floating_strips+1) != 0 );
     }
     
@@ -261,38 +261,38 @@
     private void addChargeToSense(int sense_strip, int charge)
     {
         
-        System.out.println(" Adding charge to sense strip: "+sense_strip);
+//        System.out.println(" Adding charge to sense strip: "+sense_strip);
         
         if (!isFloatingStrip(sense_strip))
         {    
-            System.out.println(" Found central readout strip: "+sense_strip);
+//            System.out.println(" Found central readout strip: "+sense_strip);
             addChargeToReadout(senseIDToReadoutID(sense_strip),charge);
         }
         else
         {
             
-            System.out.println(" NOT central readout strip: "+sense_strip);
+//            System.out.println(" NOT central readout strip: "+sense_strip);
             
             int ileft = sense_strip-1;
             int charge_left = charge/2;
             while (isFloatingStrip(ileft))
             {
-                System.out.println(" NOT left readout strip: "+ileft);
+//                System.out.println(" NOT left readout strip: "+ileft);
                 charge_left *= (_capacitance_interstrip/_capacitance_total);
                 ileft--;
             }
-            System.out.println(" Found left readout strip: "+ileft);
+//            System.out.println(" Found left readout strip: "+ileft);
             addChargeToReadout(senseIDToReadoutID(ileft),charge_left);
             
             int iright = sense_strip+1;
             int charge_right = charge/2;
             while (isFloatingStrip(iright))
             {
-                System.out.println(" NOT right readout strip: "+iright);
+//                System.out.println(" NOT right readout strip: "+iright);
                 charge_right *= (_capacitance_interstrip/_capacitance_total);
                 iright++;
             }
-            System.out.println(" Found right readout strip: "+iright);
+//            System.out.println(" Found right readout strip: "+iright);
             addChargeToReadout(senseIDToReadoutID(iright),charge_right);
         }
     }
CVSspam 0.2.8