]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TPCSectorVizEditor.h
Merge from EVE-dev to HEAD.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSectorVizEditor.h
CommitLineData
092578a7 1// $Header$
2
3#ifndef ALIEVE_TPCSectorVizEditor_H
4#define ALIEVE_TPCSectorVizEditor_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
11class TGDoubleHSlider;
12class TGHSlider;
13
14
15namespace Alieve {
16
17class TPCSectorViz;
18
19class TPCSectorVizEditor : public TGedFrame
20{
21protected:
22 TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor
23
24 TGNumberEntry* fSectorID;
25
26 TGCheckButton* fRnrInn;
27 TGCheckButton* fRnrOut1;
28 TGCheckButton* fRnrOut2;
29
30 TGLabel* fThresholdLabel;
31 TGLabel* fMaxValLabel;
32 TGHSlider* fThreshold;
33 TGHSlider* fMaxVal;
34
35 TGNumberEntry* fMinTime;
36 TGNumberEntry* fMaxTime;
37 TGDoubleHSlider* fTime;
38
39public:
40 TPCSectorVizEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
41 ~TPCSectorVizEditor();
42
43 virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
44
45 void DoSectorID();
46
47 void DoRnrInn();
48 void DoRnrOut1();
49 void DoRnrOut2();
50
51 void DoThreshold();
52 void DoMaxVal();
53
54 void DoMinTime();
55 void DoMaxTime();
56 void DoTime();
57
58 ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz
59}; // endclass TPCSectorVizEditor
60
61}
62
63#endif