1 package org.lcsim.recon.tracking.trfbase;
2
3
4
5
6
7
8 public class BoundedStat
9 {
10 private String _stat;
11
12 private BoundedStat(String stat)
13 {
14 _stat = stat;
15 }
16
17
18
19
20 public String toString()
21 {
22 String className = getClass().getName();
23 int lastDot = className.lastIndexOf('.');
24 if(lastDot!=-1)className = className.substring(lastDot+1);
25
26 return className+" "+_stat;
27 }
28
29
30
31 public final static BoundedStat UNDEFINED_BOUNDS = new BoundedStat("UNDEFINED_BOUNDS");
32
33
34 public final static BoundedStat IN_BOUNDS = new BoundedStat("IN_BOUNDS");
35
36
37 public final static BoundedStat OUT_OF_BOUNDS = new BoundedStat("OUT_OF_BOUNDS");
38
39
40 public final static BoundedStat BOTH_BOUNDS = new BoundedStat("BOTH_BOUNDS");
41
42 }
43
44