Coverity
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSectorVizEditor.h
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
9
a15e6d7d 10#ifndef AliEveTPCSectorVizEditor_H
11#define AliEveTPCSectorVizEditor_H
d810d0de 12
13#include <TGedFrame.h>
14
15class TGCheckButton;
16class TGNumberEntry;
17class TGColorSelect;
18class TGDoubleHSlider;
19class TGHSlider;
20
21class TEveGValuator;
22class TEveGDoubleValuator;
d810d0de 23
d810d0de 24class AliEveTPCSectorViz;
25
a15e6d7d 26//------------------------------------------------------------------------------
27// AliEveTPCSectorVizEditor
28//
29// Editor for AliEveTPCSectorViz.
30
d810d0de 31class AliEveTPCSectorVizEditor : public TGedFrame
32{
d810d0de 33public:
34 AliEveTPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
35 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
a15e6d7d 36 virtual ~AliEveTPCSectorVizEditor() {}
d810d0de 37
38 virtual void SetModel(TObject* obj);
39
40 void DoSectorID();
41 void DoAutoTrans();
42
43 void DoRnrInn();
44 void DoRnrOut1();
45 void DoRnrOut2();
46
47 void DoThreshold();
48 void DoMaxVal();
49
50 void DoTime();
51346b82 51
4b456ebb 52protected:
53 AliEveTPCSectorViz *fM; // Model dynamic-casted to AliEveTPCSectorVizEditor
54
4b456ebb 55 TEveGValuator *fSectorID; // Widget for SectorID.
56 TGCheckButton *fAutoTrans; // Widget for AutoTrans.
57
58 TGCheckButton *fRnrInn; // Widget for RnrInn.
59 TGCheckButton *fRnrOut1; // Widget for RnrOut1.
60 TGCheckButton *fRnrOut2; // Widget for RnrOut2.
61
62 TEveGValuator *fThreshold; // Widget for Threshold.
63 TEveGValuator *fMaxVal; // Widget for MaxVal.
64
65 TEveGDoubleValuator *fTime; // Widget for time-range.
66
67private:
68 AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&); // Not implemented
69 AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented
70
a97abca8 71 ClassDef(AliEveTPCSectorVizEditor, 0); // Editor for AliEveTPCSectorViz.
a15e6d7d 72};
d810d0de 73
74#endif