Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking/apv25 on MAIN
SvtReadout.java+8-51.9 -> 1.10
Fixed bug which kept user from specifying which SimTrackerHit collection should be used by SimTrackerHitReadoutDriver

hps-java/src/main/java/org/lcsim/hps/recon/tracking/apv25
SvtReadout.java 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- SvtReadout.java	9 Nov 2012 01:43:06 -0000	1.9
+++ SvtReadout.java	19 Nov 2012 22:17:13 -0000	1.10
@@ -36,12 +36,13 @@
 /**
  * 
  * @author Omar Moreno <[log in to unmask]>
- * @version $Id: SvtReadout.java,v 1.9 2012/11/09 01:43:06 omoreno Exp $
+ * @version $Id: SvtReadout.java,v 1.10 2012/11/19 22:17:13 omoreno Exp $
  */
 public class SvtReadout extends Driver {
 
     private Set<SvtHalfModule> halfModules = new HashSet<SvtHalfModule>();
     private SiSensorSim siSimulation = new CDFSiSensorSim(); 
+    SimTrackerHitReadoutDriver readout = null;
     // FIFO queue used to store readout times
     private Queue<Double> fifo = new LinkedList<Double>();
     
@@ -69,10 +70,6 @@
      * Default Ctor
      */
     public SvtReadout(){
-    	// Load the driver which transfers SimTrackerHits to their 
-    	// corresponding sensor readout
-    	readouts.add(simTrackerHitCollectionName);
-    	add(new SimTrackerHitReadoutDriver(readouts));
     }
     
     /**
@@ -135,6 +132,12 @@
         		apv.setLatency(triggerLatencyTime);
         	}
         }
+        
+    	// Load the driver which transfers SimTrackerHits to their 
+    	// corresponding sensor readout
+        if(readout == null){
+        	add(new SimTrackerHitReadoutDriver(readouts));
+        }
     }
     
     /**
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1