]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/AliEventServerPreferencesWindow.h
PWGPP-69 - initialize additional dEdx information diring tracking itteration 0 -...
[u/mrichter/AliRoot.git] / MONITOR / AliEventServerPreferencesWindow.h
1 // Author: Mihai Niculescu 2013
2
3 /**************************************************************************
4  * Copyright(c) 1998-2013, ALICE Experiment at CERN, all rights reserved. *
5  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
6  * full copyright notice.                                                 *
7  **************************************************************************/
8
9 #ifndef AliEventServerPreferencesWindow_H
10 #define AliEventServerPreferencesWindow_H
11
12
13 #include <TGFrame.h>
14
15 class TObjArray;
16 class TGCheckButton;
17 class TGTab;
18 class TGTextEntry;
19 class TGWindow;
20
21 class AliEventServerPreferencesWindow : public TGTransientFrame
22 {
23 public:
24         AliEventServerPreferencesWindow(const TGWindow* parent, const char* window_title);
25         virtual ~AliEventServerPreferencesWindow();
26         
27         // SLOTS
28         void onApply();
29         void onCancel();
30         void onRestoreDefaults();
31         void onCheckAllDetectors();
32         void onUnCheckAllDetectors();
33         
34 protected:
35         Int_t ReadSettings();
36         Int_t WriteSettings();
37         void RestoreDefaults();
38         
39         TGTab* fTab;
40         /* Server Settings Tab */
41         TGTextEntry* fEntryServerHost;
42         TGTextEntry* fEntryServerPort;
43         
44         /* Reconstruction Settings Tab */
45         // CDB Manager widgets
46         TGTextEntry* fEntryCDBDefaultStorage;
47         TGTextEntry* fEntryCDBSpecStoragePath1;
48         TGTextEntry* fEntryCDBSpecStorageValue1;
49         TGTextEntry* fEntryCDBSpecStoragePath2;
50         TGTextEntry* fEntryCDBSpecStorageValue2;
51         TGTextEntry* fEntryCDBSpecStoragePath3;
52         TGTextEntry* fEntryCDBSpecStorageValue3;
53         // Reconstruction widgets
54         TGTextEntry* fEntryRecoRunQA;
55         TGTextEntry* fEntryRecoQARefDefStorage;
56         TGCheckButton* fChkRecoRunGlobalQA;
57         TGCheckButton* fChkRecoRunPlaneEff;
58         TGCheckButton* fChkRecoWriteESDf;
59         TGCheckButton* fChkRecoWriteAlignment;
60         TGCheckButton* fChkRecoCleanESD;
61         TObjArray* fDetectors; // array to pointers of TGCheckButtons for detectors
62         
63         /* Logbook Tab */
64         TGTextEntry* fEntryLogbookHost;
65         TGTextEntry* fEntryLogbookPort;
66         TGTextEntry* fEntryLogbookDB;
67         TGTextEntry* fEntryLogbookUser;
68         TGTextEntry* fEntryLogbookPass;
69         
70 private:
71         void SetupServerTab(TGCompositeFrame* tab);
72         void SetupRecoTab(TGCompositeFrame* tab);
73         void SetupLogbookTab(TGCompositeFrame* tab);
74                                 
75         ClassDef(AliEventServerPreferencesWindow,0);
76 };
77 #endif