Package org.jlab.detector.examples
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPulse(DetectorDataDgtz data) voiddataEventAction(org.jlab.io.base.DataEvent event) voiddrawSectorLayer(DetectorType type, int sector, int layer) org.jlab.groot.data.H1FgetData(DetectorDataDgtz data) getPanel()static voidvoidprocessShape(DetectorShape2D shape) voidvoidvoid
-
Field Details
-
detectorNames
-
detectorSectors
-
detectorLayers
-
detectorBunch
-
-
Constructor Details
-
DaqPulsePlotter
public DaqPulsePlotter()
-
-
Method Details
-
updateDetectorView
public void updateDetectorView() -
dataEventAction
public void dataEventAction(org.jlab.io.base.DataEvent event) - Specified by:
dataEventActionin interfaceorg.jlab.io.task.IDataEventListener
-
getData
-
addPulse
-
timerUpdate
public void timerUpdate()- Specified by:
timerUpdatein interfaceorg.jlab.io.task.IDataEventListener
-
resetEventListener
public void resetEventListener()- Specified by:
resetEventListenerin interfaceorg.jlab.io.task.IDataEventListener
-
processShape
- Specified by:
processShapein interfaceDetectorListener
-
drawSectorLayer
-
getPanel
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
main
-