]>
Commit | Line | Data |
---|---|---|
1 | // @(#)root/eve:$Id$ | |
2 | // Author: Matevz Tadel 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 | **************************************************************************/ | |
9 | ||
10 | #ifndef AliEveTrackCounterEditor_H | |
11 | #define AliEveTrackCounterEditor_H | |
12 | ||
13 | #include "TGedFrame.h" | |
14 | ||
15 | class TGComboBox; | |
16 | class TGLabel; | |
17 | class TGNumberEntry; | |
18 | ||
19 | class AliEveTrackCounter; | |
20 | ||
21 | //______________________________________________________________________________ | |
22 | // Short description of AliEveTrackCounterEditor | |
23 | // | |
24 | ||
25 | class AliEveTrackCounterEditor : public TGedFrame | |
26 | { | |
27 | public: | |
28 | AliEveTrackCounterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
29 | UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
30 | virtual ~AliEveTrackCounterEditor() {} | |
31 | ||
32 | virtual void SetModel(TObject* obj); | |
33 | ||
34 | void DoPrev(); | |
35 | void DoNext(); | |
36 | void DoSetEvent(); | |
37 | ||
38 | void DoPrintReport(); | |
39 | void DoFileReport(); | |
40 | void DoShowHistos(); | |
41 | ||
42 | void DoClickAction(Int_t); | |
43 | ||
44 | protected: | |
45 | AliEveTrackCounter *fM; // Model object. | |
46 | ||
47 | // Declare widgets | |
48 | TGComboBox *fClickAction; | |
49 | TGLabel *fInfoLabel; | |
50 | TGNumberEntry *fEventId; | |
51 | ||
52 | private: | |
53 | AliEveTrackCounterEditor(const AliEveTrackCounterEditor&); // Not implemented | |
54 | AliEveTrackCounterEditor& operator=(const AliEveTrackCounterEditor&); // Not implemented | |
55 | ||
56 | ClassDef(AliEveTrackCounterEditor, 0); // GUI editor for AliEveTrackCounter. | |
57 | }; | |
58 | ||
59 | #endif |