lcsim/src/org/lcsim/recon/cluster/analysis
diff -u -r1.4 -r1.5
--- ClusterMCPInfo.java 17 Feb 2006 17:11:36 -0000 1.4
+++ ClusterMCPInfo.java 27 Feb 2006 17:09:09 -0000 1.5
@@ -102,8 +102,8 @@
*/
public void FillInfo(Map<MCParticle,MCPClusterInfo> m)
{
- maxNhits = 0;
- maxErawContribution = 0.;
+ maxNhits = -1;
+ maxErawContribution = -1.;
nPrimary = 0;
nFragment = 0;
//
lcsim/src/org/lcsim/recon/cluster/analysis
diff -u -r1.4 -r1.5
--- MCPClusterInfo.java 17 Feb 2006 17:11:36 -0000 1.4
+++ MCPClusterInfo.java 27 Feb 2006 17:09:09 -0000 1.5
@@ -157,25 +157,25 @@
public int getNClusters()
{return NClusters;}
/**
- * Return the cluster with the maximum number of hits contributed by this particle
+ * Return the cluster with the maximum energy contributed by this particle
*/
public Cluster getMaxCluster()
{return MaxCluster;}
/**
* Return the raw energy contributed by this particle to the cluster with the
- * maximum number of hits contributed by this particle
+ * maximum energy contributed by this particle
*/
public double getMaxEraw()
{return MaxEraw;}
/**
* Return the corrected energy contributed by this particle to the cluster with the
- * maximum number of hits contributed by this particle
+ * maximum energy contributed by this particle
*/
public double getMaxEcorrected()
{return MaxEcorrected;}
/**
* Return the number of hits contributed by this particle to the cluster with the
- * maximum number of hits contributed by this particle
+ * maximum energy contributed by this particle
*/
public int getMaxNHits()
{return MaxNHits;}