LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
DisplayWindow.h
Go to the documentation of this file.
1
#ifndef EVDB_DISPLAYWINDOW_H
10
#define EVDB_DISPLAYWINDOW_H
11
#include <vector>
12
#include <string>
13
#include "TQObject.h"
14
#include "RQ_OBJECT.h"
15
16
17
class
TGMainFrame;
18
namespace
art
{
19
class
Worker;
20
}
21
namespace
evdb
{
22
class
MenuBar;
23
class
ButtonBar;
24
class
StatusBar;
25
class
Canvas;
26
typedef
Canvas
* (*CanvasCreator_t)(TGMainFrame*
mf
);
27
}
28
29
//......................................................................
30
31
namespace
evdb
{
33
class
DisplayWindow
{
34
RQ_OBJECT(
"evdb::DisplayWindow"
)
35
36
public
:
37
static
void
Register(
const
char
* name,
38
const
char
* description,
39
unsigned
int
h,
40
unsigned
int
w
,
41
CanvasCreator_t
creator);
42
static
const
std::vector<std::string>& Names();
43
static
int
OpenWindow(
int
type
=0);
44
static
void
SetRunEventAll(
int
run,
int
event
);
45
static
void
SetServicesAll();
46
static
void
DrawAll(
const
char
* opt=0);
47
48
public
:
49
DisplayWindow
(
int
window=0);
50
virtual
~
DisplayWindow
();
51
52
virtual
void
Draw
(
const
char
* opt=
""
);
53
virtual
void
CloseWindow();
54
void
Raise();
55
void
SetRunEvent(
int
run,
int
event);
56
void
SetServices();
57
58
private
:
59
TGMainFrame*
fMain
;
60
MenuBar
*
fMenuBar
;
61
ButtonBar
*
fButtonBar
;
62
StatusBar
*
fStatusBar
;
63
Canvas
*
fDisplay
;
64
};
65
}
66
#endif
67
evdb::DisplayWindow::fMenuBar
MenuBar * fMenuBar
Top menu bar.
Definition:
DisplayWindow.h:60
evdb::DisplayWindow
An event display window.
Definition:
DisplayWindow.h:33
evdb::StatusBar
A status bar on the bottom of the display.
Definition:
StatusBar.h:15
Draw
hist1 Draw("HIST")
evdb::DisplayWindow::fButtonBar
ButtonBar * fButtonBar
Top button bar.
Definition:
DisplayWindow.h:61
mf
Definition:
MessageLogger.cc:42
evdb::Canvas
Definition:
Canvas.h:22
evdb::CanvasCreator_t
Canvas *(* CanvasCreator_t)(TGMainFrame *mf)
Definition:
DisplayWindow.h:26
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:14
evdb::ButtonBar
Definition:
ButtonBar.h:20
evdb::DisplayWindow::fStatusBar
StatusBar * fStatusBar
Status bar running along the bottom.
Definition:
DisplayWindow.h:62
type
Definition:
ShowerProducedPtrsHolder.hh:57
evdb::DisplayWindow::fDisplay
Canvas * fDisplay
Display of detector event information.
Definition:
DisplayWindow.h:63
art
Definition:
MVAAlg.h:12
evdb::MenuBar
The pull down menu bar.
Definition:
MenuBar.h:25
evdb::DisplayWindow::fMain
TGMainFrame * fMain
Main window.
Definition:
DisplayWindow.h:59
w
Float_t w
Definition:
plot.C:20
event
Event finding and building.
Definition:
EventCheater_module.cc:32
nuevdb
v1_09_08
source
nuevdb
EventDisplayBase
DisplayWindow.h
Generated on Thu May 2 2024 20:59:52 for LArSoft by
1.8.11