lcsim/src/org/lcsim/recon/tracking/seedtracker/ReconTracking
diff -u -r1.2 -r1.3
--- SiD02ReconHybridHitMaker.java 17 Oct 2008 18:20:42 -0000 1.2
+++ SiD02ReconHybridHitMaker.java 15 Nov 2008 02:51:43 -0000 1.3
@@ -41,6 +41,10 @@
* @param fullccd true if the FullCCDSimulation package is used for pixels
*/
public SiD02ReconHybridHitMaker(boolean fullccd) {
+ this(fullccd, null);
+ }
+
+ public SiD02ReconHybridHitMaker(boolean fullccd, String outputCollectionName) {
// Instantiate the driver that makes the HelicalTrackHits used by SeedTracker
HelicalTrackHitDriver hitdriver = new HelicalTrackHitDriver();
@@ -93,7 +97,9 @@
// Tell the HelicalTrackHitDriver to use the virtual segmentation hits
hitdriver.addCollection("NewTrackerHits", HitType.VirtualSegmentation);
-
+ if (outputCollectionName!=null){
+ hitdriver.OutputCollection(outputCollectionName);
+ }
// Now run the HelicalTrackHitDriver after we have made the hits using
// the FullCCDSimulation and virtual segmentation packages
add(hitdriver);