Print

Print


Commit in lcsim/src/org/lcsim/recon/cluster/nn on MAIN
NearestNeighborClusterDriver.java+16-21.3 -> 1.4
change method names and add javadoc

lcsim/src/org/lcsim/recon/cluster/nn
NearestNeighborClusterDriver.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- NearestNeighborClusterDriver.java	18 Oct 2005 18:53:53 -0000	1.3
+++ NearestNeighborClusterDriver.java	19 Oct 2005 12:23:00 -0000	1.4
@@ -15,7 +15,9 @@
 
 /**
  * A simple driver which applies a nearest neighbor clustering algorithm
- * to calorimeter cell collections contained in the event.
+ * to calorimeter cell collections contained in the event. By default all
+ * CalorimeterHit collections are clustered and written to event with name
+ * (hit collection name)+"NNClusters"
  *
  * @author Norman A. Graf with additions of threshold code by Eric J. Benavidez ([log in to unmask])
  */
@@ -127,10 +129,22 @@
          }
       }
    }
-   public void setNameExt(String ext)
+  /**
+   * Set the extension of the hit collection name to use
+   * when writing the cluster collection to event
+   *
+   * @param   ext - the extension to add to the hit collection name
+   */
+   public void setClusterNameExtension(String ext)
    {
        _nameExt = ext;
    }
+  /**
+   * Set the names of the CalorimeterHit collections to cluster
+   *
+   * @param   names - an array of Strings containing the names of the
+   *                  hit collections to cluster
+   */
    public void setCollectionNames(String[] names)
    {
        _collNames = names;
CVSspam 0.2.8