Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 = nullptr, Int_t width=170, Int_t height=30,
57 ~TEveCaloVizEditor() override {}
58
59 void SetModel(TObject* obj) override;
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 ClassDefOverride(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 = nullptr, Int_t width=170, Int_t height=30,
92 ~TEveCalo3DEditor() override {}
93
94 void SetModel(TObject* obj) override;
96
97 ClassDefOverride(TEveCalo3DEditor, 0); // GUI editor for TEveCalo3DEditor.
98};
99
100#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
long Long_t
Definition RtypesCore.h:54
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
GUI editor for TEveCalo3D.
~TEveCalo3DEditor() override
ClassDefOverride(TEveCalo3DEditor, 0)
void DoFrameTransparency()
Slot for frame transparency.
void SetModel(TObject *obj) override
Set model object.
TEveCalo3DEditor & operator=(const TEveCalo3DEditor &)
TGNumberEntry * fFrameTransparency
TEveCalo3DEditor(const TEveCalo3DEditor &)
Visualization of a calorimeter event data in 3D.
Definition TEveCalo.h:158
GUI editor for TEveCaloEditor.
TGNumberEntry * fFrameTransparency
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
~TEveCaloVizEditor() override
TEveCaloVizEditor & operator=(const TEveCaloVizEditor &)
TEveGValuator * fPhiOffset
TGRadioButton * fPlotEt
void DoPlot()
Slot for setting E/Et plot.
void SetModel(TObject *obj) override
Set model object.
void DoEtaRange()
Slot for setting eta range.
TEveCaloVizEditor(const TEveCaloVizEditor &)
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
TEveGDoubleValuator * fEtaRng
TEveGValuator * fPhi
TGCheckButton * fScaleAbs
TGVerticalFrame * fSliceFrame
void DoSliceTransparency(Long_t transp)
Slot for slice transparency.
TEveGValuator * fMaxTowerH
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.
ClassDefOverride(TEveCaloVizEditor, 0)
Base class for calorimeter data visualization.
Definition TEveCalo.h:32
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).
Selects different options.
Definition TGButton.h:264
Dragging the slider will generate the event:
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
Selects different options.
Definition TGButton.h:321
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41