]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/TrackEditors.h
TrackCounterEditor: add number-entry to directly set the event number.
[u/mrichter/AliRoot.git] / EVE / Reve / TrackEditors.h
CommitLineData
5a5a1232 1// $Header$
2
3#ifndef REVE_TrackEditors_H
4#define REVE_TrackEditors_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
6bd69299 11class TGComboBox;
2074deef 12class TGLineWidthComboBox;
5a5a1232 13
14namespace Reve {
15
a3912979 16class RGValuator;
17class RGDoubleValuator;
18
5a5a1232 19class TrackList;
20
6bd69299 21/**************************************************************************/
22// TrackListEditor
23/**************************************************************************/
24
5a5a1232 25class TrackListEditor : public TGedFrame
26{
265ecb21 27 TrackListEditor(const TrackListEditor&); // Not implemented
28 TrackListEditor& operator=(const TrackListEditor&); // Not implemented
29
5a5a1232 30protected:
31 TrackList* fTC; // fModel dynamic-casted to TrackListEditor
32
f1d52824 33 Reve::RGValuator* fMaxR;
34 Reve::RGValuator* fMaxZ;
5a5a1232 35 TGNumberEntry* fMaxOrbits;
36 TGNumberEntry* fMinAng;
37 TGNumberEntry* fDelta;
38
2074deef 39 TGLineWidthComboBox* fWidthCombo;
40
5a5a1232 41 TGCheckButton* fRnrTracks;
42 TGCheckButton* fRnrMarkers;
43
44 TGCheckButton* fFitDaughters;
45 TGCheckButton* fFitDecay;
46
a3912979 47 RGDoubleValuator* fPtRange;
48
5a5a1232 49public:
a8600b56 50 TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
51 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
5a5a1232 52 ~TrackListEditor();
53
a8600b56 54 virtual void SetModel(TObject* obj);
5a5a1232 55
56 void DoMaxR();
57 void DoMaxZ();
58 void DoMaxOrbits();
59 void DoMinAng();
60 void DoDelta();
61
2074deef 62 void DoLineWidth(Int_t width);
63
5a5a1232 64 void DoRnrTracks();
65 void DoRnrMarkers();
66
67 void DoFitDaughters();
68 void DoFitDecay();
69
a3912979 70 void DoPtRange();
5a5a1232 71
72 ClassDef(TrackListEditor, 1); // Editor for TrackList
73}; // endclass TrackListEditor
74
6bd69299 75
76
77/**************************************************************************/
78//
79/**************************************************************************/
80
81class TrackCounter;
82
83class TrackCounterEditor : public TGedFrame
84{
85private:
86 TrackCounterEditor(const TrackCounterEditor&); // Not implemented
87 TrackCounterEditor& operator=(const TrackCounterEditor&); // Not implemented
88
89protected:
90 TrackCounter* fM; // fModel dynamic-casted to TrackCounter
91
92 // Declare widgets
5ea94a5a 93 TGComboBox* fClickAction;
94 TGLabel* fInfoLabel;
95 TGNumberEntry* fEventId;
6bd69299 96
97public:
98 TrackCounterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
99 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
100 virtual ~TrackCounterEditor();
101
102 virtual void SetModel(TObject* obj);
103
104 void DoOrtoXY();
105 void DoOrtoZY();
106 void DoPersp();
107
108 void DoPrev();
109 void DoNext();
5ea94a5a 110 void DoSetEvent();
6bd69299 111
c71edfe9 112 void DoPrintReport();
113 void DoFileReport();
114 void DoShowHistos();
115
6bd69299 116 void DoClickAction(Int_t);
117
118 ClassDef(TrackCounterEditor, 1); // Editor for TrackCounter
119}; // endclass TrackCounterEditor
120
5a5a1232 121}
122
123#endif