Commit in lcsim/src/org/lcsim/recon/vertexing/pixsim on MAIN
Silicon.java+2-21.1 -> 1.2
correction of typo in function getDepletedDepth. It used wrong formula, but the function itself is never used in simulation, it is just convenience function.

lcsim/src/org/lcsim/recon/vertexing/pixsim
Silicon.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- Silicon.java	9 Dec 2008 23:36:34 -0000	1.1
+++ Silicon.java	18 May 2010 21:38:13 -0000	1.2
@@ -3,7 +3,7 @@
 
 /**
  * @author Sinev   U of Oregon; [log in to unmask] ; SLAC x2970
- * @version $Id: Silicon.java,v 1.1 2008/12/09 23:36:34 jeremy Exp $
+ * @version $Id: Silicon.java,v 1.2 2010/05/18 21:38:13 sinev Exp $
  */
 public class Silicon implements Medium
 {
@@ -236,7 +236,7 @@
 
     public double getDepletedDepth(double Vb, double dop)
     {
-     return Math.sqrt(2.*sieps*eps0*(0.3+Vb))/(echarge*dop);
+     return Math.sqrt((2.*sieps*eps0*(0.3+Vb))/(echarge*dop));
     }
 
     public double getDoppingForDepletion(double Vb,double xd)
CVSspam 0.2.8