]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MONITOR/alieventserver/AliEventServerPreferencesWindow.h
Removing leftover return
[u/mrichter/AliRoot.git] / MONITOR / alieventserver / AliEventServerPreferencesWindow.h
CommitLineData
7e0cf530 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
15class TObjArray;
16class TGCheckButton;
17class TGTab;
18class TGTextEntry;
19class TGWindow;
20
21class AliEventServerPreferencesWindow : public TGTransientFrame
22{
23public:
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
34protected:
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;
82de8691 69 TGTextEntry* fEntryDataSource;
7e0cf530 70
71private:
72 void SetupServerTab(TGCompositeFrame* tab);
73 void SetupRecoTab(TGCompositeFrame* tab);
74 void SetupLogbookTab(TGCompositeFrame* tab);
75
76 ClassDef(AliEventServerPreferencesWindow,0);
77};
78#endif