GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
pygui.mainwindow.MainWindow Class Reference

Definition at line 22 of file mainwindow.py.

Public Member Functions

def __init__ (self)
 
def AddDirectory (self, tdir)
 
def close_all_canvases (self)
 
def get_canvas_size (self, size="")
 
def hello (self)
 
def load_library (self, library_name, grut_lib=True)
 
def LoadCutG (self, cutg)
 
def LoadDataFile (self, filename=None)
 
def LoadGuiFile (self, filename)
 
def LoadRootFile (self, filename=None)
 
def LoadWindowFile (self, filename=None)
 
def open_canvas (self, title="", columns=-1, rows=-1, topx=0, topy=0, width=0, height=0)
 
def RefreshHistograms (self)
 
def ResetAllHistograms (self)
 
def ResetHistograms (self, hist=None)
 
def ResortDataFile (self)
 
def Run (self)
 
def set_zones (self)
 
def Terminate (self)
 
def Update (self)
 

Public Attributes

 canvases
 
 defaultcanvassize
 
 dummy
 
 files
 
 hist_tab
 
 icons
 
 optstat_entries
 
 optstat_integral
 
 optstat_kurt
 
 optstat_kurt_err
 
 optstat_mean
 
 optstat_mean_err
 
 optstat_name
 
 optstat_overflow
 
 optstat_rms
 
 optstat_rms_err
 
 optstat_skew
 
 optstat_skew_err
 
 optstat_underflow
 
 plotlocation
 
 predefinedzones
 
 refreshrate
 
 status_bar
 
 tcut_tab
 
 variable_tab
 
 window
 
 zone_cols
 
 zone_rows
 

Private Member Functions

def _draw_single (self, hist, color=1, nselected=1)
 
def _dump_root_file (self, filename=None, include_histograms=True)
 
def _load_default_style (self)
 
def _load_icons (self)
 
def _MakeFileMenu (self, menubar)
 
def _MakeHelpMenu (self, menubar)
 
def _MakeMenuBar (self)
 
def _MakeOptStatMenu (self, menubar)
 
def _MakePlotMenu (self, menubar)
 
def _MakeRefreshMenu (self, menubar)
 
def _MakeZoneMenu (self, menubar)
 
def _PeriodicRefresh (self)
 
def _PickIcon (self, obj)
 
def _save_gui_file (self, filename=None)
 
def _SetOptStat (self)
 
def _setup_GUI (self)
 
def _setup_status_bar (self, parent)
 
def _update_status_bar (self)
 
+ Inheritance diagram for pygui.mainwindow.MainWindow:
+ Collaboration diagram for pygui.mainwindow.MainWindow:

Constructor & Destructor Documentation

◆ __init__()

def pygui.mainwindow.MainWindow.__init__ (   self)

Definition at line 24 of file mainwindow.py.

Member Function Documentation

◆ _draw_single()

def pygui.mainwindow.MainWindow._draw_single (   self,
  hist,
  color = 1,
  nselected = 1 
)
private

◆ _dump_root_file()

def pygui.mainwindow.MainWindow._dump_root_file (   self,
  filename = None,
  include_histograms = True 
)
private

◆ _load_default_style()

def pygui.mainwindow.MainWindow._load_default_style (   self)
private

Definition at line 102 of file mainwindow.py.

◆ _load_icons()

def pygui.mainwindow.MainWindow._load_icons (   self)
private

Definition at line 85 of file mainwindow.py.

◆ _MakeFileMenu()

def pygui.mainwindow.MainWindow._MakeFileMenu (   self,
  menubar 
)
private

Definition at line 246 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _MakeHelpMenu()

def pygui.mainwindow.MainWindow._MakeHelpMenu (   self,
  menubar 
)
private

Definition at line 433 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _MakeMenuBar()

◆ _MakeOptStatMenu()

def pygui.mainwindow.MainWindow._MakeOptStatMenu (   self,
  menubar 
)
private

Definition at line 388 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _MakePlotMenu()

def pygui.mainwindow.MainWindow._MakePlotMenu (   self,
  menubar 
)
private

Definition at line 419 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _MakeRefreshMenu()

def pygui.mainwindow.MainWindow._MakeRefreshMenu (   self,
  menubar 
)
private

Definition at line 309 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _MakeZoneMenu()

def pygui.mainwindow.MainWindow._MakeZoneMenu (   self,
  menubar 
)
private

Definition at line 338 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().

◆ _PeriodicRefresh()

◆ _PickIcon()

def pygui.mainwindow.MainWindow._PickIcon (   self,
  obj 
)
private

Definition at line 275 of file mainwindow.py.

References pygui.mainwindow.MainWindow.icons.

◆ _save_gui_file()

def pygui.mainwindow.MainWindow._save_gui_file (   self,
  filename = None 
)
private

◆ _SetOptStat()

◆ _setup_GUI()

◆ _setup_status_bar()

def pygui.mainwindow.MainWindow._setup_status_bar (   self,
  parent 
)
private

Definition at line 189 of file mainwindow.py.

◆ _update_status_bar()

def pygui.mainwindow.MainWindow._update_status_bar (   self)
private

Definition at line 197 of file mainwindow.py.

References pygui.mainwindow.MainWindow.status_bar.

◆ AddDirectory()

def pygui.mainwindow.MainWindow.AddDirectory (   self,
  tdir 
)

◆ close_all_canvases()

def pygui.mainwindow.MainWindow.close_all_canvases (   self)

Definition at line 571 of file mainwindow.py.

◆ get_canvas_size()

def pygui.mainwindow.MainWindow.get_canvas_size (   self,
  size = "" 
)

◆ hello()

def pygui.mainwindow.MainWindow.hello (   self)

Definition at line 568 of file mainwindow.py.

◆ load_library()

def pygui.mainwindow.MainWindow.load_library (   self,
  library_name,
  grut_lib = True 
)

Definition at line 562 of file mainwindow.py.

◆ LoadCutG()

def pygui.mainwindow.MainWindow.LoadCutG (   self,
  cutg 
)

Definition at line 511 of file mainwindow.py.

References pygui.mainwindow.MainWindow.tcut_tab.

◆ LoadDataFile()

def pygui.mainwindow.MainWindow.LoadDataFile (   self,
  filename = None 
)

Definition at line 515 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._setup_GUI().

◆ LoadGuiFile()

def pygui.mainwindow.MainWindow.LoadGuiFile (   self,
  filename 
)

◆ LoadRootFile()

def pygui.mainwindow.MainWindow.LoadRootFile (   self,
  filename = None 
)

◆ LoadWindowFile()

def pygui.mainwindow.MainWindow.LoadWindowFile (   self,
  filename = None 
)

Definition at line 544 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._setup_GUI().

◆ open_canvas()

def pygui.mainwindow.MainWindow.open_canvas (   self,
  title = "",
  columns = -1,
  rows = -1,
  topx = 0,
  topy = 0,
  width = 0,
  height = 0 
)

◆ RefreshHistograms()

def pygui.mainwindow.MainWindow.RefreshHistograms (   self)

◆ ResetAllHistograms()

def pygui.mainwindow.MainWindow.ResetAllHistograms (   self)

Definition at line 449 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._setup_GUI().

◆ ResetHistograms()

def pygui.mainwindow.MainWindow.ResetHistograms (   self,
  hist = None 
)

Definition at line 440 of file mainwindow.py.

References pygui.util.update_tcanvases().

Referenced by pygui.mainwindow.MainWindow._setup_GUI().

◆ ResortDataFile()

def pygui.mainwindow.MainWindow.ResortDataFile (   self)

Definition at line 452 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._setup_GUI().

◆ Run()

def pygui.mainwindow.MainWindow.Run (   self)

Definition at line 556 of file mainwindow.py.

References pygui.mainwindow.MainWindow.window.

◆ set_zones()

def pygui.mainwindow.MainWindow.set_zones (   self)

◆ Terminate()

def pygui.mainwindow.MainWindow.Terminate (   self)

Definition at line 271 of file mainwindow.py.

◆ Update()

def pygui.mainwindow.MainWindow.Update (   self)

Definition at line 559 of file mainwindow.py.

References pygui.grut-view.update(), and pygui.mainwindow.MainWindow.window.

Member Data Documentation

◆ canvases

pygui.mainwindow.MainWindow.canvases

◆ defaultcanvassize

pygui.mainwindow.MainWindow.defaultcanvassize

Definition at line 247 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow.get_canvas_size().

◆ dummy

pygui.mainwindow.MainWindow.dummy

Definition at line 272 of file mainwindow.py.

◆ files

pygui.mainwindow.MainWindow.files

Definition at line 30 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow.LoadRootFile().

◆ hist_tab

◆ icons

pygui.mainwindow.MainWindow.icons

Definition at line 86 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._PickIcon().

◆ optstat_entries

pygui.mainwindow.MainWindow.optstat_entries

Definition at line 390 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_integral

pygui.mainwindow.MainWindow.optstat_integral

Definition at line 397 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_kurt

pygui.mainwindow.MainWindow.optstat_kurt

Definition at line 400 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_kurt_err

pygui.mainwindow.MainWindow.optstat_kurt_err

Definition at line 401 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_mean

pygui.mainwindow.MainWindow.optstat_mean

Definition at line 391 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_mean_err

pygui.mainwindow.MainWindow.optstat_mean_err

Definition at line 392 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_name

pygui.mainwindow.MainWindow.optstat_name

Definition at line 389 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_overflow

pygui.mainwindow.MainWindow.optstat_overflow

Definition at line 396 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_rms

pygui.mainwindow.MainWindow.optstat_rms

Definition at line 393 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_rms_err

pygui.mainwindow.MainWindow.optstat_rms_err

Definition at line 394 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_skew

pygui.mainwindow.MainWindow.optstat_skew

Definition at line 398 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_skew_err

pygui.mainwindow.MainWindow.optstat_skew_err

Definition at line 399 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ optstat_underflow

pygui.mainwindow.MainWindow.optstat_underflow

Definition at line 395 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._SetOptStat().

◆ plotlocation

pygui.mainwindow.MainWindow.plotlocation

◆ predefinedzones

pygui.mainwindow.MainWindow.predefinedzones

Definition at line 339 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow.set_zones().

◆ refreshrate

pygui.mainwindow.MainWindow.refreshrate

Definition at line 310 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().

◆ status_bar

pygui.mainwindow.MainWindow.status_bar

Definition at line 192 of file mainwindow.py.

Referenced by pygui.mainwindow.MainWindow._update_status_bar().

◆ tcut_tab

◆ variable_tab

◆ window

◆ zone_cols

pygui.mainwindow.MainWindow.zone_cols

◆ zone_rows

pygui.mainwindow.MainWindow.zone_rows