]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/EveDet/AliEveITSScaledModuleEditor.h
try coverity fix 23965, condition checked twice
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveITSScaledModuleEditor.h
... / ...
CommitLineData
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 AliEveITSScaledModuleEditor_H
11#define AliEveITSScaledModuleEditor_H
12
13#include <TGedFrame.h>
14
15class TGNumberEntry;
16class TGColorSelect;
17class TGComboBox;
18
19class TEveGValuator;
20class TEveGDoubleValuator;
21class TEveRGBAPalette;
22
23class AliEveDigitScaleInfo;
24class AliEveITSScaledModule;
25class AliITSsegmentation;
26
27/******************************************************************************/
28
29class AliEveITSScaledModuleEditor : public TGedFrame
30{
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() {}
34
35 virtual void SetModel(TObject* obj);
36
37 void DoScale();
38 void DoStatType(Int_t t);
39
40protected:
41 AliEveITSScaledModule *fModule; // Model object.
42
43 TGNumberEntry *fScale; // Number-entry for digit-scale.
44 TGComboBox *fStatistic; // Selection of scaling algorithm.
45
46 TGVerticalFrame *fInfoFrame; // Frame in "Info" tab.
47 TGLabel *fInfoLabel0; // Info text.
48 TGLabel *fInfoLabel1; // Info text.
49
50private:
51 void CreateInfoFrame();
52
53 AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&); // Not implemented
54 AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented
55
56 ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule.
57};
58
59#endif