1 #ifndef _WaveformDisplayWindowRUNWINDOW_H_
2 #define _WaveformDisplayWindowRUNWINDOW_H_
8 #include <TRootEmbeddedCanvas.h>
11 #include <TGNumberEntry.h>
15 #include <TApplication.h>
72 TGTab*
GetTab(std::pair<int,int> tabindex);
76 std::string
GetTabName(TGTab *tab,
int index = -1);
130 std::pair<int,int>
AddSingleTab(std::string name, TGTab * tab= 0,
int mainTabIndex = -1);
132 std::pair<int,int>
AddCanvas(std::string subtabname, std::string tabname=std::string(
""));
TGTextButton * fNextButton
std::pair< int, int > AddSingleTab(std::string name, TGTab *tab=0, int mainTabIndex=-1)
bool fProcessingFreeRunning
Is processing free-running? (offline)
std::string GetTabName(TGTab *tab, int index=-1)
TGTextButton * fNextInterestingButton
int fMainDisplayDefaultWidth
void SavePadButtonAction()
Method to call when 'save pad' button is pressed.
std::pair< int, int > GetCurrentTabIndex()
Return an pair<int> index for current tab/sub-tab;.
void NewTBrowserButtonAction()
TGTextButton * fPauseButton
TMainDisplayWindow(const TGWindow *p, UInt_t w, UInt_t h, bool isOffline, bool updatingBasedSeconds)
TGTextButton * fOpenNewTBrowser
std::pair< int, int > AddCanvas(std::string subtabname, std::string tabname=std::string(""))
bool IsDisplayFreeRunning()
TCanvas * GetCanvas(const char *name)
Get a particular canvas based on canvas name.
void SaveCanvasButtonAction()
Method to call when 'save canvas' button is pressed.
std::string GetCurrentTabName()
Return the canvas name for the current tab.
bool fProcessingPaused
Is processing paused? (online)
TGTab * GetSubTab(int index)
TGTextButton * GetQuitButton()
int fMainDisplayDefaultHeight
TRootEmbeddedCanvas * GetEmbeddedCanvas(const char *name)
TGTextButton * GetResetButton()
TGTextButton * GetNextButton()
TGTextButton * GetNextInterestingButton()
TRootEmbeddedCanvas * GetCurrentEmbeddedCanvas()
Return the current embedded canvas.
virtual ~TMainDisplayWindow()
int GetNumberSubTabs(int i)
void FreeRunningButtonAction()
Method to call when 'free-running/resume' button is pressed.
TGTextButton * fSavePadButton
Buttons to make plots of current pad/canvas.
TGCompositeFrame * GetCompositeFrame(std::pair< int, int > index)
TGHorizontalFrame * fHframe
TGTextButton * fFreeRunningButton
TGTextButton * fResetButton
TGNumberEntry * fNumberSkipEventButton
TGCompositeFrame * GetCurrentCompositeFrame()
TGNumberEntry * GetSkipEventButton()
void PauseResumeButtonAction()
Method to call when 'pause/resume' button is pressed.
TGTextButton * fSaveCanvasButton
TGTextButton * fQuitButton