Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to change width of...
[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;
2074deef 11class TGLineWidthComboBox;
5a5a1232 12
13namespace Reve {
14
a3912979 15class RGValuator;
16class RGDoubleValuator;
17
5a5a1232 18class TrackList;
19
20class TrackListEditor : public TGedFrame
21{
265ecb21 22 TrackListEditor(const TrackListEditor&); // Not implemented
23 TrackListEditor& operator=(const TrackListEditor&); // Not implemented
24
5a5a1232 25protected:
26 TrackList* fTC; // fModel dynamic-casted to TrackListEditor
27
28 TGNumberEntry* fMaxR;
29 TGNumberEntry* fMaxZ;
30 TGNumberEntry* fMaxOrbits;
31 TGNumberEntry* fMinAng;
32 TGNumberEntry* fDelta;
33
2074deef 34 TGLineWidthComboBox* fWidthCombo;
35
5a5a1232 36 TGCheckButton* fRnrTracks;
37 TGCheckButton* fRnrMarkers;
38
39 TGCheckButton* fFitDaughters;
40 TGCheckButton* fFitDecay;
41
a3912979 42 RGDoubleValuator* fPtRange;
43
5a5a1232 44public:
a8600b56 45 TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
46 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
5a5a1232 47 ~TrackListEditor();
48
a8600b56 49 virtual void SetModel(TObject* obj);
5a5a1232 50
51 void DoMaxR();
52 void DoMaxZ();
53 void DoMaxOrbits();
54 void DoMinAng();
55 void DoDelta();
56
2074deef 57 void DoLineWidth(Int_t width);
58
5a5a1232 59 void DoRnrTracks();
60 void DoRnrMarkers();
61
62 void DoFitDaughters();
63 void DoFitDecay();
64
a3912979 65 void DoPtRange();
5a5a1232 66
67 ClassDef(TrackListEditor, 1); // Editor for TrackList
68}; // endclass TrackListEditor
69
70}
71
72#endif