View Javadoc

1   package org.lcsim.recon.tracking.trflayer;
2   import org.lcsim.recon.tracking.trfbase.Cluster;
3   /**
4    * This abstract class inherits from ClusterFinder and extends that
5    * interface to include methods for adding and dropping clusters
6    * in an internally managed container.  The type of container is
7    * not specified here.
8    *
9    *@author Norman A. Graf
10   *@version 1.0
11   *
12   **/
13  public abstract class ClusterFindManager extends ClusterFinder
14  {
15      
16      // methods
17      
18      //
19      
20      /**
21       *constructor
22       *
23       */
24      public ClusterFindManager()
25      {
26      }
27      
28      //
29      /**
30       *Add a cluster.
31       * Return nonzero for error.
32       *
33       * @param   pclu Cluster to add
34       * @return 0 if success
35       */
36      public  abstract int addCluster( Cluster pclu);
37      
38      //
39      
40      /**
41       *Drop all clusters.
42       *
43       */
44      public abstract void dropClusters();
45      
46  }