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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

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

    • ADCs

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

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

    • EventMergerConstants

      public EventMergerConstants()
  • Method Details

    • getDouble

      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

      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

      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

      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

      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: