6b8a2f14ab58cc6bb4d9f0c3730abed5a2d3f965
[u/mrichter/AliRoot.git] / EVE / Reve / TrackEditors.h
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;
11
12 namespace Reve {
13
14 class RGValuator;
15 class RGDoubleValuator;
16
17 class TrackList;
18
19 class TrackListEditor : public TGedFrame
20 {
21   TrackListEditor(const TrackListEditor&);            // Not implemented
22   TrackListEditor& operator=(const TrackListEditor&); // Not implemented
23
24 protected:
25   TrackList* fTC; // fModel dynamic-casted to TrackListEditor
26
27   TGNumberEntry*     fMaxR;
28   TGNumberEntry*     fMaxZ;
29   TGNumberEntry*     fMaxOrbits;
30   TGNumberEntry*     fMinAng;
31   TGNumberEntry*     fDelta;
32
33   TGCheckButton*     fRnrTracks;
34   TGCheckButton*     fRnrMarkers;
35
36   TGCheckButton*     fFitDaughters;
37   TGCheckButton*     fFitDecay;
38
39   RGDoubleValuator*  fPtRange;
40
41 public:
42   TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
43                   UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
44   ~TrackListEditor();
45
46   virtual void SetModel(TObject* obj);
47
48   void DoMaxR();
49   void DoMaxZ();
50   void DoMaxOrbits();
51   void DoMinAng();
52   void DoDelta();
53
54   void DoRnrTracks();
55   void DoRnrMarkers();
56
57   void DoFitDaughters();
58   void DoFitDecay();
59
60   void DoPtRange();
61
62   ClassDef(TrackListEditor, 1); // Editor for TrackList
63 }; // endclass TrackListEditor
64
65 }
66
67 #endif