]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_TrackEditors_H | |
4 | #define REVE_TrackEditors_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
6bd69299 | 11 | class TGComboBox; |
2074deef | 12 | class TGLineWidthComboBox; |
5a5a1232 | 13 | |
14 | namespace Reve { | |
15 | ||
a3912979 | 16 | class RGValuator; |
17 | class RGDoubleValuator; | |
18 | ||
5a5a1232 | 19 | class TrackList; |
20 | ||
6bd69299 | 21 | /**************************************************************************/ |
22 | // TrackListEditor | |
23 | /**************************************************************************/ | |
24 | ||
5a5a1232 | 25 | class TrackListEditor : public TGedFrame |
26 | { | |
265ecb21 | 27 | TrackListEditor(const TrackListEditor&); // Not implemented |
28 | TrackListEditor& operator=(const TrackListEditor&); // Not implemented | |
29 | ||
5a5a1232 | 30 | protected: |
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 | 49 | public: |
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 | ||
81 | class TrackCounter; | |
82 | ||
83 | class TrackCounterEditor : public TGedFrame | |
84 | { | |
85 | private: | |
86 | TrackCounterEditor(const TrackCounterEditor&); // Not implemented | |
87 | TrackCounterEditor& operator=(const TrackCounterEditor&); // Not implemented | |
88 | ||
89 | protected: | |
90 | TrackCounter* fM; // fModel dynamic-casted to TrackCounter | |
91 | ||
92 | // Declare widgets | |
5ea94a5a | 93 | TGComboBox* fClickAction; |
94 | TGLabel* fInfoLabel; | |
95 | TGNumberEntry* fEventId; | |
6bd69299 | 96 | |
97 | public: | |
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 |