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 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 = nullptr, 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
@ 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.
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 &)
ClassDef(TEveCalo3DEditor, 0)
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 & operator=(const TEveCaloVizEditor &)
TEveGValuator * fPhiOffset
TGRadioButton * fPlotEt
void DoPlot()
Slot for setting E/Et plot.
void DoEtaRange()
Slot for setting eta range.
ClassDef(TEveCaloVizEditor, 0)
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
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: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