]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/AliEveITSScaledModuleEditor.h
Move contents of EVE/Alieve to EVE/EveDet as most code will remain there.
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveITSScaledModuleEditor.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
10#ifndef ALIEVE_ITSScaledModuleEditor_H
11#define ALIEVE_ITSScaledModuleEditor_H
12
13#include <TGedFrame.h>
14#include <TEveRGBAPaletteEditor.h>
15
16class TGNumberEntry;
17class TGColorSelect;
18class TGComboBox;
19
20class TEveGValuator;
21class TEveGDoubleValuator;
22class TEveRGBAPalette;
23
24
25class AliEveDigitScaleInfo;
26class AliEveITSScaledModule;
27class AliITSsegmentation;
28
57ffa5fb 29/******************************************************************************/
d810d0de 30
31class AliEveITSScaledModuleEditor : public TGedFrame
32{
33private:
34 AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&); // Not implemented
35 AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented
36
37 void CreateInfoFrame();
38
39protected:
40 TGVerticalFrame* fInfoFrame;
41
42 AliEveITSScaledModule* fModule; // fModel dynamic-casted to AliEveITSScaledModuleEditor
43
44 TGNumberEntry* fScale;
51346b82 45 TGComboBox* fStatistic;
d810d0de 46
47 TGLabel* fInfoLabel0;
48 TGLabel* fInfoLabel1;
49
50public:
51 AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
52 virtual ~AliEveITSScaledModuleEditor();
53
54 virtual void SetModel(TObject* obj);
55
56 void DoScale();
57 void DoStatType(Int_t t);
58
59 ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule
60}; // endclass AliEveITSScaledModuleEditor
61
62#endif