]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveBeamsInfoEditor.h
Satoshi request: fTrig and fTime
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveBeamsInfoEditor.h
1 // $Id$
2 // Author: Stefano Carrazza 2010, CERN, stefano.carrazza@cern.ch
3
4 /**************************************************************************
5  * Copyright(c) 1998-2009, 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 ALIEVEBEAMSINFOEDITOR_H
11 #define ALIEVEBEAMSINFOEDITOR_H
12
13 #include "TGedFrame.h"
14
15 class TGButton;
16 class TGColorSelect;
17 class TGComboBox;
18 class TGCheckButton;
19 class TGGroupFrame;
20 class TGNumberEntry;
21 class TGTextButton;
22
23 class AliEveBeamsInfo;
24
25 //______________________________________________________________________________
26 // Short description of AliEveBeamsInfoEditor
27 //
28
29 class AliEveBeamsInfoEditor : public TGedFrame
30 {
31 public:
32    AliEveBeamsInfoEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
33          UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
34    virtual ~AliEveBeamsInfoEditor() {}
35
36    virtual void SetModel(TObject* obj);
37
38    // Set Methods
39    void SetAlpha();
40
41    // Slot methods
42    void SelectEventSelection(Int_t id);
43    void ShowEventSelection();
44    void ShowPrevEvent();
45    void ShowNextEvent();
46    void SwitchDataType();
47
48 protected:
49    AliEveBeamsInfo *fM;              // Model object.
50
51 private:
52    TGCheckButton   *fIsMC;           // activating mc selection
53    TGGroupFrame    *fEventSelection; // event selection group box
54    TGCheckButton   *fShowEvents;     // display information checkbox
55    TGComboBox      *fSelect;         // combo box display
56    TGTextButton    *fButtonPrev;     // previous event selection
57    TGTextButton    *fButtonNext;     // next event selection
58    TGGroupFrame    *fSetAlpha;       // set alpha for overlay buttons
59    TGNumberEntry   *fAlpha;          // alpha value
60
61    AliEveBeamsInfoEditor(const AliEveBeamsInfoEditor&);            // Not implemented
62    AliEveBeamsInfoEditor& operator=(const AliEveBeamsInfoEditor&); // Not implemented
63
64    ClassDef(AliEveBeamsInfoEditor, 0); // GUI editor for AliEveBeamsInfo.
65 };
66
67 #endif