AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliStorageAdministratorPanelListEvents.h
Go to the documentation of this file.
1 #ifndef AliStorageAdministratorPanelListEvents_H
2 #define AliStorageAdministratorPanelListEvents_H
3 
4 #include "AliStorageTypes.h"
5 #include "AliZMQManager.h"
6 
7 #include <TGLabel.h>
8 #include <TGNumberEntry.h>
9 #include <TGComboBox.h>
10 #include <TGDoubleSlider.h>
11 #include <TGSlider.h>
12 #include <TGListBox.h>
13 #include <TQObject.h>
14 
15 class AliStorageAdministratorPanelListEvents : public TGMainFrame
16 {
17 public:
19  AliESDEvent* GetSelectedEvent(){return fCurrentEvent;}
20  void onExit();
21  void SelectedEvent(); //*SIGNAL*
22  void SetOfflineMode(Bool_t);
23 private:
26 
28  void TriggerClassesFromCDB();
29 
30  //gui components and methods
31  TGLabel *fStatusLabel;
32  TGNumberEntry *fRunMinEntry;
33  TGNumberEntry *fRunMaxEntry;
34  TGNumberEntry *fEventMinEntry;
35  TGNumberEntry *fEventMaxEntry;
36  TGNumberEntry *fMultiplicityMinEntry;
37  TGNumberEntry *fMultiplicityMaxEntry;
38 
39  TGCheckButton *fPPcheckbox;
40  TGCheckButton *fPbPbcheckbox;
41  TGCheckButton *fTemporaryCheckbox;
42  TGCheckButton *fPermanentCheckbox;
43 
44  // TGTextButton *fCloseButton;
45  TGTextButton *fGetListButton;
46  TGTextButton *fMarkButton;
47  TGTextButton *fLoadButton;
48  TGTextButton *fUpdateTriggersButton;
49 
50  TGComboBox *fTriggerBox;
51 
52  TGListBox *fListBox;
53 
54  void InitWindow();
55  void onCloseButton();
56  void onGetListButton();
57  void onMarkButton();
58  void onLoadButton();
59 
60  std::vector<serverListStruct> fEventsListVector;
61  std::vector<TString> fTriggerClasses;
62 
63  virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t);
64  void CloseWindow();
65 
66  storageSockets fServerSocket;
68 
69  AliESDEvent *fCurrentEvent;
70 
72 
75 
77 };
78 
79 #endif
static AliStorageAdministratorPanelListEvents * fInstance
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
AliStorageAdministratorPanelListEvents & operator=(const AliStorageAdministratorPanelListEvents &)
ZMQ communication manager.
Definition: AliZMQManager.h:57
ClassDef(AliStorageAdministratorPanelListEvents, 0)
static AliStorageAdministratorPanelListEvents * GetInstance()