![]() |
KaliVeda
Toolkit for HIC analysis
|
#include <KVDataAnalysisLauncher.h>

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) |
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 | |
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 |
| KVDataAnalysisLauncher::KVDataAnalysisLauncher | ( | const TGWindow * | p = 0, |
| UInt_t | w = 200, |
||
| UInt_t | h = 400 |
||
| ) |
Main window width and height can be set using .kvrootrc variables: KaliVedaGUI.MainGUIWidth: 800 KaliVedaGUI.MainGUIHeight: 600 Maximum column width of runlist can be set using: KaliVedaGUI.MaxColWidth: 500
Definition at line 422 of file KVDataAnalysisLauncher.cpp.
| KVDataAnalysisLauncher::~KVDataAnalysisLauncher | ( | ) |
Destructeur.
Definition at line 758 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::ClearListOfSelectedRuns | ( | ) |
Empty displayed list of selected runs.
Definition at line 2350 of file KVDataAnalysisLauncher.cpp.
Deselect all runs currently in the displayed list of runs.
Definition at line 1144 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::DoStageSelection | ( | ) |
Called when 'Stage selection' button is pressed, for conversion jobs which generate 'target' files from 'source' files.
Open small GUI for user to choose:
Definition at line 2233 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::EditUserClassFiles | ( | ) |
If environment variable $EDITOR is set, and if the currently selected user class has available source files, we open them in the user's favourite editor
Definition at line 2187 of file KVDataAnalysisLauncher.cpp.
Called when user presses "Runlist" button. Open dialogue box in which a runlist can be entered. The runs in the runlist will be selected.
Definition at line 2296 of file KVDataAnalysisLauncher.cpp.
Definition at line 182 of file KVDataAnalysisLauncher.h.
Definition at line 1313 of file KVDataAnalysisLauncher.cpp.
Definition at line 1299 of file KVDataAnalysisLauncher.cpp.
Definition at line 1356 of file KVDataAnalysisLauncher.cpp.
| TString KVDataAnalysisLauncher::GetSavedResource | ( | const TString & | name, |
| const TString & | defaultvalue = "" |
||
| ) |
Handles resource file ".KVDataAnalysisGUIrc"
We look for a stored value of the resource "name" corresponding to the current values of all the resources which come before "name" in the list : Repository DataSet Task These values are stored in resources with names like: KVDataAnalysisLauncher.[name].[repository].[dataset]...
If no stored value is found, the defaultvalue is returned
Definition at line 1774 of file KVDataAnalysisLauncher.cpp.
Definition at line 1341 of file KVDataAnalysisLauncher.cpp.
Definition at line 1327 of file KVDataAnalysisLauncher.cpp.
Definition at line 215 of file KVDataAnalysisLauncher.h.
Run the analysis task.
Definition at line 1156 of file KVDataAnalysisLauncher.cpp.
Select all runs currently in the displayed list of runs.
Definition at line 1132 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::SelectAllUnconvertedRuns | ( | ) |
For analysis tasks which perform data conversions (raw -> recon, dst -> recon, ...) clicking on this button will select all of the runs of the currently selected system(s) which have not yet been converted.
Definition at line 2209 of file KVDataAnalysisLauncher.cpp.
Called when dataset is selected in drop-down list
Calls SetTaskList() to fill list of available tasks for given dataset
Definition at line 859 of file KVDataAnalysisLauncher.cpp.
Called when repository is selected in drop-down list
Calls SetDataSetList() to fill list of available datasets for given repository
Definition at line 799 of file KVDataAnalysisLauncher.cpp.
Called when user analysis class is selected in drop-down list
Calls UserClassSelected() with name of class
Definition at line 1115 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::SetBatch | ( | ) |
Set the resource KVDataAnalysisLauncher.Batch according to whether button 'Batch' is down or up
Definition at line 1521 of file KVDataAnalysisLauncher.cpp.
| Bool_t KVDataAnalysisLauncher::SetBatchParameters | ( | ) |
Open dialog to set batch parameters for job returns kFALSE if cancel is pressed
Definition at line 1539 of file KVDataAnalysisLauncher.cpp.
Definition at line 1386 of file KVDataAnalysisLauncher.cpp.
Sets the list of all available data sets in the data sets combo box.
Definition at line 815 of file KVDataAnalysisLauncher.cpp.
Definition at line 1365 of file KVDataAnalysisLauncher.cpp.
Sets the list of all possible repositories in the repository combo box.
Definition at line 771 of file KVDataAnalysisLauncher.cpp.
Definition at line 1498 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::SetRunsList | ( | ) |
Sets the list of all available runs in the runs list box SetResource("Trigger", "All");
Definition at line 1036 of file KVDataAnalysisLauncher.cpp.
Definition at line 1454 of file KVDataAnalysisLauncher.cpp.
Sets the list of all possible systems in the system list. Called every time a task is selected.
The choice of task may lead to a change of batch system:
Definition at line 958 of file KVDataAnalysisLauncher.cpp.
Definition at line 1420 of file KVDataAnalysisLauncher.cpp.
Sets the list of all possible tasks in the tasks combo box Called when a new dataset is selected in the dropdown list
Definition at line 878 of file KVDataAnalysisLauncher.cpp.
Set the User's includes.
Definition at line 1582 of file KVDataAnalysisLauncher.cpp.
Set the User's libraries.
Definition at line 1566 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::SystemSelectionChanged | ( | ) |
KVDBSystem* system = (KVDBSystem*)lvSystems->GetLastSelectedObject(); if (system == lastSelectedSystem) return; lastSelectedSystem = system; GetDataAnalyser()->SetSystem(system);
Definition at line 1480 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::UpdateAvailableRuns | ( | ) |
Update available runs for current selected task (=datatype)
Definition at line 2279 of file KVDataAnalysisLauncher.cpp.
| void KVDataAnalysisLauncher::UpdateListOfSelectedRuns | ( | ) |
Called when the selected runs in TGListView lvRuns change. We update the run_index_list listOfRuns according to the current selection we modify the limits of the 'runs per job' widget
Definition at line 2319 of file KVDataAnalysisLauncher.cpp.
Called when a user class is selected in the combo box. Updates batch name if 'auto batch name' is selected.
Definition at line 2016 of file KVDataAnalysisLauncher.cpp.
| Bool_t KVDataAnalysisLauncher::WarningBox | ( | const char * | title = "Warning", |
| const char * | msg = "Warning", |
||
| Bool_t | confirm = kFALSE |
||
| ) |
Warning box in case of problems if confirm=kTRUE we ask for a yes/no answer from the user: if 'yes' is pressed, we return kTRUE, if 'no', kFALSE. by default, only a 'dismiss' button is shown, and this method always returns kTRUE.
Definition at line 1602 of file KVDataAnalysisLauncher.cpp.