GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
pygui.tcut_tab.TCutTab Class Reference

Detailed Description

Definition at line 12 of file tcut_tab.py.

Public Member Functions

 __init__ (self, main, frame)
 
 AddCut (self, cut, det_type=None)
 
 AddDirectory (self, tdir)
 
 AddFile (self, tfile)
 
 CopyCut (self)
 
 DeleteCut (self)
 
 SaveCut (self)
 
 StartCut (self)
 
 TreeView_OnDoubleClick (self, event)
 

Public Attributes

dict cuts = {}
 
dict detector_classes = {}
 
 frame = frame
 
 main = main
 
 next_name = tk.StringVar(value='tcutg_0')
 
 tree = ttk.Treeview(parent, columns=('type',))
 
 TreeView_OnDoubleClick
 

Protected Member Functions

 _check_for_tcut (self)
 
 _draw_cut (self, cut)
 
 _dump_to_tfile (self)
 
 _increment_name (self)
 
 _load_tcut_patterns (self, patterns)
 
 _MakeNaming (self, parent)
 
 _MakeTreeView (self, parent)
 
 _repeatedly_check (self)
 
 _setup_GUI (self, frame)
 
 _tcut_patterns (self)
 

Protected Attributes

 _repeatedly_check
 
+ Inheritance diagram for pygui.tcut_tab.TCutTab:
+ Collaboration diagram for pygui.tcut_tab.TCutTab:

Constructor & Destructor Documentation

◆ __init__()

pygui.tcut_tab.TCutTab.__init__ ( self,
main,
frame )

Definition at line 14 of file tcut_tab.py.

Member Function Documentation

◆ _check_for_tcut()

pygui.tcut_tab.TCutTab._check_for_tcut ( self)
protected

◆ _draw_cut()

pygui.tcut_tab.TCutTab._draw_cut ( self,
cut )
protected

Definition at line 196 of file tcut_tab.py.

Referenced by pygui.tcut_tab.TCutTab.TreeView_OnDoubleClick().

◆ _dump_to_tfile()

pygui.tcut_tab.TCutTab._dump_to_tfile ( self)
protected

Definition at line 32 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab.cuts.

◆ _increment_name()

pygui.tcut_tab.TCutTab._increment_name ( self)
protected

◆ _load_tcut_patterns()

pygui.tcut_tab.TCutTab._load_tcut_patterns ( self,
patterns )
protected

Definition at line 51 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab.AddCut().

◆ _MakeNaming()

pygui.tcut_tab.TCutTab._MakeNaming ( self,
parent )
protected

Definition at line 175 of file tcut_tab.py.

◆ _MakeTreeView()

pygui.tcut_tab.TCutTab._MakeTreeView ( self,
parent )
protected

Definition at line 189 of file tcut_tab.py.

◆ _repeatedly_check()

pygui.tcut_tab.TCutTab._repeatedly_check ( self)
protected

Definition at line 28 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab._check_for_tcut().

◆ _setup_GUI()

pygui.tcut_tab.TCutTab._setup_GUI ( self,
frame )
protected

Definition at line 23 of file tcut_tab.py.

Referenced by pygui.status_widget.ThreadStatusFrame._ThreadCheck().

◆ _tcut_patterns()

pygui.tcut_tab.TCutTab._tcut_patterns ( self)
protected

Definition at line 36 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab.cuts.

◆ AddCut()

◆ AddDirectory()

pygui.tcut_tab.TCutTab.AddDirectory ( self,
tdir )

◆ AddFile()

pygui.tcut_tab.TCutTab.AddFile ( self,
tfile )

Definition at line 98 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab.AddCut().

◆ CopyCut()

pygui.tcut_tab.TCutTab.CopyCut ( self)

◆ DeleteCut()

pygui.tcut_tab.TCutTab.DeleteCut ( self)

Definition at line 144 of file tcut_tab.py.

References pygui.tcut_tab.TCutTab._check_for_tcut(), and if().

◆ SaveCut()

pygui.tcut_tab.TCutTab.SaveCut ( self)

◆ StartCut()

pygui.tcut_tab.TCutTab.StartCut ( self)

Definition at line 123 of file tcut_tab.py.

◆ TreeView_OnDoubleClick()

pygui.tcut_tab.TCutTab.TreeView_OnDoubleClick ( self,
event )

Member Data Documentation

◆ _repeatedly_check

pygui.tcut_tab.TCutTab._repeatedly_check
protected

Definition at line 30 of file tcut_tab.py.

◆ cuts

◆ detector_classes

pygui.tcut_tab.TCutTab.detector_classes = {}

◆ frame

pygui.tcut_tab.TCutTab.frame = frame

Definition at line 24 of file tcut_tab.py.

◆ main

◆ next_name

pygui.tcut_tab.TCutTab.next_name = tk.StringVar(value='tcutg_0')

Definition at line 176 of file tcut_tab.py.

Referenced by pygui.tcut_tab.TCutTab._increment_name().

◆ tree

pygui.tcut_tab.TCutTab.tree = ttk.Treeview(parent, columns=('type',))

◆ TreeView_OnDoubleClick

pygui.tcut_tab.TCutTab.TreeView_OnDoubleClick

Definition at line 194 of file tcut_tab.py.