Class DaqPulsePlotter

java.lang.Object
org.jlab.detector.examples.DaqPulsePlotter
All Implemented Interfaces:
ActionListener, EventListener, DetectorListener, org.jlab.io.task.IDataEventListener

public class DaqPulsePlotter extends Object implements org.jlab.io.task.IDataEventListener, DetectorListener, ActionListener
Author:
gavalian
  • Field Details

    • detectorNames

      public String[] detectorNames
    • detectorSectors

      public String[] detectorSectors
    • detectorLayers

      public String[] detectorLayers
    • detectorBunch

      public String[] detectorBunch
  • Constructor Details

    • DaqPulsePlotter

      public DaqPulsePlotter()
  • Method Details

    • updateDetectorView

      public void updateDetectorView()
    • dataEventAction

      public void dataEventAction(org.jlab.io.base.DataEvent event)
      Specified by:
      dataEventAction in interface org.jlab.io.task.IDataEventListener
    • getData

      public org.jlab.groot.data.H1F getData(DetectorDataDgtz data)
    • addPulse

      public void addPulse(DetectorDataDgtz data)
    • timerUpdate

      public void timerUpdate()
      Specified by:
      timerUpdate in interface org.jlab.io.task.IDataEventListener
    • resetEventListener

      public void resetEventListener()
      Specified by:
      resetEventListener in interface org.jlab.io.task.IDataEventListener
    • processShape

      public void processShape(DetectorShape2D shape)
      Specified by:
      processShape in interface DetectorListener
    • drawSectorLayer

      public void drawSectorLayer(DetectorType type, int sector, int layer)
    • getPanel

      public JPanel getPanel()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • main

      public static void main(String[] args)