Class EBScalers

java.lang.Object
org.jlab.rec.eb.EBScalers

public class EBScalers extends Object
Deprecated.
Moved to decoding, see org.jlab.detector.decode.DaqScalers See https://logbooks.jlab.org/comment/14616 The EPICS equation for converting fcup scaler S to beam current I: I [nA] = (S [Hz] - offset ) / slope * attenuation; The (32 bit) 1 MHz DSC2 clock rolls over every ~35 minutes. We instead try to use the (48 bit) TI 4-ns timestamp, by storing the first timestamp in the run. Probably this will have to be done post-processing, e.g. in trains, where we can process the full run in one shot. FIXME: Use CCDB for GATEINVERTED, CLOCKFREQ, CRATE/SLOT/CHAN
Read the occaisonal scaler bank and store across events.
Author:
baltzell
  • Constructor Details

    • EBScalers

      public EBScalers()
      Deprecated.
  • Method Details

    • readScalers

      public EBScalers.Reading readScalers(DataEvent event, EBCCDBConstants ccdb)
      Deprecated.
      This returns the most recent available scaler info. If events are misordered, this is the scaler info with the most recent TI timestamp.