]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveHLT/AliEveHOMERManagerEditor.h
16bc8a58215f15ce5bfa4c8f21dbdef6bfb7a354
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManagerEditor.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveAliEVEHOMERManagerEditor_H
11 #define AliEveAliEVEHOMERManagerEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGTextButton;
17 class TGNumberEntry;
18 class TGColorSelect;
19 class TGPictureButton;
20 class TGComboBox;
21 class AliEveHOMERManager;
22
23 class AliEveHOMERManagerEditor : public TGedFrame
24 {
25 public:
26   AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 
27                            UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
28   virtual ~AliEveHOMERManagerEditor() {}
29
30   virtual void SetModel(TObject* obj);
31
32   // Declare callback/slot methods
33   void ConnectToHLT();
34   void NextEvent();
35   void EventLoop();
36
37   void NavigateBack();
38   void NavigateFwd();
39   void SetTriggerString(int id);
40   void WriteBlockListToFile();
41 protected:
42
43   AliEveHOMERManager  *fM; // Model object.
44   
45   TGTextButton     *fButtonConnect; // Button to connect to HOMER.
46   TGTextButton     *fButtonWriteToFile; // Button to write block list to file
47   TGTextButton     *fButtonNextEvent; // Button to call next Even
48   TGTextButton     *fButtonNavigateBack; // Button to navigate back
49   TGTextButton     *fButtonNavigateFwd;  // Button to navigate fwd
50   TGComboBox       *fBoxTriggerSelector; // Drop down menu to select trigger criteria.
51   TGTextButton     *fButtonEventLoopText; //Text button to start / stop event loop.
52   //TGComboBox       *fBoxEventLoopSpeed; // Drop down menu to set the speed of the loop.
53   TGPictureButton  *fButtonEventLoop; // Picture button to start/stop event loop, HLT LOGO.
54   
55
56 private:
57   AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
58   AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
59
60   Bool_t fEventLoopStarted;
61
62   ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
63 };
64
65 #endif