14 #ifndef DD4HEP_DDEVE_EVENTCONTROL_H
15 #define DD4HEP_DDEVE_EVENTCONTROL_H
22 class TGPictureButton;
50 typedef std::pair<TGLabel*,TGLabel*>
Labels;
51 typedef std::pair<TGCompositeFrame*,Labels>
Line;
52 typedef std::vector<Line >
Lines;
TGCompositeFrame * m_dataFrame
virtual void OnNewEvent(EventHandler *handler)
EventConsumer overload: New consumer event data.
ClassDef(EventConsumer, 0)
virtual void OnFileOpen(EventHandler *handler)
EventConsumer overload: New event data file.
virtual void GotoEvent()
Goto a specified event.
virtual void OnBuild()
User callback to add elements to the control.
virtual void PreviousEvent()
Load the previous event.
Event handler base class. Interface to all DDEve I/O actions.
virtual void NextEvent()
Load the next event.
TGCompositeFrame * CreateFrame()
Create the frame for this control structure. Default: create horizontal frame.
std::vector< Line > Lines
std::pair< TGCompositeFrame *, Labels > Line
TGGroupFrame * m_eventGroup
Data frame.
EventControl(Display *disp, unsigned int width, unsigned int height)
Standard constructor.
TGCompositeFrame * m_numEvtFrame
std::pair< TGLabel *, TGLabel * > Labels
TGGroupFrame * m_dataGroup
Data frame.
class FrameControl FrameControl.h DDEve/FrameControl.h
Display * m_display
Refernece to the display object.
The main class of the DDEve display.
virtual bool Open()
Open a new event data file.
virtual ~EventControl()
Default destructor.