1 #ifndef ALIEVETOFSECTOREDITOR_H
2 #define ALIEVETOFSECTOREDITOR_H
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 **************************************************************************/
11 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
17 #include <TGedFrame.h>
22 class TGDoubleHSlider;
27 class TEveGDoubleValuator;
29 class AliEveTOFSector;
31 class AliEveTOFSectorEditor : public TGedFrame
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();
38 virtual void SetModel(TObject* obj);
47 void DoPlate(Int_t nPlate);
52 AliEveTOFSector* fM; // Model object.
54 TEveGValuator* fSectorID; // Valuator for sector id.
56 TGCheckButton* fAutoTrans; // Check-button for automatic translation.
58 TGCheckButton** fPlate; // Check-buttons for plates.
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.
66 TEveGValuator* fThreshold; // Valuator for threshold.
67 TEveGValuator* fMaxVal; // Valuator for maximum value.
70 AliEveTOFSectorEditor(const AliEveTOFSectorEditor&); // Not implemented
71 AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
73 ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector