]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveBase/AliEveJetPlaneEditor.h
Fixes for inconsistent types in BinarySearch
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveJetPlaneEditor.h
CommitLineData
d810d0de 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 *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
4673ff03 9
10#ifndef ALIEVE_JetPlaneEditor_H
11#define ALIEVE_JetPlaneEditor_H
12
13#include <TGedFrame.h>
14#include <RQ_OBJECT.h>
15
16class TGButton;
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
84aff7a4 21class TEveGValuator;
4673ff03 22
4673ff03 23
84aff7a4 24// class TEveGValuator;
4673ff03 25
d810d0de 26class AliEveJetPlane;
4673ff03 27
d810d0de 28class AliEveJetPlaneEditor : public TGedFrame
4673ff03 29{
30private:
d810d0de 31 AliEveJetPlaneEditor(const AliEveJetPlaneEditor&); // Not implemented
32 AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
4673ff03 33
34protected:
a97abca8 35 AliEveJetPlane *fM; // Model object.
4673ff03 36
a97abca8 37 TGCheckButton *fRnrJets; // Widget for flag RnrJets.
38 TGCheckButton *fRnrTracks; // Widget for flag RnrTracks.
39 TEveGValuator *fEnergyScale; // Widget for EnergyScale.
40 TEveGValuator *fEnergyColorScale; // Widget for EnergyColorScale.
41 TGButton *fOneSelection, *fTwoSelection; // Widgets for one/two selection flags.
42 TGButton *fInformationSetup; // Widget for InformationSetup.
4673ff03 43
44public:
d810d0de 45 AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
a97abca8 46 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
47 virtual ~AliEveJetPlaneEditor() {}
4673ff03 48
49 virtual void SetModel(TObject* obj);
50
51 // Declare callback/slot methods
52 // void DoXYZZ();
53 void DoRnrJets();
54 void DoRnrTracks();
55 void DoEnergyColorScale();
56 void DoEnergyScale();
57 void DoOneSelection();
58 void DoTwoSelection();
59 void DoStaticDataWindow();
60
61
62 // --- Internal class for common settings
63public:
64 class StaticDataWindow : public TGTransientFrame
65 {
66 private:
fd31e9de 67 StaticDataWindow(const StaticDataWindow&); // Not implemented
68 StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
69
a97abca8 70 TGCompositeFrame *fFrame1, *fF2; // Frames.
71 TGButton *fOkButton, *fCancelButton; // Ok, cancel buttons.
72 TGLayoutHints *fL1, *fL2, *fL3, *fL5; // Layout hints.
73 TGTab *fTab; // Tab container.
74 TGButton *fChk1, *fChk2,*fChk3, *fChk4,*fChk5; // Check-buttons.
4673ff03 75
76 public:
77 StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
78 UInt_t options = kVerticalFrame);
79 virtual ~StaticDataWindow();
80
81 // slots
82 void DoClose();
83 void DoOK();
84 void DoCancel();
85 void DoTab(Int_t id);
86
a97abca8 87 ClassDef(StaticDataWindow, 0); // Common settings for all AliEveJetPlane objects.
4673ff03 88 };
89
90protected:
a97abca8 91 static StaticDataWindow* fgStaticWindow; // Common window for global settings.
4673ff03 92
a97abca8 93 ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane.
d810d0de 94}; // endclass AliEveJetPlaneEditor
4673ff03 95
96#endif