1 package org.lcsim.recon.tracking.trfbase;
2
3
4
5
6
7 public class PropDir
8 {
9 private String _propdir;
10
11
12
13 private PropDir( String propdir)
14 {
15 _propdir = propdir;
16 }
17
18
19
20
21 public String toString()
22 {
23 String className = getClass().getName();
24 int lastDot = className.lastIndexOf('.');
25 if(lastDot!=-1)className = className.substring(lastDot+1);
26
27 return className+_propdir;
28 }
29 public final static PropDir NEAREST = new PropDir("NEAREST");
30 public final static PropDir FORWARD = new PropDir("FORWARD");
31 public final static PropDir BACKWARD = new PropDir("BACKWARD");
32 public final static PropDir NEAREST_MOVE = new PropDir("NEAREST_MOVE");
33 public final static PropDir FORWARD_MOVE= new PropDir("FORWARD_MOVE");
34 public final static PropDir BACKWARD_MOVE = new PropDir("BACKWARD_MOVE");
35
36 }