Logo ROOT   6.10/09
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 
17 class TEveCaloViz;
18 class TEveCalo3D;
19 class TGDoubleHSlider;
20 class TEveGValuator;
22 class TGCheckButton;
23 class TGRadioButton;
24 class TGNumberEntry;
25 
26 class TGVerticalFrame;
27 
29 {
30 private:
31  TEveCaloVizEditor(const TEveCaloVizEditor&); // Not implemented
32  TEveCaloVizEditor& operator=(const TEveCaloVizEditor&); // Not implemented
33  void MakeSliceInfo();
34 
35 protected:
36  TEveCaloViz *fM; // Model object.
37 
39 
42 
46 
50 
53 
54 public:
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 {
81 private:
82  TEveCalo3DEditor(const TEveCalo3DEditor&); // Not implemented
83  TEveCalo3DEditor& operator=(const TEveCalo3DEditor&); // Not implemented
84 
85 protected:
86  TEveCalo3D *fM; // Model object.
88 
89 public:
90  TEveCalo3DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
92  virtual ~TEveCalo3DEditor() {}
93 
94  virtual void SetModel(TObject* obj);
95  void DoFrameTransparency();
96 
97  ClassDef(TEveCalo3DEditor, 0); // GUI editor for TEveCalo3DEditor.
98 };
99 
100 #endif
TGVerticalFrame * fSliceFrame
void DoScaleAbs()
Slot for enabling/disabling absolute scale.
void DoSliceColor(Pixel_t color)
Slot for slice info Color.
int Int_t
Definition: RtypesCore.h:41
void DoSliceThreshold()
Slot for SliceThreshold.
virtual void SetModel(TObject *obj)
Set model object.
virtual ~TEveCaloVizEditor()
Composite GUI element for single value selection (supports label, number-entry and slider)...
TEveCaloVizEditor(const TEveCaloVizEditor &)
TGVerticalFrame * fDataFrame
GUI editor for TEveCalo3D.
#define ClassDef(name, id)
Definition: Rtypes.h:297
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
TGNumberEntry * fFrameTransparency
TEveGValuator * fMaxValAbs
TGRadioButton * fPlotEt
TEveGValuator * fMaxTowerH
void DoEtaRange()
Slot for setting eta range.
TGNumberEntry * fFrameTransparency
TGCheckButton * fScaleAbs
unsigned int UInt_t
Definition: RtypesCore.h:42
GUI editor for TEveCaloEditor.
TGRadioButton * fPlotE
void DoPlot()
Slot for setting E/Et plot.
void DoMaxTowerH()
Slot for setting max tower height.
long Long_t
Definition: RtypesCore.h:50
Base class for calorimeter data visualization.
Definition: TEveCalo.h:26
void DoSliceTransparency(Long_t transp)
Slot for slice transparency.
TEveGValuator * fPhi
Mother of all ROOT objects.
Definition: TObject.h:37
virtual ~TEveCalo3DEditor()
Composite GUI element for selection of range (label, two number-entries and double-slider).
TEveGValuator * fPhiOffset
Visualization of a calorimeter event data in 3D.
Definition: TEveCalo.h:156
TEveGDoubleValuator * fEtaRng
TEveCaloVizEditor & operator=(const TEveCaloVizEditor &)
void DoPhi()
Slot for setting phi range.
void DoMaxValAbs()
Slot for setting max E in for absolute scale.
void MakeSliceInfo()
Create slice info gui.