Print

Print


Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN
SeedTracker.java+11-71.2 -> 1.3
Added constructor for backward compatability.

hps-java/src/main/java/org/lcsim/hps/recon/tracking
SeedTracker.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- SeedTracker.java	12 Jul 2013 20:55:17 -0000	1.2
+++ SeedTracker.java	12 Jul 2013 22:57:07 -0000	1.3
@@ -20,11 +20,17 @@
         super(strategylist);
     }
 
+    public SeedTracker(List<SeedStrategy> strategylist,boolean includeMS) {
+        super(strategylist);
+        initialize(strategylist, true, includeMS);
+    }
+
     public SeedTracker(List<SeedStrategy> strategylist,boolean useHPSMaterialManager, boolean includeMS) {
-            
-            // use base class constructor 
-        
-            super(strategylist);
+        super(strategylist);
+        initialize(strategylist, useHPSMaterialManager, includeMS);
+    }
+    
+    private void initialize(List<SeedStrategy> strategylist,boolean useHPSMaterialManager, boolean includeMS) {
             
             // Explicitly only replace the objects that might change to avoid getting the lcsim versions
             
@@ -40,9 +46,7 @@
             }
             //  Instantiate the helix finder since it depends on the material manager
             _finder = new SeedTrackFinder(_hitmanager, _helixfitter);
-            
-
-        }
+    } 
 
      /**
      * Set to enable debug output
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