View Javadoc

1   package org.lcsim.recon.tracking.trfbase;
2   /** An Enumeration class for Pure Status
3    *
4    *@author Norman A. Graf
5    *@version 1.0
6    */
7   public class PureStat
8   {
9       String _stat;
10      
11      private PureStat(String stat)
12      {
13          _stat = stat;
14      }
15      
16      /** output
17       * @return String representation of this class
18       */
19      public String toString()
20      {
21          String className = getClass().getName();
22          int lastDot = className.lastIndexOf('.');
23          if(lastDot!=-1)className = className.substring(lastDot+1);
24          
25          return className+_stat;
26      }
27      
28      public final static PureStat AT = new PureStat("AT");
29      public final static PureStat ON = new PureStat("ON");
30      public final static PureStat INSIDE = new PureStat("INSIDE");
31      public final static PureStat OUTSIDE = new PureStat("OUTSIDE");
32      
33  }