]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/TrackEditors.h
Getting rid of effC++ warnings about missing copy constructor and assignment operator.
[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
511684d7 8class TGButton;
5a5a1232 9class TGCheckButton;
10class TGNumberEntry;
11class TGColorSelect;
6bd69299 12class TGComboBox;
2074deef 13class TGLineWidthComboBox;
ec019a35 14class TGLineStyleComboBox;
5a5a1232 15
16namespace Reve {
17
a3912979 18class RGValuator;
19class RGDoubleValuator;
20
5a5a1232 21class TrackList;
22
6bd69299 23/**************************************************************************/
24// TrackListEditor
25/**************************************************************************/
26
5a5a1232 27class TrackListEditor : public TGedFrame
28{
265ecb21 29 TrackListEditor(const TrackListEditor&); // Not implemented
30 TrackListEditor& operator=(const TrackListEditor&); // Not implemented
31
5a5a1232 32protected:
33 TrackList* fTC; // fModel dynamic-casted to TrackListEditor
34
f1d52824 35 Reve::RGValuator* fMaxR;
36 Reve::RGValuator* fMaxZ;
5a5a1232 37 TGNumberEntry* fMaxOrbits;
38 TGNumberEntry* fMinAng;
39 TGNumberEntry* fDelta;
40
ec019a35 41 TGCheckButton* fRnrTracks;
2074deef 42 TGLineWidthComboBox* fWidthCombo;
ec019a35 43 TGLineStyleComboBox* fStyleCombo;
2074deef 44
5a5a1232 45 TGCheckButton* fRnrMarkers;
46
511684d7 47 TGHorizontalFrame* fPMFrame;
48 TGButton* fFitDaughters;
49 TGButton* fFitReferences;
50 TGButton* fFitDecay;
51 TGButton* fRnrDaughters;
52 TGButton* fRnrReferences;
53 TGButton* fRnrDecay;
5a5a1232 54
a3912979 55 RGDoubleValuator* fPtRange;
f93070d3 56 RGDoubleValuator* fPRange;
a3912979 57
5a5a1232 58public:
a8600b56 59 TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
60 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
5a5a1232 61 ~TrackListEditor();
62
a8600b56 63 virtual void SetModel(TObject* obj);
5a5a1232 64
65 void DoMaxR();
66 void DoMaxZ();
67 void DoMaxOrbits();
68 void DoMinAng();
69 void DoDelta();
70
2074deef 71 void DoLineWidth(Int_t width);
ec019a35 72 void DoLineStyle(Int_t style);
73
2074deef 74
5a5a1232 75 void DoRnrTracks();
76 void DoRnrMarkers();
77
511684d7 78 void DoFitPM();
79 void DoRnrPM();
5a5a1232 80
a3912979 81 void DoPtRange();
f93070d3 82 void DoPRange();
5a5a1232 83
84 ClassDef(TrackListEditor, 1); // Editor for TrackList
85}; // endclass TrackListEditor
86
6bd69299 87
88
89/**************************************************************************/
90//
91/**************************************************************************/
92
93class TrackCounter;
94
95class TrackCounterEditor : public TGedFrame
96{
97private:
98 TrackCounterEditor(const TrackCounterEditor&); // Not implemented
99 TrackCounterEditor& operator=(const TrackCounterEditor&); // Not implemented
100
101protected:
102 TrackCounter* fM; // fModel dynamic-casted to TrackCounter
103
104 // Declare widgets
5ea94a5a 105 TGComboBox* fClickAction;
106 TGLabel* fInfoLabel;
107 TGNumberEntry* fEventId;
6bd69299 108
109public:
110 TrackCounterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
111 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
112 virtual ~TrackCounterEditor();
113
114 virtual void SetModel(TObject* obj);
115
116 void DoOrtoXY();
117 void DoOrtoZY();
118 void DoPersp();
119
120 void DoPrev();
121 void DoNext();
5ea94a5a 122 void DoSetEvent();
6bd69299 123
c71edfe9 124 void DoPrintReport();
125 void DoFileReport();
126 void DoShowHistos();
127
6bd69299 128 void DoClickAction(Int_t);
129
130 ClassDef(TrackCounterEditor, 1); // Editor for TrackCounter
131}; // endclass TrackCounterEditor
132
5a5a1232 133}
134
135#endif