]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFStripEditor.h
Preparing for the altro V3 format simulation. Obsolete methods removed + some of...
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFStripEditor.h
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          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveTOFStripEditor_H
11 #define AliEveTOFStripEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18
19 class TGHSlider;
20
21 class TEveGValuator;
22 class TEveGDoubleValuator;
23  
24
25 class AliEveTOFStrip;
26
27 class AliEveTOFStripEditor : public TGedFrame
28 {
29 public:
30   AliEveTOFStripEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
31   virtual ~AliEveTOFStripEditor() {}
32
33   virtual void SetModel(TObject* obj);
34
35   void DoThreshold();
36   void DoMaxVal();
37
38 protected:
39   AliEveTOFStrip *fM; // Model object.
40
41   TEveGValuator  *fThreshold; // Value widget for threshold.
42   TEveGValuator  *fMaxVal;    // Value widget for maximal value.
43
44 private:
45   AliEveTOFStripEditor(const AliEveTOFStripEditor&);            // Not implemented
46   AliEveTOFStripEditor& operator=(const AliEveTOFStripEditor&); // Not implemented
47
48   ClassDef(AliEveTOFStripEditor, 0); // Editor for AliEveTOFStrip
49 }; // endclass AliEveTOFStripEditor
50
51
52 #endif