hps-java/src/main/java/org/lcsim/hps/users/mgraham
diff -u -r1.6 -r1.7
--- DataTrackerHitDriver.java 31 Aug 2012 01:27:14 -0000 1.6
+++ DataTrackerHitDriver.java 29 Sep 2012 00:23:12 -0000 1.7
@@ -146,6 +146,9 @@
// System.out.println("added " + processModules.size() + " modules");
}
+ // Create the sensor simulation.
+ CDFSiSensorSim stripSim = new CDFSiSensorSim();
+
// Create Strip clustering algorithm.
HPSNearestNeighborRMS stripClusteringAlgo = new HPSNearestNeighborRMS();
@@ -155,7 +158,7 @@
// hitMaker=new HPSFittedRawTrackerHitMaker(shaperFit);
// Create the clusterers and set hit-making parameters.
- stripClusterer = new HPSStripMaker(stripClusteringAlgo);
+ stripClusterer = new HPSStripMaker(stripSim,stripClusteringAlgo);
stripClusterer.setMaxClusterSize(clusterMaxSize);
stripClusterer.setCentralStripAveragingThreshold(clusterCentralStripAveragingThreshold);