]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFSectorEditor.h
Coding convention violations: fixed
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFSectorEditor.h
1 #ifndef ALIEVETOFSECTOREDITOR_H
2 #define ALIEVETOFSECTOREDITOR_H
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 // $Id$
11 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
12
13 //
14 //
15 //
16
17 #include <TGedFrame.h>
18
19 class TGCheckButton;
20 class TGNumberEntry;
21 class TGColorSelect;
22 class TGDoubleHSlider;
23
24 class TGHSlider;
25
26 class TEveGValuator;
27 class TEveGDoubleValuator;
28
29 class AliEveTOFSector;
30
31 class AliEveTOFSectorEditor : public TGedFrame
32 {
33 public:
34   AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
35                         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
36   virtual ~AliEveTOFSectorEditor();
37
38   virtual void SetModel(TObject* obj);
39   void DoSectorID();
40   void DoAutoTrans();
41   void DoPlate0();
42   void DoPlate1();
43   void DoPlate2();
44   void DoPlate3();
45   void DoPlate4();
46
47   void DoPlate(Int_t nPlate);
48   void DoThreshold();
49   void DoMaxVal();
50
51 protected:
52   AliEveTOFSector*  fM;         // Model object.
53
54   TEveGValuator*    fSectorID;  // Valuator for sector id.
55
56   TGCheckButton*    fAutoTrans; // Check-button for automatic translation.
57
58   TGCheckButton**   fPlate;     // Check-buttons for plates.
59
60   TGCheckButton*    fPlate0;    // Check-button for plate 0.
61   TGCheckButton*    fPlate1;    // Check-button for plate 1.
62   TGCheckButton*    fPlate2;    // Check-button for plate 2.
63   TGCheckButton*    fPlate3;    // Check-button for plate 3.
64   TGCheckButton*    fPlate4;    // Check-button for plate 4.
65
66   TEveGValuator*    fThreshold; // Valuator for threshold.
67   TEveGValuator*    fMaxVal;    // Valuator for maximum value.
68
69 private:
70   AliEveTOFSectorEditor(const AliEveTOFSectorEditor&);            // Not implemented
71   AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
72
73   ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
74 };
75
76 #endif