]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/AliEveTPCSector2DEditor.h
Put all classes in Alieve/ sub-module out of the Alieve namespace and
[u/mrichter/AliRoot.git] / EVE / Alieve / 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 *
7 * full copyright notice. *
8 **************************************************************************/
9
10#ifndef ALIEVE_TPCSector2DEditor_H
11#define ALIEVE_TPCSector2DEditor_H
12
13#include <TGedFrame.h>
14
15class TGCheckButton;
16class TGComboBox;
17
18
19class AliEveTPCSector2D;
20
21class AliEveTPCSector2DEditor : public TGedFrame
22{
23 AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&); // Not implemented
24 AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented
25
26protected:
27 AliEveTPCSector2D* fM; // fModel dynamic-casted to AliEveTPCSector2DEditor
28
29 TGCheckButton* fShowMax;
30 TGCheckButton* fAverage;
31
32 TGCheckButton* fUseTexture;
33 TGCheckButton* fPickEmpty;
34 TGComboBox* fPickMode;
35
36public:
37 AliEveTPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
38 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
39 ~AliEveTPCSector2DEditor();
40
41 virtual void SetModel(TObject* obj);
42
43 void DoShowMax();
44 void DoAverage();
45 void SetupAverage();
46
47 void DoUseTexture();
48 void DoPickEmpty();
49 void DoPickMode(Int_t mode);
50
51 ClassDef(AliEveTPCSector2DEditor, 0); // Editor for AliEveTPCSector2D
52}; // endclass AliEveTPCSector2DEditor
53
54#endif