Class EventMergerConstants

java.lang.Object
org.jlab.analysis.eventmerger.EventMergerConstants

public class EventMergerConstants extends Object
Class organizing CCDB constants for background-merging purposes Includes TDC conversion factor, time jitter constants and DC readout parameters
Author:
devita
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final List<org.jlab.detector.base.DetectorType>
     
    static final List<org.jlab.detector.base.DetectorType>
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double
    getDouble(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item)
    Get double value for selected run number, detector and constant
    double
    getDouble(org.jlab.detector.base.DetectorType detector, EventMergerEnum key)
    Get double value for selected detector and constant (used for run-independent constants)
    int
    getInt(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item)
    Get integer value for selected run number, detector and constant
    int
    getInt(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item, int sector, int layer, int component)
    Get integer value for selected run number, detector component and constant
    int
    getInt(org.jlab.detector.base.DetectorType detector, EventMergerEnum key)
    Get double value for selected detector and constant (used for run-independent constants)

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • ADCs Link icon

      public static final List<org.jlab.detector.base.DetectorType> ADCs
    • TDCs Link icon

      public static final List<org.jlab.detector.base.DetectorType> TDCs
  • Constructor Details Link icon

    • EventMergerConstants Link icon

      public EventMergerConstants()
  • Method Details Link icon

    • getDouble Link icon

      public double getDouble(org.jlab.detector.base.DetectorType detector, EventMergerEnum key)
      Get double value for selected detector and constant (used for run-independent constants)
      Parameters:
      detector - : detector identifier
      key - : constant
      Returns:
    • getInt Link icon

      public int getInt(org.jlab.detector.base.DetectorType detector, EventMergerEnum key)
      Get double value for selected detector and constant (used for run-independent constants)
      Parameters:
      detector - : detector identifier
      key - : constant
      Returns:
    • getDouble Link icon

      public double getDouble(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item)
      Get double value for selected run number, detector and constant
      Parameters:
      run - : run number
      detector - : detector identifier
      item - : constant
      Returns:
    • getInt Link icon

      public int getInt(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item)
      Get integer value for selected run number, detector and constant
      Parameters:
      run - : run number
      detector - : detector identifier
      item - : constant
      Returns:
    • getInt Link icon

      public int getInt(int run, org.jlab.detector.base.DetectorType detector, EventMergerEnum item, int sector, int layer, int component)
      Get integer value for selected run number, detector component and constant
      Parameters:
      run - : run number
      detector - : detector identifier
      item - : constant
      sector -
      layer -
      component -
      Returns: