]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/EveDet/AliEveTOFSectorEditor.h
Use TList::Delete, change some output
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFSectorEditor.h
... / ...
CommitLineData
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
19class TGCheckButton;
20class TGNumberEntry;
21class TGColorSelect;
22class TGDoubleHSlider;
23
24class TGHSlider;
25
26class TEveGValuator;
27class TEveGDoubleValuator;
28
29class AliEveTOFSector;
30
31class AliEveTOFSectorEditor : public TGedFrame
32{
33public:
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
51protected:
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
69private:
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