Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking/apv25 on MAIN | |||
SvtReadout.java | +10 | -2 | 1.8 -> 1.9 |
Allow a user to specify SimTrackerHit collection name
diff -u -r1.8 -r1.9 --- SvtReadout.java 21 Sep 2012 21:08:01 -0000 1.8 +++ SvtReadout.java 9 Nov 2012 01:43:06 -0000 1.9 @@ -36,7 +36,7 @@
/** * * @author Omar Moreno <[log in to unmask]>
- * @version $Id: SvtReadout.java,v 1.8 2012/09/21 21:08:01 meeg Exp $
+ * @version $Id: SvtReadout.java,v 1.9 2012/11/09 01:43:06 omoreno Exp $
*/ public class SvtReadout extends Driver {
@@ -63,6 +63,7 @@
// Collection Names String apv25AnalogDataCollectioName = "APV25AnalogData";
+ String simTrackerHitCollectionName = "TrackerHits";
/** * Default Ctor
@@ -70,7 +71,7 @@
public SvtReadout(){ // Load the driver which transfers SimTrackerHits to their // corresponding sensor readout
- readouts.add("TrackerHits");
+ readouts.add(simTrackerHitCollectionName);
add(new SimTrackerHitReadoutDriver(readouts)); }
@@ -110,6 +111,13 @@
} /**
+ * Set the SimTrackerHit collection name + */ + public void setSimTrackerHitCollectionName(String simTrackerHitCollectionName){ + this.simTrackerHitCollectionName = simTrackerHitCollectionName; + } + + /**
* */ @Override
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