LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
An event display window. More...
#include "DisplayWindow.h"
Public Member Functions | |
DisplayWindow (int window=0) | |
virtual | ~DisplayWindow () |
virtual void | Draw (const char *opt="") |
virtual void | CloseWindow () |
void | Raise () |
void | SetRunEvent (int run, int event) |
void | SetServices () |
Static Public Member Functions | |
static void | Register (const char *name, const char *description, unsigned int h, unsigned int w, CanvasCreator_t creator) |
static const std::vector< std::string > & | Names () |
static int | OpenWindow (int type=0) |
static void | SetRunEventAll (int run, int event) |
static void | SetServicesAll () |
static void | DrawAll (const char *opt=0) |
Private Attributes | |
TGMainFrame * | fMain |
Main window. More... | |
MenuBar * | fMenuBar |
Top menu bar. More... | |
ButtonBar * | fButtonBar |
Top button bar. More... | |
StatusBar * | fStatusBar |
Status bar running along the bottom. More... | |
Canvas * | fDisplay |
Display of detector event information. More... | |
An event display window.
Definition at line 33 of file DisplayWindow.h.
evdb::DisplayWindow::DisplayWindow | ( | int | window = 0 | ) |
Definition at line 142 of file DisplayWindow.cxx.
References evdb::Canvas::Connect(), fButtonBar, fDisplay, fMain, fMenuBar, fStatusBar, evdb::gsWindows(), and w.
Referenced by OpenWindow().
|
virtual |
Definition at line 196 of file DisplayWindow.cxx.
References fButtonBar, fDisplay, fMain, fMenuBar, fStatusBar, and evdb::gsWindows().
|
virtual |
Definition at line 192 of file DisplayWindow.cxx.
|
virtual |
Definition at line 188 of file DisplayWindow.cxx.
References evdb::Canvas::Draw(), and fDisplay.
Referenced by OpenWindow().
|
static |
Definition at line 57 of file DisplayWindow.cxx.
References evdb::gsWindows().
Referenced by evdb::EventDisplay::postProcessEvent().
|
static |
Definition at line 89 of file DisplayWindow.cxx.
References evdb::gsName.
Referenced by evdb::WindowMenu::HandleMenu(), and evdb::WindowMenu::WindowMenu().
|
static |
Create a window given a system-assigned ID number
Definition at line 116 of file DisplayWindow.cxx.
References DisplayWindow(), Draw(), art::EventID::event(), evdb::EventHolder::GetEvent(), evdb::gsWindows(), art::Event::id(), evdb::EventHolder::Instance(), Raise(), art::EventID::run(), SetRunEvent(), and w.
Referenced by evd::EVD::beginJob(), and evdb::WindowMenu::HandleMenu().
void evdb::DisplayWindow::Raise | ( | ) |
|
static |
Register a display canvas for use in creating windows
Definition at line 96 of file DisplayWindow.cxx.
References evdb::gsWindows().
Referenced by evd::EVD::beginJob().
void evdb::DisplayWindow::SetRunEvent | ( | int | run, |
int | event | ||
) |
Definition at line 66 of file DisplayWindow.cxx.
References fButtonBar, and evdb::ButtonBar::SetRunEvent().
Referenced by OpenWindow().
|
static |
Definition at line 48 of file DisplayWindow.cxx.
References evdb::gsWindows().
Referenced by evdb::EventDisplay::preProcessEvent().
void evdb::DisplayWindow::SetServices | ( | ) |
Definition at line 82 of file DisplayWindow.cxx.
References evdb::MenuBar::fEditMenu, fMenuBar, and evdb::EditMenu::SetServices().
|
static |
Definition at line 73 of file DisplayWindow.cxx.
References evdb::gsWindows().
Referenced by evdb::EventDisplay::postBeginJob().
|
private |
Top button bar.
Definition at line 61 of file DisplayWindow.h.
Referenced by DisplayWindow(), SetRunEvent(), and ~DisplayWindow().
|
private |
Display of detector event information.
Definition at line 63 of file DisplayWindow.h.
Referenced by DisplayWindow(), Draw(), and ~DisplayWindow().
|
private |
Main window.
Definition at line 59 of file DisplayWindow.h.
Referenced by DisplayWindow(), Raise(), and ~DisplayWindow().
|
private |
Top menu bar.
Definition at line 60 of file DisplayWindow.h.
Referenced by DisplayWindow(), SetServices(), and ~DisplayWindow().
|
private |
Status bar running along the bottom.
Definition at line 62 of file DisplayWindow.h.
Referenced by DisplayWindow(), and ~DisplayWindow().