2 // Author: Stefano Carrazza 2010
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 **************************************************************************/
10 #ifndef AliEveLegoEditor_H
11 #define AliEveLegoEditor_H
13 #include "TGedFrame.h"
27 //______________________________________________________________________________
28 // Short description of AliEveLegoEditor
31 class AliEveLegoEditor : public TGedFrame
34 AliEveLegoEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
35 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
36 virtual ~AliEveLegoEditor() {}
38 virtual void SetModel(TObject* obj);
40 // Declare callback/slot methods
42 void ShowByCharge(Int_t id);
43 void ShowByChargeAE(Int_t id);
45 void SetThresholdAE();
48 void ShowByTracks(Int_t id);
49 void ShowByTracksAE(Int_t id);
50 void ShowByEvents(Int_t id);
51 void ShowEventSelection();
52 void SelectEventSelection(Int_t id);
53 void CreateAllEventsEditor();
58 AliEveLego *fM; // Model object.
61 TGTextButton *fAllEventsButton;
62 TGButtonGroup *fParticlesBG;
63 TGButtonGroup *fTrackSelection;
64 TGGroupFrame *fEventSelection;
65 TGCheckButton *fRevents;
66 TGRadioButton *fRcharge[3];
67 TGRadioButton *fRtracks[2];
70 TGNumberEntry *fThreshold;
71 TGNumberEntry *fMaxPt;
73 TGTextButton *fButtonPrev;
74 TGTextButton *fButtonNext;
77 TGButtonGroup *fParticlesBGAE;
78 TGButtonGroup *fTrackSelectionAE;
79 TGGroupFrame *fEventSelectionAE;
80 TGCheckButton *fReventsAE;
81 TGRadioButton *fRchargeAE[3];
82 TGRadioButton *fRtracksAE[2];
85 TGNumberEntry *fThresholdAE;
86 TGNumberEntry *fMaxPtAE;
87 TGComboBox *fSelectAE;
88 TGTextButton *fButtonPrevAE;
89 TGTextButton *fButtonNextAE;
94 AliEveLegoEditor(const AliEveLegoEditor&); // Not implemented
95 AliEveLegoEditor& operator=(const AliEveLegoEditor&); // Not implemented
97 ClassDef(AliEveLegoEditor, 0); // GUI editor for AliEveLego.