]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/AliEveJetPlaneEditor.h
Put all classes in Alieve/ sub-module out of the Alieve namespace and
[u/mrichter/AliRoot.git] / EVE / Alieve / 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 *
7 * full copyright notice. *
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:
d810d0de 35 AliEveJetPlane *fM; // fModel dynamic-casted to AliEveJetPlaneEditor
4673ff03 36
37 // Declare widgets
38 // TGSomeWidget* fXYZZ;
39 TGCheckButton* fRnrJets;
40 TGCheckButton* fRnrTracks;
84aff7a4 41 TEveGValuator* fEnergyScale;
42 TEveGValuator* fEnergyColorScale;
4673ff03 43 TGButton *fOneSelection, *fTwoSelection;
44 TGButton *fInformationSetup;
45
46public:
d810d0de 47 AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
4673ff03 48 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
d810d0de 49 virtual ~AliEveJetPlaneEditor();
4673ff03 50
51 virtual void SetModel(TObject* obj);
52
53 // Declare callback/slot methods
54 // void DoXYZZ();
55 void DoRnrJets();
56 void DoRnrTracks();
57 void DoEnergyColorScale();
58 void DoEnergyScale();
59 void DoOneSelection();
60 void DoTwoSelection();
61 void DoStaticDataWindow();
62
63
64 // --- Internal class for common settings
65public:
66 class StaticDataWindow : public TGTransientFrame
67 {
68 private:
69 TGCompositeFrame *fFrame1, *fF2;
70 TGButton *fOkButton, *fCancelButton;
71 TGLayoutHints *fL1, *fL2, *fL3, *fL5;
72 TGTab *fTab;
73 TGButton *fChk1, *fChk2,*fChk3, *fChk4,*fChk5;
74
75 public:
76 StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
77 UInt_t options = kVerticalFrame);
78 virtual ~StaticDataWindow();
79
80 // slots
81 void DoClose();
82 void DoOK();
83 void DoCancel();
84 void DoTab(Int_t id);
85
86 ClassDef(StaticDataWindow, 0);
87 };
88
89protected:
90 static StaticDataWindow* fgStaticWindow;
91
d810d0de 92 ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane
93}; // endclass AliEveJetPlaneEditor
4673ff03 94
95#endif