]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveBase/AliEveBeamsInfoEditor.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveBeamsInfoEditor.h
CommitLineData
6e994a7b 1// $Id$
cce980ec 2// Author: Stefano Carrazza 2010, CERN, stefano.carrazza@cern.ch
6e994a7b 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
15class TGButton;
6e994a7b 16class TGColorSelect;
6e994a7b 17class TGComboBox;
cce980ec 18class TGCheckButton;
19class TGGroupFrame;
20class TGNumberEntry;
6e994a7b 21class TGTextButton;
22
23class AliEveBeamsInfo;
24
25//______________________________________________________________________________
26// Short description of AliEveBeamsInfoEditor
27//
28
29class AliEveBeamsInfoEditor : public TGedFrame
30{
31public:
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
cce980ec 38 // Set Methods
39 void SetAlpha();
40
41 // Slot methods
6e994a7b 42 void SelectEventSelection(Int_t id);
cce980ec 43 void ShowEventSelection();
6e994a7b 44 void ShowPrevEvent();
45 void ShowNextEvent();
cce980ec 46 void SwitchDataType();
6e994a7b 47
48protected:
cce980ec 49 AliEveBeamsInfo *fM; // Model object.
6e994a7b 50
51private:
cce980ec 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
6e994a7b 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