1 // Author: Mihai Niculescu 2013
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 **************************************************************************/
9 #ifndef AliEventServerPreferencesWindow_H
10 #define AliEventServerPreferencesWindow_H
21 class AliEventServerPreferencesWindow : public TGTransientFrame
24 AliEventServerPreferencesWindow(const TGWindow* parent, const char* window_title);
25 virtual ~AliEventServerPreferencesWindow();
30 void onRestoreDefaults();
31 void onCheckAllDetectors();
32 void onUnCheckAllDetectors();
36 Int_t WriteSettings();
37 void RestoreDefaults();
40 /* Server Settings Tab */
41 TGTextEntry* fEntryServerHost;
42 TGTextEntry* fEntryServerPort;
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
64 TGTextEntry* fEntryLogbookHost;
65 TGTextEntry* fEntryLogbookPort;
66 TGTextEntry* fEntryLogbookDB;
67 TGTextEntry* fEntryLogbookUser;
68 TGTextEntry* fEntryLogbookPass;
71 void SetupServerTab(TGCompositeFrame* tab);
72 void SetupRecoTab(TGCompositeFrame* tab);
73 void SetupLogbookTab(TGCompositeFrame* tab);
75 ClassDef(AliEventServerPreferencesWindow,0);