Class Dsc2Scaler

java.lang.Object
org.jlab.detector.scalers.DaqScaler
org.jlab.detector.scalers.Dsc2Scaler

public class Dsc2Scaler extends DaqScaler
The DSC2 is a JLab-designed discriminator board with 2 thresholds, called TDC and TRG, with independent outputs, both gated and ungated, and corresponding VME-readable scalers. The CLAS12 DAQ uses this board to periodically readout run-integrated scalers like the Faraday cup and SLM, for the purposes of total beam-charge measurements, and that's what this class is geared towards.
Author:
baltzell
  • Field Details Link icon

  • Constructor Details Link icon

    • Dsc2Scaler Link icon

      public Dsc2Scaler()
    • Dsc2Scaler Link icon

      public Dsc2Scaler(org.jlab.jnp.hipo4.data.Bank bank, org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable, double seconds)
      Parameters:
      bank - RAW::scaler bank
      fcupTable - /runcontrol/fcup CCDB table
      slmTable - /runcontrol/slm CCDB table
      seconds - dwell time, provided in case the clock rolls over
    • Dsc2Scaler Link icon

      public Dsc2Scaler(org.jlab.jnp.hipo4.data.Bank bank, org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable, org.jlab.utils.groups.IndexedTable dscTable)
      Parameters:
      bank - RAW::scaler bank
      fcupTable - /runcontrol/fcup CCDB table
      slmTable - /runcontrol/slm CCDB table
      dscTable - /daq/config/scalers/dsc1 CCDB table
  • Method Details Link icon

    • calibrate Link icon

      protected final void calibrate(org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable, double seconds)
      During some run periods, the run-integrating DSC2 scaler's clock frequency was too large and rolls over during the run. So here we can pass in seconds (e.g. based on RCDB run start time) instead.
      Parameters:
      fcupTable - /runcontrol/fcup CCDB table
      slmTable - /runcontrol/slm CCDB table
      seconds -
    • read Link icon

      public final void read(org.jlab.jnp.hipo4.data.Bank bank)
      Parameters:
      bank -