View Javadoc

1   package org.lcsim.recon.tracking.trflayer;
2   // Dummy cluster finder.
3   import java.util.*;
4   import org.lcsim.recon.tracking.trfbase.ETrack;
5   import org.lcsim.recon.tracking.trfbase.SurfTest;
6   import org.lcsim.recon.tracking.trfbase.Surface;
7   import org.lcsim.recon.tracking.trflayer.ClusterFinder;
8   
9   public class ClusterFinderTest extends ClusterFinder
10  {
11      
12      // static methods
13      
14      // Return the type name.
15      public static String typeName()
16      { return "ClusterFinderTest"; }
17      
18      
19      // Return the type.
20      public static String staticType()
21      { return typeName(); }
22      
23      // attributes
24      
25      // surface
26      private SurfTest _srf;
27      
28      // methods
29      
30      // output stream
31      public String toString()
32      {return "Test cluster finder.";
33      }
34      
35      // constructor from surface parameter
36      public  ClusterFinderTest(double x)
37      {
38          _srf = new SurfTest(x) ;
39      }
40      
41      // Return the type.
42      public  String get_type()
43      { return staticType(); }
44      
45      // return the surface
46      public   Surface surface()
47      { return _srf; }
48      
49      // return the list of clusters associated with the surface
50      public  List clusters()
51      { return new ArrayList(); }
52      
53      // return the clusters near the specified track
54      public  List clusters( ETrack tre)
55      { return new ArrayList(); }
56      
57  }