hps-java/src/main/java/org/lcsim/hps/recon/tracking/apv25
diff -u -r1.4 -r1.5
--- HPSSiSensorReadout.java 12 Mar 2012 23:01:42 -0000 1.4
+++ HPSSiSensorReadout.java 27 Mar 2012 21:43:13 -0000 1.5
@@ -51,7 +51,7 @@
/**
*
* @author Omar Moreno <[log in to unmask]>
- * @version $Id: HPSSiSensorReadout.java,v 1.4 2012/03/12 23:01:42 omoreno Exp $
+ * @version $Id: HPSSiSensorReadout.java,v 1.5 2012/03/27 21:43:13 omoreno Exp $
*/
public class HPSSiSensorReadout extends Driver {
@@ -125,7 +125,7 @@
/**
* Constructor
*/
- public HPSSiSensorReadout(HPSDataProcessingModule datapm)
+ public HPSSiSensorReadout()
{
sensorToPipelineMap = new HashMap<Long, Map<Integer, APV25AnalogPipeline>>();
sensorToAnalogDataMap = new HashMap<Long, Map<Integer, double[]>>();
@@ -151,8 +151,9 @@
//
rtm = new HPSRTM(14);
- // Set the data processing module
- dpm = datapm;
+ // Instantiate the DPM
+ dpm = new HPSDataProcessingModule();
+ add(dpm);
// Instantiate trigger time queue
triggerQueue = new LinkedList<Integer>();