Enum Class RawOrder

java.lang.Object
java.lang.Enum<RawOrder>
org.jlab.rec.tof.hit.RawOrder
All Implemented Interfaces:
Serializable, Comparable<RawOrder>, Constable

public enum RawOrder extends Enum<RawOrder>
The order variable in raw banks encodes in two bits the information on the readout type (ADC/TDC) and readout side (for example left/right or upstream/downstream)
Author:
devita
  • Enum Constant Details

    • ADC1

      public static final RawOrder ADC1
    • ADC2

      public static final RawOrder ADC2
    • TDC1

      public static final RawOrder TDC1
    • TDC2

      public static final RawOrder TDC2
  • Method Details

    • values

      public static RawOrder[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RawOrder valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTypeId

      public int getTypeId()