Logo ROOT   6.16/01
Reference Guide
TEveCaloLegoEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveCaloLegoEditor
13#define ROOT_TEveCaloLegoEditor
14
15#include "TGedFrame.h"
16
17class TGButton;
18class TGCheckButton;
19class TGNumberEntry;
20class TGColorSelect;
21class TGComboBox;
22class TEveGValuator;
23
24class TEveCaloLego;
25
27{
28private:
29 TEveCaloLegoEditor(const TEveCaloLegoEditor&); // Not implemented
30 TEveCaloLegoEditor& operator=(const TEveCaloLegoEditor&); // Not implemented
31 TGComboBox* MakeLabeledCombo(const char* name, Int_t off);
32
33protected:
34 TEveCaloLego *fM; // Model object.
35
40
44
46
51
52 void MakeRebinFrame();
53public:
54 TEveCaloLegoEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
57
58 virtual void SetModel(TObject* obj);
59
60 // Declare callback/slot methods
61 void DoGridColor(Pixel_t color);
62 void DoFontColor(Pixel_t color);
63 void DoPlaneColor(Pixel_t color);
64 void DoTransparency();
65
66 void DoProjection();
67 void Do2DMode();
68 void DoBoxMode();
69
70 void DoCell2DTextMin();
71
72 void DoAutoRebin();
73 void DoPixelsPerBin();
74 void DoNormalize();
75
76 ClassDef(TEveCaloLegoEditor, 0); // GUI editor for TEveCaloLego.
77};
78
79#endif
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:324
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
GUI editor for TEveCaloLego.
TGCheckButton * fAutoRebin
TGVerticalFrame * fRebinFrame
TEveCaloLegoEditor(const TEveCaloLegoEditor &)
TGColorSelect * fPlaneColor
TGNumberEntry * fTransparency
void DoProjection()
Slot for projection.
TEveGValuator * fCell2DTextMin
TGCheckButton * fNormalizeRebin
TGComboBox * fProjection
void DoBoxMode()
Slot for projection.
void DoFontColor(Pixel_t color)
Slot for FontColor.
virtual void SetModel(TObject *obj)
Set model object.
void Do2DMode()
Slot for projection.
void DoTransparency()
Slot for Transparency.
TEveCaloLegoEditor & operator=(const TEveCaloLegoEditor &)
TGColorSelect * fFontColor
void DoCell2DTextMin()
Slot for setting limit in pixels in which cell value is rendered.
TEveGValuator * fPixelsPerBin
void DoGridColor(Pixel_t color)
Slot for GridColor.
void DoPlaneColor(Pixel_t color)
Slot for PlaneColor.
void DoPixelsPerBin()
Slot for PixelsPerBin.
TGColorSelect * fGridColor
TGComboBox * MakeLabeledCombo(const char *name, Int_t off)
Helper function. Creates TGComboBox with fixed size TGLabel.
Visualization of calorimeter data as eta/phi histogram.
Definition: TEveCalo.h:250
Composite GUI element for single value selection (supports label, number-entry and slider).
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Mother of all ROOT objects.
Definition: TObject.h:37