Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
TrackerReconDriver.java | +6 | -1 | 1.30 -> 1.31 |
-Use HPSSeedTracker to increase flexibility. - Add simple set switch to remove multiple scattering from the seed tracker. This works for XPlanes now ( since those describe the HPS tracker geometry) but should perhaps be generalized. Default settings should make no difference for the user compared to previous version.
diff -u -r1.30 -r1.31 --- TrackerReconDriver.java 25 Nov 2012 21:55:12 -0000 1.30 +++ TrackerReconDriver.java 26 Nov 2012 03:21:07 -0000 1.31 @@ -47,6 +47,8 @@
private String trackCollectionName = "MatchedTracks"; // HelicalTrackHit input collection. private String stInputCollectionName = "RotatedHelicalTrackHits";
+ // Include MS (done by removing XPlanes from the material manager results) + private boolean includeMS = true;
public TrackerReconDriver() { }
@@ -73,6 +75,9 @@
this.trackCollectionName = trackCollectionName; }
+ public void setIncludeMS(boolean incMS) { + this.includeMS = incMS; + }
/** * This is used to setup the Drivers after XML config.
@@ -107,7 +112,7 @@
strategyResource = "/org/lcsim/hps/recon/tracking/strategies/" + strategyResource; } List<SeedStrategy> sFinallist = StrategyXMLUtils.getStrategyListFromInputStream(this.getClass().getResourceAsStream(strategyResource));
- SeedTracker stFinal = new SeedTracker(sFinallist);
+ SeedTracker stFinal = new HPSSeedTracker(sFinallist,this.includeMS);
HPSTransformations hpstrans = new HPSTransformations(); stFinal.setMaterialManagerTransform(hpstrans.getTransform()); stFinal.setInputCollectionName(stInputCollectionName);
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