KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRARunSheetGUI.h
1#include "TGFrame.h"
2#include "TG3DLine.h"
3#include "TGMenu.h"
4#include "TGListBox.h"
5#include "TGButtonGroup.h"
6#include "TGButton.h"
7#include "RQ_OBJECT.h"
8#include <TGComboBox.h>
9#include <TGLabel.h>
10#include <TGNumberEntry.h>
11#include <TGTextEntry.h>
12#include <TGProgressBar.h>
13#include <TGProgressBar.h>
14#include "KVINDRARunSheetReader.h"
15#include "KVString.h"
16#include "TEnv.h"
17#include "KVListView.h"
18#include "KVConfig.h"
19
20class KVINDRADBRun;
21class KVDataSet;
22
24
26
27 RQ_OBJECT("KVIRSGChooseDataSetDialog")
28
35
36public:
37
39 {
40 fMain = 0;
41 };
42 KVIRSGChooseDataSetDialog(const TGWindow* p, const TGWindow* main,
43 UInt_t w = 1, UInt_t h = 1);
44 virtual ~ KVIRSGChooseDataSetDialog();
45
46 void DoClose();
47 void CloseWindow();
48 void YouPressedOK();
50 {
51 fDataSetIndex = i;
52 };
53
54 ClassDef(KVIRSGChooseDataSetDialog, 0) //Run-sheet reader dialog box for choosing dataset
55};
56
58
60
62
64
73#ifdef __WITHOUT_TGBUTTON_SETENABLED
74 TGTextButton* fViewTreeButton;
75#endif
91
92public:
93
95 virtual ~ KVINDRARunSheetGUI();
96
97 void CloseWindow();
98
99 void ChangeDataSet();
100
101 void DisableButtons();
102 void EnableButtons();
103
104 void FillListOfRuns();
105 void ClearListOfRuns();
106 void UpdateListOfRuns();
107
108 void SelectionChanged();
110
111 void UpdateList();
112 void SaveAll();
113
114 void SetRunSheetDir();
115 void SetFileFormat();
116 void SetRunComment();
117 void SetRunCahier();
118 void SetRunTrigger();
119 void SetSystem();
120 void UnsetSystem();
121 void StartTreeViewer();
122
123 void PrintRun();
124
125#ifdef __WITHOUT_TGBUTTON_SETENABLED
126 void SetViewTreeEnabled(Bool_t on)
127 {
128 fViewTreeButton->SetState(on ? kButtonUp : kButtonDisabled);
129 };
130#endif
131
132 ClassDef(KVINDRARunSheetGUI, 0) //A GUI for managing run sheet information during experiment
133};
int Int_t
unsigned int UInt_t
unsigned long ULong_t
#define RQ_OBJECT(sender_class)
bool Bool_t
#define ClassDef(name, id)
kButtonDisabled
Manage an experimental dataset corresponding to a given experiment or campaign.
Definition KVDataSet.h:35
Database entry for each run of an INDRA experiment.
_________________________________________________//
void ChangeDataSet()
open dialog to choose dataset
void DisableButtons()
Disable all buttons.
TGVButtonGroup * fButtonsFrame
TGTextButton * fSetSystem
KVINDRARunSheetReader fReader
used to read runsheets
TGTextButton * fAddComment
void SetSystem()
Open dialog box for setting system properties for runs.
TGTextButton * fChangeDataSet
void ClearListOfRuns()
remove all entries from grid list box
KVINDRADBRun * fSelectedRun
Int_t GetNSelected()
returns current number of selected items in grid list
TGTextButton * fUnSetSystem
TGHorizontalFrame * fHframe
TGTextButton * fSetTrigger
void CloseWindow()
close viewer
TGTextButton * fAddCahier
KVListView * fRunList
TGListBox *fRunList;.
TGTextButton * fPrintRun
Read the run sheets produced by the standard INDRA acquisition control program.
_________________________________________________//
void YouPressedOK()
Called when OK button is pressed.
Enhanced version of ROOT TGListView widget.
Definition KVListView.h:146
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition KVString.h:73
virtual void SetState(EButtonState state, Bool_t emit=kFALSE)