]>
Commit | Line | Data |
---|---|---|
f76c9e9b | 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" | |
f262c692 | 14 | #include <fstream> |
f76c9e9b | 15 | |
16 | class TGComboBox; | |
17 | class TGLabel; | |
18 | class TGNumberEntry; | |
19 | ||
20 | class AliEveTrackCounter; | |
21 | ||
22 | //______________________________________________________________________________ | |
23 | // Short description of AliEveTrackCounterEditor | |
24 | // | |
25 | ||
26 | class AliEveTrackCounterEditor : public TGedFrame | |
27 | { | |
28 | public: | |
29 | AliEveTrackCounterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
30 | UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
12365217 | 31 | virtual ~AliEveTrackCounterEditor(); |
32 | ||
33 | void UpdateModel(); | |
f76c9e9b | 34 | |
35 | virtual void SetModel(TObject* obj); | |
36 | ||
c12be4d4 | 37 | void DoActivate(); |
38 | void DoDeactivate(); | |
39 | ||
f76c9e9b | 40 | void DoPrev(); |
41 | void DoNext(); | |
42 | void DoSetEvent(); | |
43 | ||
44 | void DoPrintReport(); | |
45 | void DoFileReport(); | |
46 | void DoShowHistos(); | |
47 | ||
48 | void DoClickAction(Int_t); | |
f262c692 | 49 | void DoEventCategorization(Int_t); |
f76c9e9b | 50 | |
51 | protected: | |
52 | AliEveTrackCounter *fM; // Model object. | |
53 | ||
c12be4d4 | 54 | TGCompositeFrame *fAF; // Active frame. |
55 | TGCompositeFrame *fDF; // Non-active frame. | |
56 | ||
f76c9e9b | 57 | TGComboBox *fClickAction; |
3a20f984 | 58 | TGLabel *fInfoLabelTracks; |
59 | TGLabel *fInfoLabelTracklets; | |
f76c9e9b | 60 | TGNumberEntry *fEventId; |
61 | ||
f262c692 | 62 | int fEventCat; |
63 | ofstream *fScanSummaryFile; | |
64 | ||
f76c9e9b | 65 | private: |
66 | AliEveTrackCounterEditor(const AliEveTrackCounterEditor&); // Not implemented | |
67 | AliEveTrackCounterEditor& operator=(const AliEveTrackCounterEditor&); // Not implemented | |
68 | ||
69 | ClassDef(AliEveTrackCounterEditor, 0); // GUI editor for AliEveTrackCounter. | |
70 | }; | |
71 | ||
72 | #endif |