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