1 package org.lcsim.recon.tracking.trffit;
2
3 /**
4 * Abstract base class FullFitter refits a track using all of its hits.
5 *
6 *@author Norman A. Graf
7 *@version 1.0
8 *
9 */
10 public abstract class FullFitter
11 {
12
13 // static methods
14
15 //
16
17 /**
18 *Return a String representation of the class' the type name.
19 *Included for completeness with the C++ version.
20 *
21 * @return A String representation of the class' the type name.
22 */
23 public static String typeName()
24 { return "FullFitter"; }
25
26 //
27
28 /**
29 *Return a String representation of the class' the type name.
30 *Included for completeness with the C++ version.
31 *
32 * @return A String representation of the class' the type name.
33 */
34 public static String staticType()
35 { return typeName(); }
36
37
38
39 //
40
41 /**
42 *Construct a default instance of this class.
43 *
44 */
45 public FullFitter()
46 {
47 }
48
49
50 //
51
52 /**
53 *Return the generic type.
54 * This is only needed at this level.
55 *Included for completeness with the C++ version.
56 *
57 * @return A String representation of the class' the type name.
58 */
59 public String genericType()
60 { return staticType(); }
61
62 //
63
64 /**
65 *Fit the specified track.
66 *
67 * @param trh The HTrack to fit.
68 * @return 0 if fit is successful.
69 */
70 public abstract int fit(HTrack trh);
71
72 }
73
74
75