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 ALIEVE_TOFSectorEditor_H
11 #define ALIEVE_TOFSectorEditor_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 AliEveTOFSectorEditor&); // Not implemented
33 AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
36 AliEveTOFSector* fM; // Model object.
38 TEveGValuator* fSectorID;
40 TGCheckButton* fAutoTrans;
42 TGCheckButton** fPlate;
44 TGCheckButton* fPlate0;
45 TGCheckButton* fPlate1;
46 TGCheckButton* fPlate2;
47 TGCheckButton* fPlate3;
48 TGCheckButton* fPlate4;
50 TEveGValuator* fThreshold;
51 TEveGValuator* fMaxVal;
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();
58 virtual void SetModel(TObject* obj);
67 void DoPlate(Int_t nPlate);
71 ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
72 }; // endclass AliEveTOFSectorEditor