2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 **************************************************************************/
10 #ifndef AliEveTOFSectorEditor_H
11 #define AliEveTOFSectorEditor_H
13 #include <TGedFrame.h>
18 class TGDoubleHSlider;
23 class TEveGDoubleValuator;
24 class TEveTransSubEditor;
27 class AliEveTOFSector;
29 class AliEveTOFSectorEditor : public TGedFrame
32 AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
33 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
34 virtual ~AliEveTOFSectorEditor();
36 virtual void SetModel(TObject* obj);
45 void DoPlate(Int_t nPlate);
50 AliEveTOFSector* fM; // Model object.
52 TEveGValuator* fSectorID; // Valuator for sector id.
54 TGCheckButton* fAutoTrans; // Check-button for automatic translation.
56 TGCheckButton** fPlate; // Check-buttons for plates.
58 TGCheckButton* fPlate0; // Check-button for plate 0.
59 TGCheckButton* fPlate1; // Check-button for plate 1.
60 TGCheckButton* fPlate2; // Check-button for plate 2.
61 TGCheckButton* fPlate3; // Check-button for plate 3.
62 TGCheckButton* fPlate4; // Check-button for plate 4.
64 TEveGValuator* fThreshold; // Valuator for threshold.
65 TEveGValuator* fMaxVal; // Valuator for maximum value.
68 AliEveTOFSectorEditor(const AliEveTOFSectorEditor&); // Not implemented
69 AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
71 ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector