Commit in lcsim/src/org/lcsim/recon/vertexing/zvtop4 on MAIN
ZvTop.java+5-71.11 -> 1.12
Rest of HepRep changes.

lcsim/src/org/lcsim/recon/vertexing/zvtop4
ZvTop.java 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- ZvTop.java	2 Aug 2005 17:55:23 -0000	1.11
+++ ZvTop.java	10 Aug 2005 00:01:32 -0000	1.12
@@ -403,12 +403,12 @@
      * below a certain cut value.
      * They are assigned from a sorted set of maxima, so that the tracks are
      * always assigned to the vertex with the highest value of V(r), if possible
-     * @return 
+     * @return A List of Vertices
      */
     private List<ZvVertex> makeVertices() {
         List<ZvVertex> l = new ArrayList<ZvVertex>();
         Set<ZvTrack> unavailableTracks = new HashSet<ZvTrack>();
-        System.err.printf("found %d Candidates\n", _vertexCandidateList.size());^M
+        System.err.printf("found %d Candidates\n", _vertexCandidateList.size());
         for (Set<ZvMaximum> iCand : _vertexCandidateList) {
             for (ZvMaximum iMax : iCand) {
                 System.err.printf(iMax.getLocation().toString());
@@ -433,18 +433,16 @@
                 }
             }
             iVtx.setVtxTracks(iVtxTracks);
+            iVtx.setPosition()
             ZvFitStatus status = vtxFitter.doFit(iVtx);
             // TODO fit the vertex, make sure the tracks in the vertex
             // are below the chi2 cut, so that at any time only good tracks are in the
             // vertex
             if (! iVtx.getFitStatus().isOK()) {
                 System.err.printf("FitStatus is: %s\n", status);
-                continue;
-            }
-            else {
-                l.add(iVtx);
-                unavailableTracks.addAll(iVtx.getVtxTracks());
             }
+            l.add(iVtx);
+            unavailableTracks.addAll(iVtx.getVtxTracks());
         }
         return l;
     }
CVSspam 0.2.8