]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/AliEveTOFSectorEditor.h
Small correction for shifts in SSD (M. Van Leeuwen)
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFSectorEditor.h
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
9
a15e6d7d 10#ifndef AliEveTOFSectorEditor_H
11#define AliEveTOFSectorEditor_H
d810d0de 12
13#include <TGedFrame.h>
14
15class TGCheckButton;
16class TGNumberEntry;
17class TGColorSelect;
18class TGDoubleHSlider;
19
20class TGHSlider;
21
22class TEveGValuator;
23class TEveGDoubleValuator;
24class TEveTransSubEditor;
25
51346b82 26
c76ea574 27class AliEveTOFSector;
51346b82 28
c76ea574 29class AliEveTOFSectorEditor : public TGedFrame
30{
c76ea574 31public:
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();
d810d0de 35
c76ea574 36 virtual void SetModel(TObject* obj);
37 void DoSectorID();
38 void DoAutoTrans();
39 void DoPlate0();
40 void DoPlate1();
41 void DoPlate2();
42 void DoPlate3();
43 void DoPlate4();
51346b82 44
c76ea574 45 void DoPlate(Int_t nPlate);
46 void DoThreshold();
47 void DoMaxVal();
51346b82 48
4b456ebb 49protected:
50 AliEveTOFSector* fM; // Model object.
51
52 TEveGValuator* fSectorID; // Valuator for sector id.
53
54 TGCheckButton* fAutoTrans; // Check-button for automatic translation.
55
56 TGCheckButton** fPlate; // Check-buttons for plates.
57
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.
63
64 TEveGValuator* fThreshold; // Valuator for threshold.
65 TEveGValuator* fMaxVal; // Valuator for maximum value.
66
67private:
68 AliEveTOFSectorEditor(const AliEveTOFSectorEditor&); // Not implemented
69 AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
70
c76ea574 71 ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
4b456ebb 72};
51346b82 73
d810d0de 74#endif