]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFSectorEditor.h
From Massimo: remove usage of AliITSgeom, use AliITSgeomTGeo instead.
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFSectorEditor.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 ALIEVE_TOFSectorEditor_H
11 #define ALIEVE_TOFSectorEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18 class TGDoubleHSlider;
19
20 class TGHSlider;
21
22 class TEveGValuator;
23 class TEveGDoubleValuator;
24 class TEveTransSubEditor;
25
26
27 class AliEveTOFSector;
28
29 class AliEveTOFSectorEditor : public TGedFrame
30 {
31 private:
32   AliEveTOFSectorEditor(const AliEveTOFSectorEditor&);            // Not implemented
33   AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
34
35 protected:
36   AliEveTOFSector*  fM; // Model object.
37
38   TEveGValuator*    fSectorID;
39
40   TGCheckButton*    fAutoTrans;
41
42   TGCheckButton**   fPlate;
43
44   TGCheckButton*    fPlate0;
45   TGCheckButton*    fPlate1;
46   TGCheckButton*    fPlate2;
47   TGCheckButton*    fPlate3;
48   TGCheckButton*    fPlate4;
49
50   TEveGValuator*    fThreshold;
51   TEveGValuator*    fMaxVal;
52
53 public:
54   AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
55                         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
56   virtual ~AliEveTOFSectorEditor();
57
58   virtual void SetModel(TObject* obj);
59   void DoSectorID();
60   void DoAutoTrans();
61   void DoPlate0();
62   void DoPlate1();
63   void DoPlate2();
64   void DoPlate3();
65   void DoPlate4();
66
67   void DoPlate(Int_t nPlate);
68   void DoThreshold();
69   void DoMaxVal();
70
71   ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
72 }; // endclass AliEveTOFSectorEditor
73
74 #endif