1 package org.lcsim.recon.tracking.trflayer;
2 import org.lcsim.recon.tracking.trfbase.ETrack;
3 import org.lcsim.recon.tracking.trfbase.PropDir;
4 import org.lcsim.recon.tracking.trfbase.PropDirected;
5 import org.lcsim.recon.tracking.trfbase.PropStat;
6 import org.lcsim.recon.tracking.trfbase.Propagator;
7 import org.lcsim.recon.tracking.trfbase.Surface;
8 import org.lcsim.recon.tracking.trfbase.TrackDerivative;
9 import org.lcsim.recon.tracking.trfbase.VTrack;
10 public class PropTest extends PropDirected
11 {
12
13
14 public static String typeName()
15 { return "PropTest"; }
16
17 public static String get_static_type()
18 { return typeName(); }
19
20 public String toString()
21 {return "PropTest"; }
22
23
24
25 public String get_type()
26 { return get_static_type(); }
27
28 public PropStat
29 vecDirProp(VTrack trv, Surface srf, PropDir dir,
30 TrackDerivative pder)
31 {
32 PropStat pstat = new PropStat();
33 pstat.setPathDistance(1.);
34 return pstat;
35 }
36 public PropStat
37 vecDirProp(VTrack trv, Surface srf, PropDir dir)
38 {
39 TrackDerivative pder = null;
40 return vecDirProp(trv, srf, dir, pder);
41 }
42
43
44 public PropStat
45 errDirProp(ETrack tre, Surface srf, PropDir dir,
46 TrackDerivative pder)
47 {
48 PropStat pstat = new PropStat();
49 pstat.setPathDistance(1.);
50 return pstat;
51 }
52 public PropStat
53 errDirProp(ETrack tre, Surface srf, PropDir dir)
54 {
55 TrackDerivative pder = null;
56 return errDirProp(tre, srf, dir, pder);
57 }
58
59 public Propagator newPropagator()
60 { return new PropTest(); }
61 }