lcsim/src/org/lcsim/recon/cluster/nn
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;