Logo ROOT   6.18/05
Reference Guide
TEveCaloVizEditor.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_TEveCaloVizEditor
13#define ROOT_TEveCaloVizEditor
14
15#include "TGedFrame.h"
16
17class TEveCaloViz;
18class TEveCalo3D;
19class TGDoubleHSlider;
20class TEveGValuator;
22class TGCheckButton;
23class TGRadioButton;
24class TGNumberEntry;
25
26class TGVerticalFrame;
27
29{
30private:
31 TEveCaloVizEditor(const TEveCaloVizEditor&); // Not implemented
32 TEveCaloVizEditor& operator=(const TEveCaloVizEditor&); // Not implemented
33 void MakeSliceInfo();
34
35protected:
36 TEveCaloViz *fM; // Model object.
37
39
42
46
50
53
54public:
55 TEveCaloVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
57 virtual ~TEveCaloVizEditor() {}
58
59 virtual void SetModel(TObject* obj);
60
61 void DoMaxTowerH();
62 void DoScaleAbs();
63 void DoMaxValAbs();
64
65 void DoPlot();
66
67 void DoEtaRange();
68 void DoPhi();
69
70 void DoSliceThreshold();
71 void DoSliceColor(Pixel_t color);
72 void DoSliceTransparency(Long_t transp);
73
74 ClassDef(TEveCaloVizEditor, 0); // GUI editor for TEveCaloVizEditor.
75};
76
77/**************************************************************************/
78
80{
81private:
82 TEveCalo3DEditor(const TEveCalo3DEditor&); // Not implemented
83 TEveCalo3DEditor& operator=(const TEveCalo3DEditor&); // Not implemented
84
85protected:
86 TEveCalo3D *fM; // Model object.
88
89public:
90 TEveCalo3DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
92 virtual ~TEveCalo3DEditor() {}
93
94 virtual void SetModel(TObject* obj);
96
97 ClassDef(TEveCalo3DEditor, 0); // GUI editor for TEveCalo3DEditor.
98};
99
100#endif
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
long Long_t
Definition: RtypesCore.h:50
#define ClassDef(name, id)
Definition: Rtypes.h:326
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
GUI editor for TEveCalo3D.
virtual void SetModel(TObject *obj)
Set model object.
void DoFrameTransparency()
Slot for frame transparency.
virtual ~TEveCalo3DEditor()
TEveCalo3DEditor & operator=(const TEveCalo3DEditor &)
TGNumberEntry * fFrameTransparency
TEveCalo3DEditor(const TEveCalo3DEditor &)
Visualization of a calorimeter event data in 3D.
Definition: TEveCalo.h:157
GUI editor for TEveCaloEditor.
TGNumberEntry * fFrameTransparency
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
TEveCaloVizEditor & operator=(const TEveCaloVizEditor &)
TEveGValuator * fPhiOffset
TGRadioButton * fPlotEt
void DoPlot()
Slot for setting E/Et plot.
void DoEtaRange()
Slot for setting eta range.
TEveCaloVizEditor(const TEveCaloVizEditor &)
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
TEveGDoubleValuator * fEtaRng
virtual ~TEveCaloVizEditor()
TEveGValuator * fPhi
TGCheckButton * fScaleAbs
TGVerticalFrame * fSliceFrame
void DoSliceTransparency(Long_t transp)
Slot for slice transparency.
TEveGValuator * fMaxTowerH
virtual void SetModel(TObject *obj)
Set model object.
TGVerticalFrame * fDataFrame
void DoMaxTowerH()
Slot for setting max tower height.
TGRadioButton * fPlotE
void DoSliceColor(Pixel_t color)
Slot for slice info Color.
void DoSliceThreshold()
Slot for SliceThreshold.
void MakeSliceInfo()
Create slice info gui.
TEveGValuator * fMaxValAbs
void DoPhi()
Slot for setting phi range.
Base class for calorimeter data visualization.
Definition: TEveCalo.h:31
Composite GUI element for selection of range (label, two number-entries and double-slider).
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