]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TPCSector2DEditor.h
o) Adding class AlidNdEtaAnalysisMCSelector, which builds dNdEta plot from MC to...
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2DEditor.h
CommitLineData
915dabe1 1// $Header$
2
3#ifndef ALIEVE_TPCSector2DEditor_H
4#define ALIEVE_TPCSector2DEditor_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
11class TGDoubleHSlider;
12class TGHSlider;
13
14namespace Alieve {
15
16class TPCSector2D;
17
18class TPCSector2DEditor : public TGedFrame
19{
20protected:
21 TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor
22
23 TGCheckButton* fUseTexture;
24
25 TGNumberEntry* fSectorID;
26
27 TGLabel* fThresholdLabel;
28 TGLabel* fMaxValLabel;
29 TGHSlider* fthreshold;
30 TGHSlider* fMaxVal;
31
32 TGCheckButton* fShowMax;
33
34 TGDoubleHSlider* fTime;
35
36public:
37 TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
38 ~TPCSector2DEditor();
39
40 virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
41 virtual Bool_t CanEditMainColor() { return true; }
42
43 // void DoXYZZ();
44 void DoUseTexture();
45
46 void DoSectorID();
47
48 void Dothreshold();
49 void DoMaxVal();
50 void DoShowMax();
51 void DoTime();
52
53 ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D
54}; // endclass TPCSector2DEditor
55
56}
57
58#endif