Enum Class MLayer

java.lang.Object
java.lang.Enum<MLayer>
org.jlab.rec.cvt.measurement.MLayer
All Implemented Interfaces:
Serializable, Comparable<MLayer>, Constable

public enum MLayer extends Enum<MLayer>
Author:
devita
  • Enum Constant Details

    • UNDEFINED

      public static final MLayer UNDEFINED
    • TARGET

      public static final MLayer TARGET
    • SCHAMBER

      public static final MLayer SCHAMBER
    • SHIELD

      public static final MLayer SHIELD
    • INNERSVTCAGE

      public static final MLayer INNERSVTCAGE
    • SVTLAYER1

      public static final MLayer SVTLAYER1
    • SVTLAYER2

      public static final MLayer SVTLAYER2
    • SVTLAYER3

      public static final MLayer SVTLAYER3
    • SVTLAYER4

      public static final MLayer SVTLAYER4
    • SVTLAYER5

      public static final MLayer SVTLAYER5
    • SVTLAYER6

      public static final MLayer SVTLAYER6
    • OUTERSVTCAGE

      public static final MLayer OUTERSVTCAGE
    • BMTINNERTUBE

      public static final MLayer BMTINNERTUBE
    • BMTLAYER1

      public static final MLayer BMTLAYER1
    • BMTLAYER2

      public static final MLayer BMTLAYER2
    • BMTLAYER3

      public static final MLayer BMTLAYER3
    • BMTLAYER4

      public static final MLayer BMTLAYER4
    • BMTLAYER5

      public static final MLayer BMTLAYER5
    • BMTLAYER6

      public static final MLayer BMTLAYER6
    • BMTOUTERTUBE

      public static final MLayer BMTOUTERTUBE
    • COSMICPLANE

      public static final MLayer COSMICPLANE
  • Method Details

    • values

      public static MLayer[] 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 MLayer 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
    • getName

      public String getName()
    • getId

      public int getId()
    • getLayer

      public int getLayer()
    • getCVTLayer

      public int getCVTLayer()
    • getIndex

      public int getIndex()
    • getIndex

      public int getIndex(int hemisphere)
    • getId

      public static int getId(int index, int hemisphere)
    • getHemisphere

      public static int getHemisphere(int index)
    • getDetectorType

      public static org.jlab.detector.base.DetectorType getDetectorType(int layId)
    • getType

      public static MLayer getType(String name)
    • getType

      public static MLayer getType(Integer layId)
    • getType

      public static MLayer getType(org.jlab.detector.base.DetectorType type, int layer)