Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveJetConeEditor.cxx
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel, Jochen Thaeder 2009
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#include "TEveJetConeEditor.h"
13#include "TEveJetCone.h"
14
15/** \class TEveJetConeEditor
16\ingroup TEve
17GUI editor for TEveJetCone.
18*/
19
21
22////////////////////////////////////////////////////////////////////////////////
23/// Constructor.
24
26 UInt_t options, Pixel_t back) :
27 TGedFrame(p, width, height, options | kVerticalFrame, back),
28 fM(0)
29 // Initialize widget pointers to 0
30{
31 MakeTitle("TEveJetCone");
32
33 // Create widgets
34 // fXYZZ = new TGSomeWidget(this, ...);
35 // AddFrame(fXYZZ, new TGLayoutHints(...));
36 // fXYZZ->Connect("SignalName()", "Reve::TEveJetConeEditor", this, "DoXYZZ()");
37}
38
39////////////////////////////////////////////////////////////////////////////////
40/// Set model object.
41
43{
44 fM = dynamic_cast<TEveJetCone*>(obj);
45
46 // Set values of widgets
47 // fXYZZ->SetValue(fM->GetXYZZ());
48}
49
@ kVerticalFrame
Definition GuiTypes.h:381
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define ClassImp(name)
Definition Rtypes.h:377
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 TEveJetCone.
TEveJetConeEditor(const TEveJetConeEditor &)
virtual void SetModel(TObject *obj)
Set model object.
Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given.
Definition TEveJetCone.h:24
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
virtual void MakeTitle(const char *title)
Create attribute frame title.
Definition TGedFrame.cxx:95
Mother of all ROOT objects.
Definition TObject.h:41