![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Definition at line 22 of file mainwindow.py.
Public Member Functions | |
| __init__ (self) | |
| AddDirectory (self, tdir) | |
| close_all_canvases (self) | |
| get_canvas_size (self, size="") | |
| hello (self) | |
| load_library (self, library_name, grut_lib=True) | |
| LoadCutG (self, cutg) | |
| LoadDataFile (self, filename=None) | |
| LoadGuiFile (self, filename) | |
| LoadRootFile (self, filename=None) | |
| LoadWindowFile (self, filename=None) | |
| open_canvas (self, title="", columns=-1, rows=-1, topx=0, topy=0, width=0, height=0) | |
| RefreshHistograms (self) | |
| ResetAllHistograms (self) | |
| ResetHistograms (self, hist=None) | |
| ResortDataFile (self) | |
| Run (self) | |
| set_zones (self) | |
| Terminate (self) | |
| Update (self) | |
Public Attributes | |
| list | canvases = [] |
| defaultcanvassize = tk.StringVar(value='800x600') | |
| dummy = ROOT.TTimer('.q',-1) | |
| dict | files = {} |
| hist_tab = HistTab(self, hist_page) | |
| dict | icons = {} |
| optstat_entries = tk.BooleanVar(value=True) | |
| optstat_integral = tk.BooleanVar(value=True) | |
| optstat_kurt = tk.BooleanVar(value=False) | |
| optstat_kurt_err = tk.BooleanVar(value=False) | |
| optstat_mean = tk.BooleanVar(value=True) | |
| optstat_mean_err = tk.BooleanVar(value=False) | |
| optstat_name = tk.BooleanVar(value=True) | |
| optstat_overflow = tk.BooleanVar(value=False) | |
| optstat_rms = tk.BooleanVar(value=False) | |
| optstat_rms_err = tk.BooleanVar(value=False) | |
| optstat_skew = tk.BooleanVar(value=False) | |
| optstat_skew_err = tk.BooleanVar(value=False) | |
| optstat_underflow = tk.BooleanVar(value=False) | |
| plotlocation = tk.StringVar(value='NewCanvas') | |
| predefinedzones = tk.StringVar(value='1x1') | |
| refreshrate = tk.IntVar(value='-1') | |
| status_bar = AnsiColorText(frame, bg='black') | |
| tcut_tab = TCutTab(self, tcut_page) | |
| variable_tab = VariableTab(self, variable_page) | |
| window = tk.Tk() | |
| int | zone_cols = 1 |
| int | zone_rows = 1 |
Protected Member Functions | |
| _draw_single (self, hist, color=1, nselected=1) | |
| _dump_root_file (self, filename=None, include_histograms=True) | |
| _load_default_style (self) | |
| _load_icons (self) | |
| _MakeFileMenu (self, menubar) | |
| _MakeHelpMenu (self, menubar) | |
| _MakeMenuBar (self) | |
| _MakeOptStatMenu (self, menubar) | |
| _MakePlotMenu (self, menubar) | |
| _MakeRefreshMenu (self, menubar) | |
| _MakeZoneMenu (self, menubar) | |
| _PeriodicRefresh (self) | |
| _PickIcon (self, obj) | |
| _save_gui_file (self, filename=None) | |
| _SetOptStat (self) | |
| _setup_GUI (self) | |
| _setup_status_bar (self, parent) | |
| _update_status_bar (self) | |
Protected Attributes | |
| _PeriodicRefresh | |
| _update_status_bar | |
Inheritance diagram for pygui.mainwindow.MainWindow:
Collaboration diagram for pygui.mainwindow.MainWindow:| pygui.mainwindow.MainWindow.__init__ | ( | self | ) |
Definition at line 24 of file mainwindow.py.
|
protected |
Definition at line 455 of file mainwindow.py.
References pygui.mainwindow.MainWindow._SetOptStat(), pygui.mainwindow.MainWindow.canvases, if(), pygui.mainwindow.MainWindow.open_canvas(), pygui.mainwindow.MainWindow.plotlocation, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
|
protected |
Definition at line 67 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
|
protected |
Definition at line 102 of file mainwindow.py.
|
protected |
Definition at line 85 of file mainwindow.py.
|
protected |
Definition at line 246 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 433 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 234 of file mainwindow.py.
References pygui.mainwindow.MainWindow._MakeFileMenu(), pygui.mainwindow.MainWindow._MakeHelpMenu(), pygui.mainwindow.MainWindow._MakeOptStatMenu(), pygui.mainwindow.MainWindow._MakePlotMenu(), pygui.mainwindow.MainWindow._MakeRefreshMenu(), pygui.mainwindow.MainWindow._MakeZoneMenu(), and pygui.mainwindow.MainWindow.window.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
|
protected |
Definition at line 388 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 419 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 309 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 338 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
protected |
Definition at line 330 of file mainwindow.py.
References pygui.mainwindow.MainWindow._PeriodicRefresh, pygui.mainwindow.MainWindow._PeriodicRefresh(), pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.refreshrate, and pygui.mainwindow.MainWindow.window.
Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().
|
protected |
Definition at line 275 of file mainwindow.py.
References pygui.mainwindow.MainWindow.icons.
|
protected |
Definition at line 46 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
|
protected |
Definition at line 204 of file mainwindow.py.
References pygui.mainwindow.MainWindow.optstat_entries, pygui.mainwindow.MainWindow.optstat_integral, pygui.mainwindow.MainWindow.optstat_kurt, pygui.mainwindow.MainWindow.optstat_kurt_err, pygui.mainwindow.MainWindow.optstat_mean, pygui.mainwindow.MainWindow.optstat_mean_err, pygui.mainwindow.MainWindow.optstat_name, pygui.mainwindow.MainWindow.optstat_overflow, pygui.mainwindow.MainWindow.optstat_rms, pygui.mainwindow.MainWindow.optstat_rms_err, pygui.mainwindow.MainWindow.optstat_skew, pygui.mainwindow.MainWindow.optstat_skew_err, and pygui.mainwindow.MainWindow.optstat_underflow.
Referenced by pygui.mainwindow.MainWindow._draw_single().
|
protected |
Definition at line 117 of file mainwindow.py.
References pygui.mainwindow.MainWindow._MakeMenuBar(), pygui.mainwindow.MainWindow.LoadDataFile(), pygui.mainwindow.MainWindow.LoadRootFile(), pygui.mainwindow.MainWindow.LoadWindowFile(), pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.ResetAllHistograms(), pygui.mainwindow.MainWindow.ResetHistograms(), pygui.mainwindow.MainWindow.ResortDataFile(), and pygui.mainwindow.MainWindow.window.
Referenced by pygui.status_widget.ThreadStatusFrame._ThreadCheck().
|
protected |
Definition at line 189 of file mainwindow.py.
|
protected |
Definition at line 197 of file mainwindow.py.
References pygui.mainwindow.MainWindow.status_bar.
| pygui.mainwindow.MainWindow.AddDirectory | ( | self, | |
| tdir ) |
Definition at line 501 of file mainwindow.py.
References pygui.mainwindow.MainWindow.AddDirectory(), pygui.mainwindow.MainWindow.hist_tab, and pygui.mainwindow.MainWindow.tcut_tab.
Referenced by pygui.mainwindow.MainWindow.AddDirectory().
| pygui.mainwindow.MainWindow.close_all_canvases | ( | self | ) |
Definition at line 571 of file mainwindow.py.
| pygui.mainwindow.MainWindow.get_canvas_size | ( | self, | |
| size = "" ) |
Definition at line 300 of file mainwindow.py.
References pygui.mainwindow.MainWindow.defaultcanvassize.
Referenced by pygui.mainwindow.MainWindow.open_canvas().
| pygui.mainwindow.MainWindow.hello | ( | self | ) |
Definition at line 568 of file mainwindow.py.
| pygui.mainwindow.MainWindow.load_library | ( | self, | |
| library_name, | |||
| grut_lib = True ) |
Definition at line 562 of file mainwindow.py.
| pygui.mainwindow.MainWindow.LoadCutG | ( | self, | |
| cutg ) |
Definition at line 511 of file mainwindow.py.
References pygui.mainwindow.MainWindow.tcut_tab.
| pygui.mainwindow.MainWindow.LoadDataFile | ( | self, | |
| filename = None ) |
Definition at line 515 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
| pygui.mainwindow.MainWindow.LoadGuiFile | ( | self, | |
| filename ) |
Definition at line 34 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
| pygui.mainwindow.MainWindow.LoadRootFile | ( | self, | |
| filename = None ) |
Definition at line 526 of file mainwindow.py.
References pygui.mainwindow.MainWindow.files, pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
| pygui.mainwindow.MainWindow.LoadWindowFile | ( | self, | |
| filename = None ) |
Definition at line 544 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
| pygui.mainwindow.MainWindow.open_canvas | ( | self, | |
| title = "", | |||
| columns = -1, | |||
| rows = -1, | |||
| topx = 0, | |||
| topy = 0, | |||
| width = 0, | |||
| height = 0 ) |
Definition at line 576 of file mainwindow.py.
References pygui.mainwindow.MainWindow.canvases, pygui.mainwindow.MainWindow.get_canvas_size(), pygui.mainwindow.MainWindow.plotlocation, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
Referenced by pygui.mainwindow.MainWindow._draw_single().
| pygui.mainwindow.MainWindow.RefreshHistograms | ( | self | ) |
Definition at line 437 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._PeriodicRefresh(), and pygui.mainwindow.MainWindow._setup_GUI().
| pygui.mainwindow.MainWindow.ResetAllHistograms | ( | self | ) |
Definition at line 449 of file mainwindow.py.
References pygui.mainwindow.MainWindow.ResetAllHistograms().
Referenced by pygui.mainwindow.MainWindow._setup_GUI(), and pygui.mainwindow.MainWindow.ResetAllHistograms().
| pygui.mainwindow.MainWindow.ResetHistograms | ( | self, | |
| hist = None ) |
Definition at line 440 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
| pygui.mainwindow.MainWindow.ResortDataFile | ( | self | ) |
Definition at line 452 of file mainwindow.py.
References pygui.mainwindow.MainWindow.ResortDataFile().
Referenced by pygui.mainwindow.MainWindow._setup_GUI(), and pygui.mainwindow.MainWindow.ResortDataFile().
| pygui.mainwindow.MainWindow.Run | ( | self | ) |
Definition at line 556 of file mainwindow.py.
References pygui.mainwindow.MainWindow.window.
| pygui.mainwindow.MainWindow.set_zones | ( | self | ) |
Definition at line 380 of file mainwindow.py.
References pygui.mainwindow.MainWindow.predefinedzones, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
| pygui.mainwindow.MainWindow.Terminate | ( | self | ) |
Definition at line 271 of file mainwindow.py.
| pygui.mainwindow.MainWindow.Update | ( | self | ) |
Definition at line 559 of file mainwindow.py.
References pygui.mainwindow.MainWindow.window.
|
protected |
Definition at line 328 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().
|
protected |
Definition at line 195 of file mainwindow.py.
| list pygui.mainwindow.MainWindow.canvases = [] |
Definition at line 29 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), and pygui.mainwindow.MainWindow.open_canvas().
| pygui.mainwindow.MainWindow.defaultcanvassize = tk.StringVar(value='800x600') |
Definition at line 247 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.get_canvas_size().
| pygui.mainwindow.MainWindow.dummy = ROOT.TTimer('.q',-1) |
Definition at line 272 of file mainwindow.py.
| dict pygui.mainwindow.MainWindow.files = {} |
Definition at line 30 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.LoadRootFile().
| pygui.mainwindow.MainWindow.hist_tab = HistTab(self, hist_page) |
| dict pygui.mainwindow.MainWindow.icons = {} |
Definition at line 86 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._PickIcon().
| pygui.mainwindow.MainWindow.optstat_entries = tk.BooleanVar(value=True) |
Definition at line 390 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_integral = tk.BooleanVar(value=True) |
Definition at line 397 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_kurt = tk.BooleanVar(value=False) |
Definition at line 400 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_kurt_err = tk.BooleanVar(value=False) |
Definition at line 401 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_mean = tk.BooleanVar(value=True) |
Definition at line 391 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_mean_err = tk.BooleanVar(value=False) |
Definition at line 392 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_name = tk.BooleanVar(value=True) |
Definition at line 389 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_overflow = tk.BooleanVar(value=False) |
Definition at line 396 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_rms = tk.BooleanVar(value=False) |
Definition at line 393 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_rms_err = tk.BooleanVar(value=False) |
Definition at line 394 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_skew = tk.BooleanVar(value=False) |
Definition at line 398 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_skew_err = tk.BooleanVar(value=False) |
Definition at line 399 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.optstat_underflow = tk.BooleanVar(value=False) |
Definition at line 395 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
| pygui.mainwindow.MainWindow.plotlocation = tk.StringVar(value='NewCanvas') |
Definition at line 420 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), and pygui.mainwindow.MainWindow.open_canvas().
| pygui.mainwindow.MainWindow.predefinedzones = tk.StringVar(value='1x1') |
Definition at line 339 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.set_zones().
| pygui.mainwindow.MainWindow.refreshrate = tk.IntVar(value='-1') |
Definition at line 310 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().
| pygui.mainwindow.MainWindow.status_bar = AnsiColorText(frame, bg='black') |
Definition at line 192 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._update_status_bar().
| pygui.mainwindow.MainWindow.tcut_tab = TCutTab(self, tcut_page) |
Definition at line 174 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._save_gui_file(), pygui.mainwindow.MainWindow.AddDirectory(), pygui.mainwindow.MainWindow.LoadCutG(), pygui.mainwindow.MainWindow.LoadGuiFile(), and pygui.mainwindow.MainWindow.LoadRootFile().
| pygui.mainwindow.MainWindow.variable_tab = VariableTab(self, variable_page) |
Definition at line 178 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._save_gui_file(), pygui.mainwindow.MainWindow.LoadGuiFile(), and pygui.mainwindow.MainWindow.LoadRootFile().
| pygui.mainwindow.MainWindow.window = tk.Tk() |
Definition at line 25 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar(), pygui.mainwindow.MainWindow._PeriodicRefresh(), pygui.mainwindow.MainWindow._setup_GUI(), pygui.mainwindow.MainWindow.Run(), and pygui.mainwindow.MainWindow.Update().
| pygui.mainwindow.MainWindow.zone_cols = 1 |
Definition at line 341 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), pygui.mainwindow.MainWindow.open_canvas(), and pygui.mainwindow.MainWindow.set_zones().
| pygui.mainwindow.MainWindow.zone_rows = 1 |
Definition at line 340 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), pygui.mainwindow.MainWindow.open_canvas(), and pygui.mainwindow.MainWindow.set_zones().