2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 **************************************************************************/
10 #ifndef AliEveJetPlaneEditor_H
11 #define AliEveJetPlaneEditor_H
13 #include <TGedFrame.h>
23 class AliEveJetPlaneEditor : public TGedFrame
26 AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
27 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
28 virtual ~AliEveJetPlaneEditor() {}
30 virtual void SetModel(TObject* obj);
32 // Declare callback/slot methods
36 void DoEnergyColorScale();
38 void DoOneSelection();
39 void DoTwoSelection();
40 void DoStaticDataWindow();
43 // --- Internal class for common settings
45 class StaticDataWindow : public TGTransientFrame
48 StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
49 UInt_t options = kVerticalFrame);
50 virtual ~StaticDataWindow();
59 StaticDataWindow(const StaticDataWindow&); // Not implemented
60 StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
62 TGCompositeFrame *fFrame1, *fF2; // Frames.
63 TGButton *fOkButton, *fCancelButton; // Ok, cancel buttons.
64 TGLayoutHints *fL1, *fL2, *fL3, *fL5; // Layout hints.
65 TGTab *fTab; // Tab container.
66 TGButton *fChk1, *fChk2,*fChk3, *fChk4,*fChk5; // Check-buttons.
68 ClassDef(StaticDataWindow, 0); // Common settings for all AliEveJetPlane objects.
72 AliEveJetPlane *fM; // Model object.
74 TGCheckButton *fRnrJets; // Widget for flag RnrJets.
75 TGCheckButton *fRnrTracks; // Widget for flag RnrTracks.
76 TEveGValuator *fEnergyScale; // Widget for EnergyScale.
77 TEveGValuator *fEnergyColorScale; // Widget for EnergyColorScale.
78 TGButton *fOneSelection, *fTwoSelection; // Widgets for one/two selection flags.
79 TGButton *fInformationSetup; // Widget for InformationSetup.
81 static StaticDataWindow* fgStaticWindow; // Common window for global settings.
84 AliEveJetPlaneEditor(const AliEveJetPlaneEditor&); // Not implemented
85 AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
87 ClassDef(AliEveJetPlaneEditor, 0); // Editor for AliEveJetPlane.