]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/AliEveTPCSector2DEditor.h
Small correction for shifts in SSD (M. Van Leeuwen)
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSector2DEditor.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 AliEveTPCSector2DEditor_H
11#define AliEveTPCSector2DEditor_H
d810d0de 12
13#include <TGedFrame.h>
14
15class TGCheckButton;
16class TGComboBox;
17
d810d0de 18class AliEveTPCSector2D;
19
a15e6d7d 20//------------------------------------------------------------------------------
21// AliEveTPCSector2DEditor
22//
23// GUI editor for AliEveTPCSector2D.
24//
25
d810d0de 26class AliEveTPCSector2DEditor : public TGedFrame
27{
d810d0de 28public:
29 AliEveTPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
30 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
a15e6d7d 31 virtual ~AliEveTPCSector2DEditor() {}
d810d0de 32
33 virtual void SetModel(TObject* obj);
34
35 void DoShowMax();
36 void DoAverage();
37 void SetupAverage();
38
39 void DoUseTexture();
40 void DoPickEmpty();
41 void DoPickMode(Int_t mode);
42
4b456ebb 43protected:
44 AliEveTPCSector2D *fM; // Model object.
45
46 TGCheckButton *fShowMax; // Check to show maximum signal.
47 TGCheckButton *fAverage; // Check-box to show average of the signal.
48
49 TGCheckButton *fUseTexture; // Check-box to use texture.
50 TGCheckButton *fPickEmpty; // Check-box for picking of empty pads.
51 TGComboBox *fPickMode; // Selector of pick-mode.
52
53private:
54 AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&); // Not implemented
55 AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented
56
a97abca8 57 ClassDef(AliEveTPCSector2DEditor, 0); // Editor for AliEveTPCSector2D.
a15e6d7d 58};
d810d0de 59
60#endif