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 ALIEVE_JetPlaneEditor_H
11 #define ALIEVE_JetPlaneEditor_H
13 #include <TGedFrame.h>
14 #include <RQ_OBJECT.h>
24 // class TEveGValuator;
28 class AliEveJetPlaneEditor : public TGedFrame
31 AliEveJetPlaneEditor(const AliEveJetPlaneEditor&); // Not implemented
32 AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
35 AliEveJetPlane *fM; // fModel dynamic-casted to AliEveJetPlaneEditor
38 // TGSomeWidget* fXYZZ;
39 TGCheckButton* fRnrJets;
40 TGCheckButton* fRnrTracks;
41 TEveGValuator* fEnergyScale;
42 TEveGValuator* fEnergyColorScale;
43 TGButton *fOneSelection, *fTwoSelection;
44 TGButton *fInformationSetup;
47 AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
48 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
49 virtual ~AliEveJetPlaneEditor();
51 virtual void SetModel(TObject* obj);
53 // Declare callback/slot methods
57 void DoEnergyColorScale();
59 void DoOneSelection();
60 void DoTwoSelection();
61 void DoStaticDataWindow();
64 // --- Internal class for common settings
66 class StaticDataWindow : public TGTransientFrame
69 TGCompositeFrame *fFrame1, *fF2;
70 TGButton *fOkButton, *fCancelButton;
71 TGLayoutHints *fL1, *fL2, *fL3, *fL5;
73 TGButton *fChk1, *fChk2,*fChk3, *fChk4,*fChk5;
76 StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
77 UInt_t options = kVerticalFrame);
78 virtual ~StaticDataWindow();
86 ClassDef(StaticDataWindow, 0);
90 static StaticDataWindow* fgStaticWindow;
92 ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane
93 }; // endclass AliEveJetPlaneEditor