Class DecoderBoardUtil

java.lang.Object
org.jlab.detector.helicity.SequenceUtil
org.jlab.detector.helicity.DecoderBoardUtil

public class DecoderBoardUtil extends SequenceUtil
Delay correction and integrity checking for the JLab helicity decoder board's HEL::decoder HIPO bank. NOTE: To avoid repetition, generic objects are used to support different types of HIPO banks.
Author:
baltzell
  • Field Details Link icon

  • Method Details Link icon

    • getWindowHelicity Link icon

      public int getWindowHelicity(Object bank, byte delayWindows)
      Window delay correction, for any pattern type.
      Parameters:
      bank - instance of HEL::decoder from the event of interest
      delayWindows - number of delay windows
      Returns:
      delay-corrected helicity for the event of interest
    • checkPatterns Link icon

      public boolean checkPatterns(Object bank)
      Parameters:
      bank - the HEL::decoder bank to check
      Returns:
      whether its pattern sequence looks good
    • checkHelicities Link icon

      public boolean checkHelicities(Object bank)
      Parameters:
      bank - the HEL::decoder bank to check
      Returns:
      whether its helicity sequence looks good
    • check Link icon

      public boolean check(Object bank)
      Run all available integrity checking on a HEL::decoder bank
      Parameters:
      bank - the HEL::decoder bank to check
      Returns:
      whether everything looks good
    • toString Link icon

      public static String toString(org.jlab.jnp.hipo4.data.Bank b)
      Get a string representation of a HEL::decoder bank for human consumption.
      Parameters:
      b - the HEL::decoder bank to stringify
      Returns: