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