Print

Print


Commit in lcsim/sandbox/NickSinev/PixSim on MAIN
Silicon.java+2-21.2 -> 1.3
Correction to getDepletedDepth function. There was an error in the formula, however this function was never used for any simulatin. It's just convenience function.

lcsim/sandbox/NickSinev/PixSim
Silicon.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- Silicon.java	27 Mar 2008 20:44:23 -0000	1.2
+++ Silicon.java	18 May 2010 18:55:04 -0000	1.3
@@ -3,7 +3,7 @@
 
 /**
  * @author Sinev   U of Oregon; [log in to unmask] ; SLAC x2970
- * @version $Id: Silicon.java,v 1.2 2008/03/27 20:44:23 sinev Exp $
+ * @version $Id: Silicon.java,v 1.3 2010/05/18 18:55:04 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