Print

Print


Commit in GeomConverter/src/org/lcsim/detector/tracker/silicon on MAIN
SiSensorElectrodes.java+31.7 -> 1.8
SiStrips.java+61.10 -> 1.11
+9
2 modified files
Add method to SiSensorElectrodes / SiStrips to return capaictance of a given cell needed for computing noise.

GeomConverter/src/org/lcsim/detector/tracker/silicon
SiSensorElectrodes.java 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- SiSensorElectrodes.java	14 Oct 2007 06:13:10 -0000	1.7
+++ SiSensorElectrodes.java	16 Nov 2007 22:47:07 -0000	1.8
@@ -87,6 +87,9 @@
     // Location of given position within a cell
     public Hep3Vector getPositionInCell(Hep3Vector position);
     
+    // Capacitance of electrode
+    public double getCapacitance(int cell_id);
+    
     // Compute Gaussian-distributed charge on electrodes
     public SortedMap<Integer,Integer> computeElectrodeData(ChargeDistribution distribution);
 //    public SortedMap<Integer,Integer> computeElectrodeData(double charge, Hep3Vector position, ErrorEllipse2D distribution);

GeomConverter/src/org/lcsim/detector/tracker/silicon
SiStrips.java 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- SiStrips.java	14 Oct 2007 06:13:10 -0000	1.10
+++ SiStrips.java	16 Nov 2007 22:47:07 -0000	1.11
@@ -20,6 +20,7 @@
 import java.util.TreeMap;
 import java.util.Set;
 import java.util.HashSet;
+import org.lcsim.units.clhep.SystemOfUnits;
 
 /**
  *
@@ -207,6 +208,11 @@
         return new BasicHep3Vector(strip_number*_pitch-getStripOffset(),0.0,0.0);
     }
     
+    public double getCapacitance(int strip_number) // capacitance in pF
+    {
+        return 20.0;  // FIXME: hard wired for now
+    }
+    
     public SortedMap<Integer,Integer> computeElectrodeData(ChargeDistribution distribution)
     {
         SortedMap<Integer,Integer> electrode_data = new TreeMap<Integer,Integer>();
CVSspam 0.2.8