Commit in lcsim/src/org/lcsim/contrib/RobKutschke/TKNHits on MAIN
TKNClusterMakerDriverV1.java+8-41.1 -> 1.2
Modifications to clustering to correct for Lorentz drift.

lcsim/src/org/lcsim/contrib/RobKutschke/TKNHits
TKNClusterMakerDriverV1.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- TKNClusterMakerDriverV1.java	21 Nov 2007 22:55:46 -0000	1.1
+++ TKNClusterMakerDriverV1.java	11 Dec 2007 19:03:09 -0000	1.2
@@ -1,6 +1,7 @@
 package org.lcsim.contrib.RobKutschke.TKNHits;
 
 import java.util.List;
+import org.lcsim.contrib.SiStripSim.CDFSiSensorSim;
 
 import org.lcsim.util.Driver;
 
@@ -11,6 +12,7 @@
 import org.lcsim.contrib.SiStripSim.ClusterMaker;
 import org.lcsim.contrib.SiStripSim.Kpix;
 import org.lcsim.contrib.SiStripSim.ReadoutChip;
+import org.lcsim.contrib.SiStripSim.SiSensorSim;
 import org.lcsim.contrib.SiStripSim.StripClusterMaker;
 
 /**
@@ -18,10 +20,10 @@
  * Driver to run Tim's cluster maker code and add clusters (as TrackerHits) 
  * to the event.
  *
- *@author $Author: kutschke $
- *@version $Id: TKNClusterMakerDriverV1.java,v 1.1 2007/11/21 22:55:46 kutschke Exp $
+ *@author $Author: tknelson $
+ *@version $Id: TKNClusterMakerDriverV1.java,v 1.2 2007/12/11 19:03:09 tknelson Exp $
  *
- * Date $Date: 2007/11/21 22:55:46 $
+ * Date $Date: 2007/12/11 19:03:09 $
  *
  */
 
@@ -34,10 +36,12 @@
 
     // Object that can interpret raw data to return charge, noise etc.
     // Someday this will be (sub)detector dependent.
+    // Sensor simulation needed to calculate Lorentz correction.
     ReadoutChip readout = new Kpix();
+    SiSensorSim simulation = new CDFSiSensorSim();
 
     // Code to make clusters from Raw hits.
-    ClusterMaker cluster_maker = new StripClusterMaker(readout);
+    ClusterMaker cluster_maker = new StripClusterMaker(readout,simulation);
 
     /**
      * Constructor:
CVSspam 0.2.8