1 // Author: Mihai Niculesu 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 AliEventServerWindow_H
10 #define AliEventServerWindow_H
22 class AliDimIntNotifier;
24 //______________________________________________________________________________
25 // Short description of AliEventServerWindow
28 class AliEventServerWindow : public TGMainFrame
34 TOOLBUTTON_PREFERENCES,
38 AliEventServerWindow();
39 virtual ~AliEventServerWindow();
41 //------------------------------------------------------------------------------
42 // Handlers of DIM signals.
43 //------------------------------------------------------------------------------
45 void StartOfRun(Int_t run);
46 void EndOfRun(Int_t run);
48 //------------------------------------------------------------------------------
49 // Handlers of button signals.
50 //------------------------------------------------------------------------------
55 void HandleToolBarAction(Int_t id=-1);
59 AliEventServerWindow(const AliEventServerWindow&); // Not implemented
60 AliEventServerWindow& operator=(const AliEventServerWindow&); // Not implemented
61 void InitDIMListeners();
62 void FillRunsFromDatabase();
65 void LaunchRecoServer();
66 void StartReco(Int_t run);
67 bool StopRecoServer();
70 TGListBox *fRunList; // List-box for listing current runs.
71 TGTextButton *fStartServButt; // Start server for selected run.
72 TGTextButton *fStopServButt; // Close server for selected run.
73 TGTextButton *fExitButt; // Close server and do Exit.
75 // DIM interface. Could do without members and just leak them ...
76 AliDimIntNotifier *fDimSORListener[5]; // DIM listeners for SOR.
77 AliDimIntNotifier *fDimEORListener[5]; // DIM listeners for EOR.
79 // server state & process management
80 Int_t fRunRunning; // Run which is executed.
81 AliRecoServer* fRecoServer;
84 ClassDef(AliEventServerWindow, 0);