Coverity
[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
a15e6d7d 10#ifndef AliEveITSScaledModuleEditor_H
11#define AliEveITSScaledModuleEditor_H
d810d0de 12
13#include <TGedFrame.h>
d810d0de 14
15class TGNumberEntry;
16class TGColorSelect;
17class TGComboBox;
18
19class TEveGValuator;
20class TEveGDoubleValuator;
21class TEveRGBAPalette;
22
d810d0de 23class AliEveDigitScaleInfo;
24class AliEveITSScaledModule;
25class AliITSsegmentation;
26
57ffa5fb 27/******************************************************************************/
d810d0de 28
29class AliEveITSScaledModuleEditor : public TGedFrame
30{
4b456ebb 31public:
32 AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
33 virtual ~AliEveITSScaledModuleEditor() {}
d810d0de 34
4b456ebb 35 virtual void SetModel(TObject* obj);
36
37 void DoScale();
38 void DoStatType(Int_t t);
d810d0de 39
40protected:
698e2c9b 41 AliEveITSScaledModule *fModule; // Model object.
d810d0de 42
698e2c9b 43 TGNumberEntry *fScale; // Number-entry for digit-scale.
44 TGComboBox *fStatistic; // Selection of scaling algorithm.
d810d0de 45
698e2c9b 46 TGVerticalFrame *fInfoFrame; // Frame in "Info" tab.
47 TGLabel *fInfoLabel0; // Info text.
48 TGLabel *fInfoLabel1; // Info text.
d810d0de 49
4b456ebb 50private:
51 void CreateInfoFrame();
d810d0de 52
4b456ebb 53 AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&); // Not implemented
54 AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented
d810d0de 55
698e2c9b 56 ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule.
57};
d810d0de 58
59#endif