lcsim/src/org/lcsim/contrib/seedtracker
diff -u -r1.6 -r1.7
--- MultipleScattering.java 23 May 2008 16:11:03 -0000 1.6
+++ MultipleScattering.java 27 May 2008 19:09:51 -0000 1.7
@@ -43,9 +43,10 @@
/**
* Calculate the multiple scattering errors for a given helix.
- * The Helix getPathMap is used to determine the x-y path length
+ * The Helix PathMap is used to determine the x-y path length
* from the DCA to the hits on the helix.
*
+ *
* @param helix HelicalTrackFit that we want the ms errors for
* @return map containing the MultipleScatter objects for each hit
*/
@@ -55,7 +56,7 @@
Map<HelicalTrackHit, MultipleScatter> msmap = new HashMap<HelicalTrackHit, MultipleScatter>();
// Retreive the x-y path lengths and calculate sin^2(theta) for this helix
- Map<HelicalTrackHit, Double> pathmap = helix.getPathMap();
+ Map<HelicalTrackHit, Double> pathmap = helix.PathMap();
double sth2 = Math.pow(helix.sth(), 2);
// Make sure all hits have x-y path lengths. Hits added since the last fit
@@ -127,7 +128,7 @@
// Find the largest path length to a hit
double smax = 0.;
- for (Map.Entry<HelicalTrackHit, Double> mapentry : helix.getPathMap().entrySet()) {
+ for (Map.Entry<HelicalTrackHit, Double> mapentry : helix.PathMap().entrySet()) {
smax = Math.max(smax, mapentry.getValue());
}