1 #ifndef KVDataAnalysisLauncher_h
2 #define KVDataAnalysisLauncher_h
20 #include "KVDBSystem.h"
21 #include "KVNumberList.h"
22 #include "KVDataSetAnalyser.h"
23 #include "KVListView.h"
100 #ifdef __WITHOUT_TGCOMBOBOX_REMOVEALL
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
R__EXTERN TApplication * gApplication
winID h TVirtualViewer3D TVirtualGLPainter p
Database class used to store information on different colliding systems studied during an experiment....
GUI for running data analysis tasks.
KVList ResourceNames
used by Get/SetResource
UInt_t fMainGuiHeight
heigth of main window in pixels
TString GetUserClass()
Returns currently selected user class name.
TList * UserClassNames
list of user classes present in working directory
void SelectedDataSet(Int_t)
void SelectedUserClass(Int_t)
void SetUserClassList()
Sets the list of all available user classes in the drop down list.
void SetRepositoryList(void)
Sets the list of all possible repositories in the repository combo box.
void DeselectAll(void)
Deselect all runs currently in the displayed list of runs.
void SystemSelectionChanged()
void SetSystem(const TString &s="")
void Process(void)
Run the analysis task.
void SetTaskList(const TString &s)
void SetDataSet(const TString &ds="")
void SetUserClass(const Char_t *)
void UpdateAvailableRuns()
Update available runs for current selected task (=datatype)
TGLabel * fUserClassLabel
run_index_list listOfRuns
TGCompositeFrame * cfAnalysis
Int_t NbResNames
number of names in list
TGPictureButton * btEditClass
void DisableUserClassList()
Remove all entries from user class combo box & disable text entry.
void SetUserIncludes(void)
Set the User's includes.
void SelectedRepository(Int_t)
Bool_t SetBatchParameters()
KVDBSystem * lastSelectedSystem
KVUnownedList listofSelectedSystems
void SetTask(const TString &t="")
TGComboBox * cbRepository
TString GetResource(const TString &name, const TString &defaultvalue="")
KVNameValueList fStageSelections
TString SystemBatchName()
Get the system name for the batch name.
TString GetRepository(void)
void EnableUserClassList()
void SetDataSetList(const TString &repository)
Sets the list of all available data sets in the data sets combo box.
void BuildResourceName(const TString &name, TString &, TString &)
void UserClassSelected(const TString &)
void ClearListOfSelectedRuns()
Empty displayed list of selected runs.
void SetSystemList(Int_t s)
TString GetSavedResource(const TString &name, const TString &defaultvalue="")
void EditUserClassFiles()
Bool_t WarningBox(const char *title="Warning", const char *msg="Warning", Bool_t confirm=kFALSE)
TGTextButton * doBatchParams
void FillListOfUserClasses()
void SelectAll(void)
Select all runs currently in the displayed list of runs.
KVDataSetAnalyser * GetDataAnalyser(KVDataAnalysisTask *task=0)
void SetResource(const TString &name, const TString &value)
KVDataAnalysisLauncher(const TGWindow *p=0, UInt_t w=200, UInt_t h=400)
TGTextButton * bStageSelect
run_index_list listOfSystemRuns
void SetRuns(const TString &s="")
void SetUserLibraries(void)
Set the User's libraries.
TEnv * GUIenv
Declaration des boutons de la fenetre principale.
TGTextEntry * teUserOptions
void SelectAllUnconvertedRuns()
TGNumberEntry * teNbToRead
void UpdateListOfSelectedRuns()
void GenerateNewUserClass()
UInt_t fMainGuiWidth
width of main window in pixels
KVNameValueList fBatchParameters
void SetRepository(const TString &r="")
~KVDataAnalysisLauncher()
Destructeur.
Define and manage data analysis tasks.
Pilots user analysis of experimental data.
Directory dialogue box for KVDataAnalysisLauncher.
void Init(const TString &fileList, const TString &title) override
init window
KVGDirectoryList(const TString &st, const TString &titre="File list", const TGWindow *p=0, const TGWindow *main=0, Bool_t ok=kTRUE)
Createur.
TString GetFileFromDialog(void) override
Gets the file name from a TGFileDialog.
Bool_t CanAdd(const TString &s) override
tells whether the file in ths string fn can be added to the list box
File dialogue box for KVDataAnalysisLauncher.
KVGFileList(const TString &st, const TString &titre="File list", const TGWindow *p=0, const TGWindow *main=0, Bool_t ok=kTRUE)
Createur.
void RemoveFiles()
Remove all the selected files from the TGListBox.
~KVGFileList()
Destructeur.
virtual TString GetFileFromDialog()
Gets the file name from a TGFileDialog.
void Done()
build the file list string from the content of the TGListBox
virtual void Init(const TString &fileList, const TString &title)
Init window.
TGTextButton * boutAllRem
void RemoveAllFiles()
Remove all the files from the TGListBox.
virtual Bool_t CanAdd(const TString &s)
tells whether the file in ths string fn can be added to the list box
Enhanced version of ROOT TGListView widget.
Extended TList class which owns its objects by default.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Extended TList class which does not own its objects by default.
virtual void Terminate(Int_t status=0)
void SetReturnFromRun(Bool_t ret)
List of runfiles specified by run number and file index ,.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
int main(int argc, char **argv)