![]() |
KaliVeda
Toolkit for HIC analysis
|
Graphical interface tool for managing, creating, testing and fitting identification grids.
Definition at line 29 of file KVIDGridManagerGUI.h.
#include <KVIDGridManagerGUI.h>

Public Attributes | |
| const Char_t * | name_of_data_histo |
Public Attributes inherited from TGWindow | |
| kEditDisable | |
| kEditDisableBtnEnable | |
| kEditDisableEvents | |
| kEditDisableGrab | |
| kEditDisableHeight | |
| kEditDisableKeyEnable | |
| kEditDisableLayout | |
| kEditDisableResize | |
| kEditDisableWidth | |
| kEditEnable | |
| kIsHtmlView | |
Public Attributes inherited from TObject | |
| kBitMask | |
| kCanDelete | |
| kCannotPick | |
| kHasUUID | |
| kInconsistent | |
| kInvalidObject | |
| kIsOnHeap | |
| kIsReferenced | |
| kMustCleanup | |
| kNoContextMenu | |
| kNotDeleted | |
| kObjInCanvas | |
| kOverwrite | |
| kSingleKey | |
| kWriteDelete | |
| kZombie | |
Additional Inherited Members | |
Public Types inherited from TGWindow | |
| enum | EEditMode |
| enum | EStatusBits |
Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
Static Public Member Functions inherited from TGMainFrame | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TGCompositeFrame | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TGFrame | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static const TGGC & | GetBckgndGC () |
| static const TGGC & | GetBlackGC () |
| static Pixel_t | GetBlackPixel () |
| static Pixel_t | GetDefaultFrameBackground () |
| static Pixel_t | GetDefaultSelectedBackground () |
| static const TGGC & | GetHilightGC () |
| static const TGGC & | GetShadowGC () |
| static const TGGC & | GetWhiteGC () |
| static Pixel_t | GetWhitePixel () |
Static Public Member Functions inherited from TGWindow | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Int_t | GetCounter () |
Static Public Member Functions inherited from TGObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
Static Public Member Functions inherited from TQObject | |
| static Bool_t | AreAllSignalsBlocked () |
| static Bool_t | BlockAllSignals (Bool_t b) |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static Bool_t | Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
| static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
| static const char * | DeclFileName () |
| static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr) |
| static Bool_t | Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
Protected Member Functions inherited from TGMainFrame | |
| TString | GetMWMfuncString () const |
| TString | GetMWMinpString () const |
| TString | GetMWMvalueString () const |
Protected Member Functions inherited from TGFrame | |
| void | DoRedraw () override |
| virtual void | Draw3dRectangle (UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h) |
| TString | GetOptionString () const |
| const TGResourcePool * | GetResourcePool () const |
| void * | GetSender () override |
| virtual void | StartGuiBuilding (Bool_t on=kTRUE) |
Protected Member Functions inherited from TGWindow | |
| TGWindow (const TGWindow &tgw) | |
| TGWindow (Window_t id) | |
| TGWindow & | operator= (const TGWindow &tgw) |
Protected Member Functions inherited from TGObject | |
| TGObject & | operator= (const TGObject &tgo) |
Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
Protected Member Functions inherited from TQObject | |
| virtual const char * | GetSenderClassName () const |
Static Protected Member Functions inherited from TGFrame | |
| static Time_t | GetLastClick () |
Static Protected Member Functions inherited from TQObject | |
| static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
| static TString | CompressName (const char *method_name) |
| static Bool_t | ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
| static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
Protected Attributes inherited from TGMainFrame | |
| TList * | fBindList |
| TString | fClassName |
| Atom_t * | fDNDTypeList |
| TString | fIconName |
| TString | fIconPixmap |
| UInt_t | fMWMFuncs |
| UInt_t | fMWMInput |
| UInt_t | fMWMValue |
| TString | fResourceName |
| TString | fWindowName |
| UInt_t | fWMHeight |
| UInt_t | fWMHeightInc |
| EInitialState | fWMInitState |
| UInt_t | fWMMaxHeight |
| UInt_t | fWMMaxWidth |
| UInt_t | fWMMinHeight |
| UInt_t | fWMMinWidth |
| UInt_t | fWMWidth |
| UInt_t | fWMWidthInc |
| Int_t | fWMX |
| Int_t | fWMY |
| kDontCallClose | |
Protected Attributes inherited from TGCompositeFrame | |
| Bool_t | fLayoutBroken |
| TGLayoutManager * | fLayoutManager |
| TList * | fList |
| Bool_t | fMapSubwindows |
| Int_t | fMustCleanup |
Protected Attributes inherited from TGFrame | |
| Pixel_t | fBackground |
| Int_t | fBorderWidth |
| Int_t | fDNDState |
| UInt_t | fEventMask |
| TGFrameElement * | fFE |
| UInt_t | fHeight |
| UInt_t | fMaxHeight |
| UInt_t | fMaxWidth |
| UInt_t | fMinHeight |
| UInt_t | fMinWidth |
| UInt_t | fOptions |
| UInt_t | fWidth |
| Int_t | fX |
| Int_t | fY |
| kDeleteWindowCalled | |
Protected Attributes inherited from TGWindow | |
| UInt_t | fEditDisabled |
| TString | fName |
| Bool_t | fNeedRedraw |
| const TGWindow * | fParent |
Protected Attributes inherited from TGObject | |
| TGClient * | fClient |
| Handle_t | fId |
Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Protected Attributes inherited from TQObject | |
| TList * | fListOfConnections |
| TList * | fListOfSignals |
| Bool_t | fSignalsBlocked |
Static Protected Attributes inherited from TGCompositeFrame | |
| static TGLayoutHints * | fgDefaultHints |
Static Protected Attributes inherited from TGFrame | |
| static const TGGC * | fgBckgndGC |
| static const TGGC * | fgBlackGC |
| static Pixel_t | fgBlackPixel |
| static Window_t | fgDbw |
| static Int_t | fgDbx |
| static Int_t | fgDby |
| static Pixel_t | fgDefaultFrameBackground |
| static Pixel_t | fgDefaultSelectedBackground |
| static const TGGC * | fgHilightGC |
| static Bool_t | fgInit |
| static UInt_t | fgLastButton |
| static Time_t | fgLastClick |
| static const TGGC * | fgShadowGC |
| static UInt_t | fgUserColor |
| static const TGGC * | fgWhiteGC |
| static Pixel_t | fgWhitePixel |
Static Protected Attributes inherited from TGWindow | |
| static Int_t | fgCounter |
Static Protected Attributes inherited from TQObject | |
| static Bool_t | fgAllSignalsBlocked |
| KVIDGridManagerGUI::KVIDGridManagerGUI | ( | ) |
Definition at line 33 of file KVIDGridManagerGUI.cpp.
|
virtual |
| void KVIDGridManagerGUI::ActivateToolbarButtons | ( | ) |
disable all buttons
Definition at line 1196 of file KVIDGridManagerGUI.cpp.
| KVIDGridManagerGUI::ClassDefOverride | ( | KVIDGridManagerGUI | , |
| 0 | |||
| ) |
| void KVIDGridManagerGUI::ClearGrid | ( | ) |
deletes all lines in currently selected grid(s)
Definition at line 764 of file KVIDGridManagerGUI.cpp.
|
overridevirtual |
| void KVIDGridManagerGUI::CopyGrid | ( | ) |
Definition at line 790 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::CreateAndFillTabs | ( | ) |
create a tab for each type of ID telescope put a list box for ID grid names on each tab
Definition at line 925 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::DeleteAllGridsInTab | ( | ) |
delete the all grids in currently selected tab
Definition at line 695 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::DeleteGrids | ( | ) |
delete the current selected grid, or all currently selected grids if there are more than one
grids must be removed from the GUI before deleting, as objects given to KVListView::Display() must remain valid as long as they are displayed
Definition at line 667 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::DeleteSelectedGrids | ( | ) |
warning message and confirmation
Definition at line 518 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::FitGrid | ( | ) |
Definition at line 1550 of file KVIDGridManagerGUI.cpp.
|
inline |
returns current number of selected items in grid list
Definition at line 126 of file KVIDGridManagerGUI.h.
Receive signals emitted by items selected in Grids menu.
reset filename to avoid hitting Save and overwriting previous file
Definition at line 366 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::MergeGrids | ( | ) |
| void KVIDGridManagerGUI::NewCut | ( | ) |
GUI method to draw a new cut and add it to graph. A dialog box with drop-down list pops up for the user to choose the class of the new cut, unless only one choice is possible, in which case it is used automatically. For each KVIDGraph-derived class, the list of possible cut classes and the default class are define in .kvrootrc by the variables:
[class_name].CutClass: [cut class 1] +[class_name].CutClass: [cut class 2]
Definition at line 1289 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::NewGrid | ( | ) |
Create a new identification grid. First we ask the user to select the identification telescope(s) for which this grid will be used. For a given type of ID telescope, several types of grid may be applicable. If so, we ask the user to choose one.
Definition at line 815 of file KVIDGridManagerGUI.cpp.
|
inline |
Definition at line 150 of file KVIDGridManagerGUI.h.
| void KVIDGridManagerGUI::NewIDLine | ( | ) |
GUI method to draw a new identifier and add it to graph. A dialog box with drop-down list pops up for the user to choose the class of the new identifier, unless only one choice is possible, in which case it is used automatically. For each KVIDGraph-derived class, the list of possible identifier classes and the default class are define in .kvrootrc by the variables:
[class_name].IDClass: [id class 1] +[class_name].IDClass: [id class 2]
Definition at line 1237 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::OpenFile | ( | ) |
Definition at line 534 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::OpenRootFile | ( | ) |
Definition at line 336 of file KVIDGridManagerGUI.cpp.
|
inline |
Definition at line 156 of file KVIDGridManagerGUI.h.
| void KVIDGridManagerGUI::RemoveEmptyTabs | ( | ) |
Recursively remove any empty tabs.
Definition at line 1091 of file KVIDGridManagerGUI.cpp.
|
inline |
Definition at line 145 of file KVIDGridManagerGUI.h.
| void KVIDGridManagerGUI::SaveGridsAs | ( | const TCollection * | selection = 0 | ) |
Opens dialog to choose filename in which to save grids. If selection=0 (default), all grids are saved If selection!=0 only grids in list are saved
Definition at line 880 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::SelectionChanged | ( | ) |
called any time the selection of grids changes each time, we update: fSelectedEntries : the list of all selected entries GetNSelected() : the number of selected entries fSelectedGrid : the last selected grid (=the only grid selected if GeTNSelected==1) get number of selected items
Definition at line 637 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::SetIDTelescopes | ( | ) |
propose to set IDTelescopes parameter using grid names
Definition at line 714 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::ShowListOfLines | ( | ) |
Called when a grid is selected in list of grids
We fill list of all lines in grid
Definition at line 1159 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::StartEditor | ( | ) |
Definition at line 309 of file KVIDGridManagerGUI.cpp.
Info("StartEditor(TObject*)", "obj=%p", o);.
Definition at line 326 of file KVIDGridManagerGUI.cpp.
called when a new tab is selected
Definition at line 954 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::TestGrid | ( | ) |
test the identification with selected grid we search in current pad for the data histogram
Definition at line 1337 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::TestTreeGrid | ( | ) |
test the identification with selected grid we search in current pad for the data histogram
Definition at line 1374 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::UpdateListOfGrids | ( | ) |
remove all existing entries, then fill list from gIDGridManager we update the current pad, in case the displayed grid no longer exists grid buttons are disabled, as any selected grid is deselected cout << "DEBUG: KVIDGridManagerGUI::UpdateListOfGrids(): starting..." << endl;
Definition at line 610 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::UpdateListOfLines | ( | ) |
called when a previously selected grid is modified updates lists of lines
Definition at line 1129 of file KVIDGridManagerGUI.cpp.
| void KVIDGridManagerGUI::UpdateTabs | ( | ) |
create a tab for each type of ID telescope put a list box for ID grid names on each tab cout << "DEBUG: KVIDGridManagerGUI::UpdateTabs() : starting..." << endl;
Definition at line 1005 of file KVIDGridManagerGUI.cpp.
| const Char_t* KVIDGridManagerGUI::name_of_data_histo |
Definition at line 164 of file KVIDGridManagerGUI.h.